bc_airports
B.C. airports, aerodromes, heliports and water aerodromes
Find B.C. airports, aerodromes, airstrips, heliports, helipads and water aerodromes from the province's BC Airports layer on DataBC, read live. Filter by name, town, type (airport, aerodrome, airstrip, water aerodrome, heliport, hospital heliport, helipad or seaplane anchorage, matched exactly), an IATA, ICAO or Transport Canada code (YVR, CYVR), or distance from a point. Returns type, town, position, elevation, status (Certified or Registered), codes, runway facts and fuel and access flags. Facts are of mixed age (many from the 2014 Canadian Flight Supplement, some from the 1990s): NOT for flight planning. No phone numbers or street addresses.
Cost: 3 units of your allowance (see Rate limits).
Parameters
name(string, optional): min length 1, max length 60locality(string, optional): min length 1, max length 60type(airport,aerodrome,airstrip,water aerodrome,heliport,hospital heliport,helipad,seaplane anchorage, optional)code(string, optional)lat(number, optional): min 47.5, max 61lon(number, optional): min -140, max -113radius_km(number, optional): min 0.5, max 100limit(integer, optional): min 1, max 50, default20
REST
curl -X POST https://api.bcmcp.ca/v1/tools/bc_airports \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool bc_airports with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bc_airports","arguments":{}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.