2s
Airports within a radius of a coordinate, sorted by distance. Query: lat (-90..90), lon (-180..180), radius_km (1-2000, default 200), limit (1-100, default 20), type (optional: large_airport|medium_airport|small_airport|heliport|seaplane_base|balloonport|closed), country (optional 2-letter ISO 3166-1), scheduled_service (optional bool, true = commercial-service airports only). Returns { query, count, airports: [{ id, ident, name, iataCode, icaoCode, type, latitude, longitude, distanceKm, ... }] }.
Offering
- Provider
- 2s.io
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Api
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://2s.io/api/airport/near- MIME type
- application/json
- First seen
- 2026-10-16T02:52:34.600Z
- Last seen
- Tags
- public-records, identifiers, AI-agents, us-gov-data, X402, upto-billing, ai-gateway, agent-infrastructure
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.0025 USDC
Atomic price: 2500 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.0025 USDC
Atomic price: 2500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2500",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2500",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn"
}
]Observed health
- Status
- Healthy
- Latest latency
- 86 ms
- Average latency
- 368 ms
- HTTP status
- 402
- Last checked
- Reachability
- 100% over 12 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees (-90 to 90)."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees (-180 to 180)."
},
"radius_km": {
"type": "number",
"minimum": 1,
"maximum": 2000,
"default": 200,
"description": "Search radius in kilometers (1-2000). Default 200."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20,
"description": "Max airports to return (1-100). Default 20."
},
"type": {
"type": "string",
"enum": [
"large_airport",
"medium_airport",
"small_airport",
"heliport",
"seaplane_base",
"balloonport",
"closed"
],
"description": "Filter by airport type."
},
"country": {
"type": "string",
"description": "Filter by ISO 3166-1 alpha-2 country code (e.g. US)."
},
"scheduled_service": {
"type": "boolean",
"description": "When true, only commercial-service airports."
}
},
"required": [
"lat",
"lon"
],
"additionalProperties": false
}
},
"required": [
"type",
"method",
"queryParams"
]
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees (-90 to 90)."
},
"lon": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees (-180 to 180)."
},
"radius_km": {
"type": "number",
"minimum": 1,
"maximum": 2000,
"default": 200,
"description": "Search radius in kilometers (1-2000). Default 200."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20,
"description": "Max airports to return (1-100). Default 20."
},
"type": {
"type": "string",
"enum": [
"large_airport",
"medium_airport",
"small_airport",
"heliport",
"seaplane_base",
"balloonport",
"closed"
],
"description": "Filter by airport type."
},
"country": {
"type": "string",
"description": "Filter by ISO 3166-1 alpha-2 country code (e.g. US)."
},
"scheduled_service": {
"type": "boolean",
"description": "When true, only commercial-service airports."
}
},
"required": [
"lat",
"lon"
],
"additionalProperties": false
}
},
"required": [
"type",
"method",
"queryParams"
]
}
},
"required": [
"input"
]
}