Example paid weather endpoint using HTTP 402.

Category
Data
Endpoint
https://server.api20.xyz/weather
Network
Base
Asset
USDC
Price
0.001 USDC / request
Payment protocol
x402
MCP Ready
Demo
Builder Code
Planned
Attribution standard
ERC-8021 research
Status
Demo
Registry ID
weather-api

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.