end_datestringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
end_datestringrequeridoEnd date in YYYYMMDD format, inclusive local calendar date.
start_datestringrequeridoStart date in YYYYMMDD format, interpreted as a local calendar date.
station_idstringrequeridoAirport station ICAO code (e.g. EFHK, KJFK). Obtain from search endpoint's icaoCode field.
country_codestringrequeridoTwo-letter ISO country code for the station (e.g. FI, US).
timezone_namestringrequeridoIANA timezone name for local date grouping (e.g. Europe/Helsinki, America/New_York). DST transitions are handled automatically.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Weather Underground | $0.01 por llamada | JSON asíncrono |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/weather-underground/historical-airport-temperature-series con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.01 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: end_date (string), start_date (string), station_id (string), country_code (string) y timezone_name (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Un resultado JSON. Este endpoint se ejecuta de forma asíncrona, así que la respuesta indica cómo obtener el resultado final.
No. Weather Underground Historical Airport Temperature Series funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Weather Underground por separado.