Websites by the code on their home page
Websites whose home page contains a piece of code, like a script or a widget.
Give it a piece of code, like the address of a script. Your agent gets the websites whose home page contains it, strongest first, with their emails and phone numbers. That finds the users of a tool even when no technology list knows it. It also finds the sites that use your own widget.
Paste this into your AI agent
Set up Chab for me: fetch https://www.chab.ai/agent-setup.md?v=497c0f and follow it. Then use Chab to find websites whose home page loads plausible.io/js/script.js.
Your agent connects Chab and then runs it. Price: From 11 credits, by number of websites. The free credits cover a first try. How it works in each app
- Returns
- JSON result
- REST endpoint
POST /v1/seo/domains/by_html- Over MCP
- Call
chab_operation_startwith"seo.domains.by_html"
What you get
Example request
{ "terms": [ "plausible.io/js/script.js" ], "limit": 10}Example result
{ "terms": [ "plausible.io/js/script.js" ], "total": 16168, "websites": [ { "domain": "gogs.io", "title": "Introduction - Gogs: A painless self-hosted Git service", "description": "The painless way to host your own Git service", "country": "US", "language": "en", "rank": 710, "emails": [], "phone_numbers": [], "social_profiles": [] }, { "domain": "forum.ghost.org", "title": "Ghost Forum", "description": "Discussion about the professional open source publishing platform", "country": "US", "language": "en", "rank": 677, "emails": [ "[email protected]" ], "phone_numbers": [], "social_profiles": [] } ], "fetched_at": "2026-11-13T12:00:00+00:00"}You can also run this tool on a schedule as a monitor. Chab then keeps every result and emails you when it changes. Monitors need bought credits or a monthly plan. How monitors work
Inputs
| Field | Type | Details |
|---|---|---|
termsrequired | array of string | One to 10 terms that must all be in the HTML of the home page, for example plausible.io/js/script.js. |
location | object | Optional country (two letters) the websites are in. |
location.countryrequired | string | No extra rules. |
limit | integer | Up to 1,000 websites. You pay per website.Default 10. Min 1 max 1000 |
How to call it
AI apps use it through hosted MCP. Coding agents can also use the CLI, and your own code can call the API. Each call starts a job, and your agent picks up the result when it is ready.
curl -X POST https://www.chab.ai/v1/seo/domains/by_html \ -H "Authorization: Bearer CHAB_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: seo-domains-by-html-001" \ -d '{"terms":["plausible.io/js/script.js"],"limit":10}'Websites by the code on their home page result
{ "terms": [ "plausible.io/js/script.js" ], "total": 16168, "websites": [ { "domain": "gogs.io", "title": "Introduction - Gogs: A painless self-hosted Git service", "description": "The painless way to host your own Git service", "country": "US", "language": "en", "rank": 710, "emails": [], "phone_numbers": [], "social_profiles": [] }, { "domain": "forum.ghost.org", "title": "Ghost Forum", "description": "Discussion about the professional open source publishing platform", "country": "US", "language": "en", "rank": 677, "emails": [ "[email protected]" ], "phone_numbers": [], "social_profiles": [] } ], "fetched_at": "2026-11-13T12:00:00+00:00"}Price: From 11 credits, by number of websites. See all prices
More in SEO data
Want to try Chab with your agent?
Copy the prompt and paste it into your AI. Your agent starts with free credits and doesn't need an account.