---
name: x402serps
description: Real-time web search, cited answers, page extraction, site crawl/map, research and SEO data for agents. Use when you need current web information, sources with URLs, or the text of web pages.
---

# x402serps agent skill

Base URL: https://x402serps.com · MCP: https://x402serps.com/api/mcp (streamable HTTP) · OpenAPI: /openapi.json · Tools: /tools.json

## Setup (pick one auth)
1. Free trial: send header `X-Trial: 1` (25 calls per network, 10/min; search, news, single extract, images, places, shopping, scholar, videos).
2. Prepaid credit key: `Authorization: Bearer xs_...` (buy at https://x402serps.com/pricing#credits; 1 credit = $0.001).
3. x402: call without auth, get HTTP 402 with PAYMENT-REQUIRED, pay USDC on Base or Solana, retry with PAYMENT-SIGNATURE.

MCP install: Cursor `cursor://anysphere.cursor-deeplink/mcp/install?name=x402serps&config=eyJ1cmwiOiJodHRwczovL3g0MDJzZXJwcy5jb20vYXBpL21jcCIsImhlYWRlcnMiOnsiWC1UcmlhbCI6IjEifX0=` ·
Claude Code `claude mcp add --transport http x402serps https://x402serps.com/api/mcp --header "X-Trial: 1"` ·
VS Code `code --add-mcp '{"name":"x402serps","type":"http","url":"https://x402serps.com/api/mcp","headers":{"X-Trial":"1"}}'`

## Which endpoint to use (POST JSON)
| Need | Endpoint | Price |
|---|---|---|
| Current facts, links | `/api/v1/search {"q","num","freshness","page"}` | $0.004 |
| A direct answer with citations | `/api/v1/answer {"q"}` | $0.02 |
| News | `/api/v1/news {"q","freshness":"day"}` | $0.004 |
| Text of known URLs | `/api/v1/extract {"url"}` or `{"urls":[...≤20]}` | $0.003/URL |
| Search + page text | `/api/v1/search-extract {"q","n":3}` | $0.02 |
| Whole site content | `/api/v1/crawl {"url","limit":10}` | $0.002/page |
| List a site's URLs | `/api/v1/map {"url"}` | $0.002 |
| Multi-source brief | `/api/v1/research {"q","answer":true}` | $0.08 |
| Images/places/shopping/scholar/videos | `/api/v1/<kind> {"q"}` | $0.004 |

Filters on search/news: `freshness` hour|day|week|month|year, `dateFrom`/`dateTo` YYYY-MM-DD, `page` 1-10, `num` up to 100 (billed per 10 results), `gl`, `hl`.

## Tips
- Prefer `answer` for questions, `search` for link lists, `extract` with `urls[]` to read several known pages in one call.
- Cite the `url` fields you used. Results are cached for about 1 hour; cached responses carry X-Cache: HIT; credit-key calls to search/news/verticals fully served from cache cost 50%, x402-paid cached calls are full price.
- Errors: 400 bad input, 401 unknown key, 402 payment needed (check X-Credits-Status / X-Trial-Status), 422 page could not be fetched.
