Registry Detail · v0.3
Weather API
Structured registry metadata for this demo x402 API — static preview only. No real payment execution.
Demo · static metadata preview
Example paid weather endpoint using HTTP 402.
Example curl request
curl -i "https://server.api20.xyz/weather"
Example HTTP 402 response
{
"x402Version": 1,
"error": "Payment Required",
"message": "This is a demo x402 endpoint on server.api20.xyz",
"accepts": [
{
"scheme": "exact",
"network": "base",
"maxAmountRequired": "1000",
"resource": "https://server.api20.xyz/weather",
"description": "Weather API — demo endpoint (0.001 USDC per request)",
"payTo": "0x0000000000000000000000000000000000000000",
"asset": "USDC",
"mimeType": "application/json"
}
]
}
Registry metadata JSON
{
"id": "weather-api",
"name": "Weather API",
"category": "Data",
"endpoint": "https://server.api20.xyz/weather",
"network": "base",
"asset": "USDC",
"price": "0.001",
"paymentProtocol": "x402",
"mcpReady": "demo",
"builderCode": "planned",
"attributionStandard": "ERC-8021 research",
"status": "demo",
"description": "Example paid weather endpoint using HTTP 402."
}
Disclaimer: Demo/static registry preview only. No real payment execution. MCP support and Builder Codes support are research/planned only. API20 is not affiliated with Coinbase, Base, or any official x402 organization.