Skip to content
Maua.Culturewire

IQAir AirVisual

Air quality and weather for cities and stations worldwide

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Create an account at iqair.com and sign in.
    2. Open “Dashboard” → “API”, choose the free “Community” plan and create a key.
    3. Copy the key and paste it here. The free plan only gives data for cities (not for specific stations) and has low limits on calls per minute and per day.

    Get credentials (opens in a new tab)

Tools (1)

  • IQAir AirVisual API requestIQAIRAIRVISUAL_SEND_REQUEST

    Authenticated call to the IQAir AirVisual API (https://api.airvisual.com/v2). Any endpoint of the API is allowed. Examples: GET /countries (countries with data), GET /states?country=USA, GET /cities?state=California&country=USA, GET /city?city=Los Angeles&state=California&country=USA (current air quality and weather), GET /nearest_city?lat=40.4168&lon=-3.7038 (nearest city to some coordinates), GET /nearest_city (the nearest city to the IP Maua.Culturewire calls from).

    Required scopes

    No scopes required

    Input

    IQAir AirVisual API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.