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

Weather Underground Historical Airport Temperature Series

https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-series

Retrieve a complete year-scale airport observation temperature series for settlement calibration. Returns every observation within the requested local-date range (up to 366 days), preserving the full intraday path.

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

Phòng thử nghiệm

Đầu vào
End date in YYYYMMDD format, inclusive local calendar date.
Start date in YYYYMMDD format, interpreted as a local calendar date.
Airport station ICAO code (e.g. EFHK, KJFK). Obtain from search endpoint's icaoCode field.
Two-letter ISO country code for the station (e.g. FI, US).
IANA timezone name for local date grouping (e.g. Europe/Helsinki, America/New_York). DST transitions are handled automatically.
Đầ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

Weather Underground Historical Airport Temperature Series

Retrieve a complete year-scale airport observation temperature series for settlement calibration. Returns every observation within the requested local-date range (up to 366 days), preserving the full intraday path.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-series" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"station_id": "KJFK", "country_code": "US", "start_date": "20261001", "end_date": "20261002", "timezone_name": "America/New_York"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
country_codestringYesTwo-letter ISO country code for the station (e.g. FI, US).
end_datestringYesEnd date in YYYYMMDD format, inclusive local calendar date.
start_datestringYesStart date in YYYYMMDD format, interpreted as a local calendar date.
station_idstringYesAirport station ICAO code (e.g. EFHK, KJFK). Obtain from search endpoint's icaoCode field.
timezone_namestringYesIANA timezone name for local date grouping (e.g. Europe/Helsinki, America/New_York). DST transitions are handled automatically.

Pricing

Flat price per call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weather Underground$0.01 mỗi lần gọiJSON bất đồng bộ

Câu hỏi

FAQ

Làm thế nào để dùng API Weather Underground Historical Airport Temperature Series?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-series 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 Weather Underground Historical Airport Temperature Series 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 Weather Underground Historical Airport Temperature Series chấp nhận những tham số nào?

Bắt buộc: end_date (string), start_date (string), station_id (string), country_code (string) và timezone_name (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Weather Underground Historical Airport Temperature Series trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất.

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

Không. Weather Underground Historical Airport Temperature Series 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 Weather Underground.