Agent Data API

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.

/weatherPremium Weather API$0.003 USDC
/geocodeGeocoding API$0.002 USDC
/reverse-geocodeReverse Geocoding API$0.002 USDC
/holidaysPublic Holidays API$0.002 USDC
/phone/validatePhone Number Validation API$0.003 USDC
/fxCurrency Exchange Rates API$0.002 USDC

Examples

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.