← All endpoints
2s.io geocode address
https://2s.io/api/geocode/address
payable
Forward geocoding — free-text address or place name → latitude/longitude plus structured address components (houseNumber, road, suburb, city, county, state, postcode, country, countryCode). Query: q (2-500 chars), limit (1-10, default 5), country (optional 2-letter ISO 3166-1 bias). Underlying data is OpenStreetMap (ODbL). Sister: /api/geocode/reverse.
We sent a real
GET request to this endpoint and it
answered 402 with payment requirements we could parse.
- Price
- $0.0025
- Network
- base
- Pay to
- 0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5
- Spec dialect
- v2 (declares x402Version 2)
- Transport
- PAYMENT-REQUIRED header
- HTTP method
- GET
- Response latency
- 232 ms
- Payment options
- 2 usable of 2
- Last checked
- 2026-08-10T09:08:38.278Z (1d ago)
- Category
- search
Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Fgeocode%2Faddress"