end_datestringобязательно
End date in YYYYMMDD format, inclusive local calendar date.
https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-seriesRetrieve 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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
country_code | string | Yes | Two-letter ISO country code for the station (e.g. FI, US). |
end_date | string | Yes | End date in YYYYMMDD format, inclusive local calendar date. |
start_date | string | Yes | Start date in YYYYMMDD format, interpreted as a local calendar date. |
station_id | string | Yes | Airport station ICAO code (e.g. EFHK, KJFK). Obtain from search endpoint's icaoCode field. |
timezone_name | string | Yes | IANA timezone name for local date grouping (e.g. Europe/Helsinki, America/New_York). DST transitions are handled automatically. |
Flat price per call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 '{
"end_date": "20261002",
"start_date": "20261001",
"station_id": "KJFK",
"country_code": "US",
"timezone_name": "America/New_York"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
end_datestringобязательноEnd date in YYYYMMDD format, inclusive local calendar date.
start_datestringобязательноStart date in YYYYMMDD format, interpreted as a local calendar date.
station_idstringобязательноAirport station ICAO code (e.g. EFHK, KJFK). Obtain from search endpoint's icaoCode field.
country_codestringобязательноTwo-letter ISO country code for the station (e.g. FI, US).
timezone_namestringобязательноIANA timezone name for local date grouping (e.g. Europe/Helsinki, America/New_York). DST transitions are handled automatically.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Weather Underground | $0.01 за запрос | Асинхронный JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-series, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: end_date (string), start_date (string), station_id (string), country_code (string) и timezone_name (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат.
Нет. Weather Underground Historical Airport Temperature Series работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Weather Underground.