Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Flightradar24 Live Flights

https://api.sandbase.ai/v1/api/flightradar24/flights

Get live flights from Flightradar24 by airport, flight number, airline, aircraft type or map bounds, with position, altitude, speed, route and aircraft.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 10 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the airport that flights depart from or arrive at, as a 3-letter IATA airport code (e.g., `LHR` for London Heathrow). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., `LHR,LGW`).
Parameter defines the GPS coordinates of the map area to search in, like moving the map on Flightradar24. Only flights within these bounds are returned. Its value must be 4 comma-separated numbers matching the following format: `north` + `,` + `east` + `,` + `south` + `,` + `west` `north` and `south` are latitudes, and `east` and `west` are longitudes (e.g., `51.69,0.33,51.28,-0.51` for London). An area crossing the antimeridian has a `west` longitude greater than its `east` longitude (e.g., `60,-170,40,170` around the Aleutian Islands). When not set, flights are searched worldwide. Flightrada
Parameter defines the flight number to search for (e.g., `BA285`). Flights whose number starts with this value are returned, so `BA28` also returns `BA285` and `BA287`. Multiple flight numbers can be separated by commas (e.g., `BA285,BA287`).
Parameter defines the callsign to search for (e.g., `BAW5L`). A callsign can differ from the flight number: `BA285` flies as `BAW5L`. Flights whose callsign starts with this value are returned. Multiple callsigns can be separated by commas (e.g., `BAW5L,BAW28K`).
Parameter defines the airline to search for, as a 3-letter ICAO airline code (e.g., `BAW` for British Airways), not its 2-letter IATA code (`BA`). The ICAO code is shown after the IATA code when you search for the airline on Flightradar24. Multiple airlines can be separated by commas (e.g., `BAW,VIR`).
Parameter defines the aircraft registration to search for (e.g., `G-XLEK`). Aircraft whose registration starts with this value are returned, so `G-XLE` returns the British Airways Airbus A380s, and `G-` returns every aircraft registered in the United Kingdom. Multiple registrations can be separated by commas (e.g., `G-XLEK,G-XLEH`).
Parameter defines the aircraft type to search for, as an ICAO aircraft type designator (e.g., `A388` for the Airbus A380-800). It's shown in the aircraft details of a flight on Flightradar24. Aircraft whose type starts with this value are returned, so `B77` returns every Boeing 777 variant. Multiple aircraft types can be separated by commas (e.g., `A388,B748`).
Parameter defines the airport that flights depart from, as a 3-letter IATA airport code (e.g., `LHR` for London Heathrow). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., `LHR,LGW`).
Parameter defines the airport that flights arrive at, as a 3-letter IATA airport code (e.g., `JFK` for New York JFK). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., `JFK,EWR`).
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Flightradar24 Live Flights

Get live flights from Flightradar24 by airport, flight number, airline, aircraft type or map bounds, with position, altitude, speed, route and aircraft.

Request

curl -X POST "https://api.sandbase.ai/v1/api/flightradar24/flights" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"airport": "AUS"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
airportstringNoParameter defines the airport that flights depart from or arrive at, as a 3-letter IATA airport code (e.g., LHR for London Heathrow). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., `LHR
map_boundsstringNoParameter defines the GPS coordinates of the map area to search in, like moving the map on Flightradar24. Only flights within these bounds are returned. Its value must be 4 comma-separated numbers matching the following format: north + `,
flight_numberstringNoParameter defines the flight number to search for (e.g., BA285). Flights whose number starts with this value are returned, so BA28 also returns BA285 and BA287. Multiple flight numbers can be separated by commas (e.g., BA285,BA287
callsignstringNoParameter defines the callsign to search for (e.g., BAW5L). A callsign can differ from the flight number: BA285 flies as BAW5L. Flights whose callsign starts with this value are returned. Multiple callsigns can be separated by commas
airlinestringNoParameter defines the airline to search for, as a 3-letter ICAO airline code (e.g., BAW for British Airways), not its 2-letter IATA code (BA). The ICAO code is shown after the IATA code when you search for the airline on Flightradar24.
registrationstringNoParameter defines the aircraft registration to search for (e.g., G-XLEK). Aircraft whose registration starts with this value are returned, so G-XLE returns the British Airways Airbus A380s, and G- returns every aircraft registered in
aircraft_typestringNoParameter defines the aircraft type to search for, as an ICAO aircraft type designator (e.g., A388 for the Airbus A380-800). It's shown in the aircraft details of a flight on Flightradar24. Aircraft whose type starts with this value are r
departure_idstringNoParameter defines the airport that flights depart from, as a 3-letter IATA airport code (e.g., LHR for London Heathrow). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., LHR,LGW).
arrival_idstringNoParameter defines the airport that flights arrive at, as a 3-letter IATA airport code (e.g., JFK for New York JFK). You can search for it on Flightradar24 or IATA. Multiple airports can be separated by commas (e.g., JFK,EWR).
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Flightradar24$0.01 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Flightradar24 Live Flights?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/flightradar24/flights với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Flightradar24 Live Flights có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Flightradar24 Live Flights chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: airport (string), map_bounds (string), flight_number (string), callsign (string), airline (string) và registration (string) và 4 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Flightradar24 Live Flights trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Flightradar24 không?

Không. Flightradar24 Live Flights chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Flightradar24.