Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

IQAir Map Data

API-Dokumentation
https://api.sandbase.ai/v1/api/iqair/map-data

Air quality station clusters for map visualization. Returns geographic clusters with aggregated AQI values and station counts within the specified bounding box.

Preis
$0.01USD / Aufruf
Methode
POST
Antwort
Asynchrones JSON
Parameter
0 erforderlich · 2 optional

Playground

Eingabe
Bounding box as comma-separated string: minLng,minLat,maxLng,maxLat (e.g. '-122.5,37.0,-121.5,38.0'). Omitting returns global data.
Map zoom level (1-20). Higher values return more granular clusters with fewer stations per cluster. Bereich: -9007199254740991 bis 9007199254740991.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

IQAir Map Data

Air quality station clusters for map visualization. Returns geographic clusters with aggregated AQI values and station counts within the specified bounding box.

Request

curl -X POST "https://api.sandbase.ai/v1/api/iqair/map-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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
bboxstringNoBounding box as comma-separated string: minLng,minLat,maxLng,maxLat (e.g. '-122.5,37.0,-121.5,38.0'). Omitting returns global data.
zoomintegerNoMap zoom level (1-20). Higher values return more granular clusters with fewer stations per cluster.

Pricing

Flat price per call. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
IQAir$0.01 pro AufrufAsynchrones JSON
IQAir$0.01 pro AufrufAsynchrones JSON
IQAir$0.01 pro AufrufAsynchrones JSON
IQAir$0.01 pro AufrufAsynchrones JSON

Fragen

FAQ

Wie verwende ich die IQAir Map Data API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/iqair/map-data mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die IQAir Map Data API?

$0.01 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die IQAir Map Data API?

Es sind keine Parameter erforderlich. Optional: bbox (string) und zoom (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die IQAir Map Data API zurück?

Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen.

Benötige ich ein IQAir-Entwicklerkonto oder einen API-Schlüssel?

Nein. IQAir Map Data läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für IQAir API beantragen.