x402 USDC on Base mainnet
Pay-per-call data for AI agents. No sign-up, no API key: call an endpoint, receive
402 Payment Required, pay, get data. Errors and unknown inputs are never charged.
/weather | Premium Weather API | $0.003 USDC |
/geocode | Geocoding API | $0.002 USDC |
/reverse-geocode | Reverse Geocoding API | $0.002 USDC |
/holidays | Public Holidays API | $0.002 USDC |
/phone/validate | Phone Number Validation API | $0.003 USDC |
/fx | Currency Exchange Rates API | $0.002 USDC |
GET https://x402-weather.onrender.com/weather?city=Bloemfontein GET https://x402-weather.onrender.com/geocode?q=Paris,%20FR GET https://x402-weather.onrender.com/reverse-geocode?lat=-29.12&lon=26.21 GET https://x402-weather.onrender.com/holidays?country=ZA&year=2026 GET https://x402-weather.onrender.com/phone/validate?number=%2B27211234567 GET https://x402-weather.onrender.com/fx?base=USD&symbols=ZAR,EUR&amount=100
Spec: /openapi.json ยท Docs: /docs
Weather: MET Norway (CC BY 4.0). Places: GeoNames (CC BY 4.0). Holidays: python-holidays (MIT). Phone metadata: Google libphonenumber (Apache 2.0). FX: European Central Bank reference rates.