x402 data APIs
From OpenData Knowledge Wiki
x402 data APIs are web data endpoints paid per call with the x402 protocol, which uses the HTTP status code 402 Payment Required to return a price quote that the client pays and retries.[1][2] The OpenData Best x402 gateway offers 99 public web data sources this way, settled in USDC without an account or API key.[3]
HTTP 402
HTTP 402 Payment Required was reserved in the HTTP specification for future use in digital payment systems.[2] The x402 protocol defines how a server describes the payment it requires and how a client submits a signed payment with the retried request.[1]
Request flow
- The client sends a normal request, for example
POST https://x402.opendata.best/s/google-maps-scraper/v1/searchwith a JSON body. - Without payment the server answers 402 with the price quote in the
PAYMENT-REQUIREDheader and the JSON body. - An x402 client signs the quote and resends the request with
PAYMENT-SIGNATURE. - The server collects the rows and settles only for rows delivered.
Postman can display the quote but cannot sign payments; a paid call needs an x402 client library.[6][3]
The OpenData Best gateway
The gateway lists 99 sites and 172 paid routes priced at $0.002–$0.005 per row, settles in native USDC on Base, Polygon, Arbitrum, Monad, World Chain and Solana, and also exposes a stateless MCP endpoint at /mcp.[3] The list of paid resources is published at /.well-known/x402 and the routes are described in an OpenAPI 3.1 document.[4][5] Responses with zero rows (404), invalid input (422), upstream errors (502) and timeouts (504) are not charged.[3] The server is indexed by the x402scan explorer.[7]
When to use x402
x402 suits autonomous agents and scripts that should pay per call without holding an account. People who want a whole file use OpenData Shop; assistants with an account use the MCP server.
Frequently asked questions
What is x402?
A protocol that uses HTTP 402 Payment Required to quote a price for a request and accept a signed payment with the retried request.
Do I need an account to call the OpenData Best x402 APIs?
No. Each call is paid in USDC; no account or API key is used.
What does a call cost?
Between $0.002 and $0.005 per delivered row, depending on the route; 0-row, invalid-input, upstream-error and timeout responses are not charged.
Which networks are supported?
USDC on Base, Polygon, Arbitrum, Monad, World Chain and Solana.
See also
References
- x402 protocol website https://x402.org/
- HTTP 402 Payment Required (MDN) https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/402
- OpenData Best x402 gateway https://x402.opendata.best/
- x402 discovery document https://x402.opendata.best/.well-known/x402
- x402 gateway OpenAPI https://x402.opendata.best/openapi.json
- OpenData Best Postman Collection https://github.com/kaneliu120/opendata-postman-collection
- x402scan explorer entry https://www.x402scan.com/server/x402.opendata.best
Directories: Apify Actors and Workers · APIs on RapidAPI · APIs on API.market · APIHub.io gateways · Workflow and agent integrations · Categories: Real estate · E-commerce · Social media & ads · Food delivery · Travel · Local business · B2B & suppliers · Jobs & talent · Events & tickets · Apps & developers · Data quality & web tools