ScrapeMole
x402 API for AI agents

Web data your agent pays for per call. Only when it works.

YouTube search, channels and transcripts, Google Trends and Amazon products over plain HTTPS. Pay in USDC on Base with x402: no signup, no API key, and failed calls are never charged.

ScrapeMole mascot: a mole in a miner's helmet holding a data card
HTTP 402 · $0.01 USDC
404 NOT_FOUND · $0
13/13end-to-end payment checks passed (Base Sepolia, 2026-10-11)
$0.035spent by the test buyer: exactly the 4 successful calls
$0charged for the 4 failed test calls
$0.005cheapest call. No signup, no minimum

How to call it

Standard x402 v2, exact scheme, USDC on Base (eip155:8453). Payments go through the PayAI facilitator, which verifies before the scrape and settles only after a 200.

Call without paying

Any paid endpoint answers 402 Payment Required with the price, the USDC contract and the receiving address, in the PAYMENT-REQUIRED header and the body.

Sign and retry

Your x402 client signs a USDC transfer authorization for that exact amount and repeats the request with a PAYMENT-SIGNATURE header. No gas on your side.

Get data, or pay nothing

200 with JSON: the payment settles. Bad input (400), not found (404), blocked or upstream errors (5xx): nothing settles.

# No payment header: the API answers 402 with the price and where to pay
curl -i "https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/search?q=espresso%20machine%20review&limit=10"

HTTP/2 402
content-type: application/json; charset=utf-8
payment-required: eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOiJQYXltZW50IHJl…  (base64 of the same JSON, 6944 chars)

{
  "x402Version": 2,
  "error": "Payment required",
  "resource": {
    "url": "https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/search?q=espresso%20machine%20review&limit=10",
    "mimeType": "application/json"
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "amount": "10000",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "payTo": "0xCb535d13C7fC5Fe6C2B88da3f3601B840CCaf8Bc",
      "maxTimeoutSeconds": 300,
      "extra": {
        "name": "USD Coin",
        "version": "2"
      }
    }
  ]
}
# Body trimmed: the live response also has resource.description and extensions.bazaar
# (input schema and an output example). Captured 11 Oct 2026 18:11 UTC.

Machine-readable docs

Use it from MCP

Remote MCP server (Streamable HTTP, no auth): https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp. It lists all five tools; payments use the x402 MCP transport: an unpaid tools/call returns isError with the PaymentRequired object, and the paid retry carries the signed payment in params._meta["x402/payment"]. Server card: /.well-known/mcp/server-card.json.

# List the tools (free)
curl -s https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Write-ups

Listed on

Why agents can rely on it

01Failed calls are free

The payment settles only on HTTP 200. In our live test run, 4 failing calls (unknown video and channel, missing query, bad time range) cost $0.

02No account at all

No signup, no API key, no subscription. Any wallet with USDC on Base can call it, which is what x402 is for.

03Errors an agent can act on

Every failure is JSON with an error code (INVALID_INPUT, NOT_FOUND, NO_DATA, BLOCKED), charged: false and a plain-English message, so the agent knows whether to fix the input or retry.

04Tested live, numbers published

Each tool page shows our latest live test calls and paid end-to-end checks, straight from the test reports.

Questions

What is x402?

An open protocol that uses the HTTP 402 status code for payments: the server states a price, the client pays with a signed stablecoin authorization in a header, and gets the response. It lets software, including AI agents, pay per request without accounts.

What do I need to start?

A wallet with some USDC on Base and an x402 client library such as @x402/fetch. One cent covers one search, channel or Trends call; a transcript is half a cent.

Can I use it from MCP?

Yes. https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp is a remote MCP server (Streamable HTTP) exposing all five tools. Unpaid tools/call returns the x402 PaymentRequired object; retry with the signed payment in params._meta["x402/payment"] (x402 MCP transport). Same prices, same no-charge-on-failure rule.

When exactly am I charged?

Only when the response status is 200. The facilitator verifies your signature first, we run the request, and settlement happens only after a successful response. Anything else is free.

Do you collect personal data?

No. The tools return public, non-personal data (videos, transcripts of public videos, search trends, product listings) and redact e-mail addresses found in public text. See the terms.

Can I test without real money?

The unpaid 402 response and all docs (/, /openapi.json, /llms.txt, /.well-known/x402, /terms) are free to call.

Need another data source?

Tell us the site and the fields. Popular requests become new endpoints.

Contact us