Free sample - AQI for major world cities (Beijing, London, NYC, Sydney)
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/overview/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Get current AQI and pollutant data for any city
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name (e.g., tokyo, paris, delhi)"
}
},
"required": [
"city"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/city/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"city": "<City name (e.g., tokyo, paris, delhi)>"
}
}
'
Get AQI for specific coordinates (nearest station)
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"lat": {
"type": "number",
"description": "Latitude"
},
"lon": {
"type": "number",
"description": "Longitude"
}
},
"required": [
"lat",
"lon"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/geo/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"lat": 0,
"lon": 0
}
}
'
Search for air quality monitoring stations by keyword
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keyword (city, region, or station name)"
},
"limit": {
"default": 10,
"description": "Max results (default 10)",
"type": "number"
}
},
"required": [
"query",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/search/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"query": "<Search keyword (city, region, or station name)>",
"limit": 0
}
}
'
Get AQI forecast (7-day) for a city
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "City name"
}
},
"required": [
"city"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/forecast/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"city": "<City name>"
}
}
'
Compare air quality across multiple cities
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"cities": {
"minItems": 2,
"maxItems": 10,
"type": "array",
"items": {
"type": "string"
},
"description": "List of cities to compare"
}
},
"required": [
"cities"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://air-quality-intel-production.up.railway.app/entrypoints/compare/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"cities": [
"string"
]
}
}
'