# SEMrush Domain Overview & Top Websites Data API

> SEMrush Domain Overview & Top Websites Data API is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Returns structured SEMrush domain analytics and/or top website rankings by country and industry for one or more domains.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/semrush?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/semrush-domain-overview-top-websites-data-api-569cc8f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VDS628W4eRk5wMYbyclcZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability semrush-domain-overview-top-websites-data-api-569cc8f7 -d '<json body>'
```

Example prompt: Pull SEMrush domain overviews for stripe.com, shopify.com, and paypal.com — I want to see their categories, brand names, and data dates.

## When to prefer this

Choose this endpoint when you need structured, pay-per-call SEMrush domain analytics or top website rankings without managing a full SEMrush API subscription. Ideal for spot lookups on competitor domains, industry benchmarking, or retrieving ranked website lists by country and sector. Best when you need clean JSON output and only want to pay when results are returned.

## Known failure modes

- Empty result set if domains are not indexed in SEMrush — not charged
- Invalid mode enum value returns validation error
- Domains array required for 'domain' or 'both' modes; omitting it may return empty results
- Invalid country or industry slug returns no ranking data
- maxItems set to 0 returns all available records which may be large

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

A JSON object containing a count of results and an array of items, each with fields including domain, country, dataDate, brandName, sourceUrl, updatedAt, categories, and recordType. The product field confirms the data source as SEMrush.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "domain",
    "topWebsites",
    "both"
   ],
   "type": "string",
   "default": "domain",
   "description": "Choose domain overviews, top website rankings, or both in one dataset."
  },
  "domains": {
   "type": "array",
   "description": "Public website domains or URLs to analyze. Used in domain and both modes; one overview record per available domain."
  },
  "maxItems": {
   "type": "integer",
   "default": 200,
   "minimum": 0,
   "description": "Stop after this many output records across all selected modes. Set 0 for no cap."
  },
  "rankingCountry": {
   "type": "string",
   "default": "global",
   "description": "Country slug for top websites, such as global, us, or de. Used in topWebsites and both modes."
  },
  "rankingIndustry": {
   "type": "string",
   "default": "all",
   "description": "Industry slug for top websites, such as all, finance, or education. Used in topWebsites and both modes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "domain": null,
    "country": null,
    "dataDate": null,
    "brandName": null,
    "sourceUrl": null,
    "updatedAt": null,
    "categories": null,
    "recordType": null
   }
  ],
  "product": "semrush"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/semrush-domain-overview-top-websites-data-api-569cc8f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
