{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:google-airquality/airquality-current-conditions-lookup":{"post":{"operationId":"dev_tools_google_airquality_airquality_current_conditions_lookup","summary":"The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a…","description":"POST /v1/currentConditions:lookup","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-airquality/airquality-forecast-lookup":{"post":{"operationId":"dev_tools_google_airquality_airquality_forecast_lookup","summary":"Returns air quality forecast for a specific location for a given time range.","description":"POST /v1/forecast:lookup","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-airquality/airquality-history-lookup":{"post":{"operationId":"dev_tools_google_airquality_airquality_history_lookup","summary":"Returns air quality history for a specific location for a given time range.","description":"POST /v1/history:lookup","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-airquality/airquality-map-types-heatmap-tiles-lookup-heatmap-tile":{"get":{"operationId":"dev_tools_google_airquality_airquality_map_types_heatmap_tiles_lookup_heatmap_tile","summary":"Returns a bytes array containing the data of the tile PNG image.","description":"GET /v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}","tags":["dev-tools"],"parameters":[{"name":"mapType","in":"query","required":true,"description":"Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: -…","schema":{"type":"string","enum":["MAP_TYPE_UNSPECIFIED","UAQI_RED_GREEN","UAQI_INDIGO_PERSIAN","PM25_INDIGO_PERSIAN","GBR_DEFRA","DEU_UBA","CAN_EC","FRA_ATMO","US_AQI"],"description":"Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: -…"}},{"name":"x","in":"query","required":true,"description":"Required. Defines the east-west point in the requested tile.","schema":{"type":"integer","description":"Required. Defines the east-west point in the requested tile."}},{"name":"y","in":"query","required":true,"description":"Required. Defines the north-south point in the requested tile.","schema":{"type":"integer","description":"Required. Defines the north-south point in the requested tile."}},{"name":"zoom","in":"query","required":true,"description":"Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in…","schema":{"type":"integer","description":"Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}