the402 endpoint detail

← All endpoints

2s.io airport lookup

https://2s.io/api/airport/lookup

answers 402

Look up an airport by 3-letter IATA (e.g. SFO) or 4-letter ICAO (e.g. KSFO) code. Query: code (3-5 chars, alphanumeric). Returns { airport: { id, ident, type, name, latitude, longitude, elevationFt, continent, isoCountry, isoRegion, municipality, scheduledService, icaoCode, iataCode, gpsCode, localCode, wikipediaLink } } or 404 NOT_FOUND.

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
193 ms
Payment options
2 usable of 2
Last checked
2026-09-06T01:22:09.842Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2F2s.io%2Fapi%2Fairport%2Flookup"