# x402-gateway: Domain Keywords

> x402-gateway: Domain Keywords is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-17).

Returns all keywords a domain ranks for in organic search, including position and search volume, via pay-per-call USDC micropayment.

## Facts

- Endpoint: POST https://x402.freeq.one/tools/domain_keywords?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-domain-keywords-6d2ccc03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OBLkbDSKio5nXaOQYc76L

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 x402-gateway-domain-keywords-6d2ccc03 -d '<json body>'
```

Example prompt: Can you pull the top 100 organic keywords that ahrefs.com ranks for in the US, in English, so I can see where they get their search traffic?

## When to prefer this

Choose this endpoint when you need per-domain organic keyword ranking data on a pay-per-call basis with no subscription or API key setup — ideal for agents that need occasional or one-off SEO lookups for arbitrary domains at low cost ($0.05/call). Prefer over subscription SEO APIs (Ahrefs, SEMrush, Moz) when you don't need a full platform, and when USDC micropayment via x402 is already integrated in your agent stack.

## Known failure modes

- Invalid or unrecognized domain format returns an error
- Location code or language code not supported returns an error or empty result
- Domain with no ranking keywords returns an empty result set
- Limit value outside 1-200 range may cause a validation error
- Payment failure (insufficient USDC balance or x402 handshake error) blocks the request
- Rate limiting or upstream SEO data unavailability may cause a timeout or empty response

## How this service works

Domain Keywords: Get all keywords a domain ranks for with position and volume. Priced below typical SEO-data APIs. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/domain_keywords.

## Output

Returns a JSON object containing a list of keywords the specified domain ranks for, each entry including the keyword text, its current organic search position, and search volume data. Results are filtered by language and geographic location as specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "Max keywords, 1-200 (default 50)"
  },
  "domain": {
   "type": "string",
   "example": "example.com",
   "description": "Domain, e.g. example.com (no path)"
  },
  "language_code": {
   "type": "string",
   "description": "Language code (default 'en')"
  },
  "location_code": {
   "type": "integer",
   "description": "Google location code (default 2840 = United States)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-domain-keywords-6d2ccc03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
