# x402-gateway: Search Intent Classifier

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

Classifies keywords by search intent (informational, transactional, or commercial) using pay-per-call USDC micropayments on Base.

## Facts

- Endpoint: POST https://x402.freeq.one/tools/search_intent?utm_source=zero.xyz
- Price: $0.02/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-search-intent-classifier-5c361039
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N881cnz0UJ5ETQkllfjV-

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-search-intent-classifier-5c361039 -d '<json body>'
```

Example prompt: Can you classify the search intent for these keywords: 'best running shoes', 'buy running shoes', and 'how to choose running shoes'? Use English and target the United States.

## When to prefer this

Choose this endpoint when you need lightweight, cheap, per-call keyword intent classification without committing to a monthly SEO platform subscription. It is ideal for AI agents that need to classify small batches of keywords on demand (up to 20 at a time), supporting US and international markets via language and location codes. It is better than full SEO suite APIs when you only need intent signals rather than full SERP data, volume metrics, or backlink analysis.

## Known failure modes

- Payment failure or insufficient USDC balance returns 402 Payment Required
- Exceeding the 20-keyword limit per call returns a validation error
- Unsupported language_code or location_code may return an error or fall back to defaults
- Empty keywords array returns a validation or bad request error
- Network timeout if the classification service is temporarily unavailable

## How this service works

Search Intent: Detect search intent (informational, transactional, commercial) for a keyword. Priced below typical SEO-data APIs. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/search_intent.

## Output

Returns a JSON object with intent classifications for each submitted keyword, indicating whether each keyword is informational, transactional, or commercial in nature, enabling prioritization for SEO or paid search strategies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "keywords": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "example": [
    "best running shoes",
    "buy running shoes"
   ],
   "maxItems": 20,
   "description": "Up to 20 keywords to classify"
  },
  "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-search-intent-classifier-5c361039/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)
