{"openapi":"3.1.0","info":{"title":"PixelGust API","description":"Weather, climate, terrain, hazard, environment and soil data for any point or polygon. Documentation: https://pixelgust.com/docs","version":"1.1.0"},"servers":[{"url":"https://pixelgust.com/v1"}],"paths":{"/weather":{"get":{"tags":["Public API v1"],"summary":"Current weather conditions","description":"Get current weather (nowcast) for a point. Returns temperature, humidity, precipitation, wind, pressure, cloud cover, and more.","operationId":"v1_weather_weather_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"API key (alternative to X-API-Key header)","title":"Api Key"},"description":"API key (alternative to X-API-Key header)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather/forecast":{"get":{"tags":["Public API v1"],"summary":"Weather forecast","description":"Get the daily weather forecast for a point. day is 0-based: day 0 is the first forecast day (the day after the GFS run date, UTC). forecast_dates in the response lists all available days (currently 6 or 7 depending on the model run). A day outside that range returns 422.","operationId":"v1_weather_forecast_weather_forecast_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"day","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Forecast day, 0-based (0 is the first forecast day)","default":0,"title":"Day"},"description":"Forecast day, 0-based (0 is the first forecast day)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather/historical":{"get":{"tags":["Public API v1"],"summary":"Historical weather averages","description":"Get historical ERA5 weather averages for a point. Optional month filter (1-12).","operationId":"v1_weather_historical_weather_historical_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"month","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":12,"minimum":1},{"type":"null"}],"description":"Month (1-12) for monthly average, or omit for annual","title":"Month"},"description":"Month (1-12) for monthly average, or omit for annual"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/terrain":{"get":{"tags":["Public API v1"],"summary":"Terrain data","description":"Get elevation, slope, aspect, and TWI for a point.","operationId":"v1_terrain_terrain_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hazards":{"get":{"tags":["Public API v1"],"summary":"Hazard data","description":"Get flood risk (TWI) for a point. Soil erosion is withdrawn for now: soil_erosion_t_ha_yr is null, and soil_erosion_note says why.","operationId":"v1_hazards_hazards_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/environment":{"get":{"tags":["Public API v1"],"summary":"Environment data","description":"Get NDVI, evapotranspiration, and land cover for a point.","operationId":"v1_environment_environment_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/proximity":{"get":{"tags":["Public API v1"],"summary":"Proximity data","description":"Straight-line distance in km from a point to the nearest coastline, highway (motorway or trunk road), airport (large or medium), major port, hospital or clinic, and school. Each layer is returned with its display name and distance_km.","operationId":"v1_proximity_proximity_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soil":{"get":{"tags":["Soil"],"summary":"Soil properties","description":"SoilGrids 2.0 soil properties at a point (ISRIC - World Soil Information, CC BY 4.0): 250 m mean predictions of bulk density, cation exchange capacity, coarse fragments, clay, sand and silt, total nitrogen, organic carbon content and density at six depths from 0-5 cm to 100-200 cm, the organic carbon stock for 0-30 cm, and pH. Values are in the units listed in soil.units. Every requested pair is present, null where SoilGrids has no prediction. Works without a key: 20 calls a day and 5 a minute per network address. With a key, your plan's limits apply. Model estimates, not measurements: ISRIC advises against using SoilGrids at the local or farm level, and they are not for engineering design.","operationId":"v1_soil_soil_get","parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number","description":"Latitude in decimal degrees, -90 to 90","title":"Lat"},"description":"Latitude in decimal degrees, -90 to 90"},{"name":"lon","in":"query","required":true,"schema":{"type":"number","description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)","title":"Lon"},"description":"Longitude in decimal degrees, -180 to 180 (other values are wrapped)"},{"name":"property","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Properties to return, repeated or as a comma list: bdod, cec, cfvo, clay, nitrogen, ocd, ocs, phh2o, sand, silt, soc. Default: all 11","title":"Property"},"description":"Properties to return, repeated or as a comma list: bdod, cec, cfvo, clay, nitrogen, ocd, ocs, phh2o, sand, silt, soc. Default: all 11"},{"name":"depth","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Depths to return, repeated or as a comma list: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm, and 0-30cm for ocs. Pairs that do not exist are left out. Default: all","title":"Depth"},"description":"Depths to return, repeated or as a comma list: 0-5cm, 5-15cm, 15-30cm, 30-60cm, 60-100cm, 100-200cm, and 0-30cm for ocs. Pairs that do not exist are left out. Default: all"},{"name":"nearest","in":"query","required":false,"schema":{"type":"boolean","description":"When the point's own pixel has no prediction for any requested pair (built-up areas, water, permanent ice), use the nearest mapped pixel within a few kilometres and report it in pixel. Default: true","default":true,"title":"Nearest"},"description":"When the point's own pixel has no prediction for any requested pair (built-up areas, water, permanent ice), use the nearest mapped pixel within a few kilometres and report it in pixel. Default: true"},{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional API key (the X-API-Key header is preferred)","title":"Api Key"},"description":"Optional API key (the X-API-Key header is preferred)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"401":{"description":"An API key was given but is invalid or revoked (a request without a key is keyless)"},"429":{"description":"Per-minute or daily limit reached, keyed or keyless. Retry after the Retry-After header (seconds)"},"503":{"description":"Soil data is temporarily unavailable, could not be read, or the server is busy with other soil reads. Retry after the Retry-After header (seconds)"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyHeader":[]},{}]}},"/polygon/stats":{"post":{"tags":["Public API v1"],"summary":"Polygon zonal statistics","description":"Compute weather, terrain, hazard, and environment statistics for a polygon area. Coordinates are [longitude, latitude] pairs. mode is nowcast, forecast or historical (omit it for historical). Polygon size limits depend on tier.","operationId":"v1_polygon_stats_polygon_stats_post","parameters":[{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1PolygonRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["Public API v1"],"summary":"Service health","description":"Liveness check for the API. Needs no key and costs no quota.","operationId":"v1_health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[]}},"/usage":{"get":{"tags":["Public API v1"],"summary":"Check API usage","description":"Check your current daily API usage and tier limits.","operationId":"v1_usage_usage_get","parameters":[{"name":"api_key","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/soilgrids/v2.0/properties/query":{"servers":[{"url":"https://pixelgust.com"}],"get":{"tags":["Soil"],"summary":"SoilGrids-compatible point query","description":"ISRIC's SoilGrids REST API v2.0 request and answer format (properties/query) on PixelGust's copy of the SoilGrids 2.0 mean maps (ISRIC - World Soil Information, CC BY 4.0). Change the base URL from https://rest.isric.org/soilgrids/v2.0 to https://pixelgust.com/soilgrids/v2.0. Works without a key (20 calls a day, shared with /v1/soil). Errors other than 422 are text/plain. PixelGust is not affiliated with or endorsed by ISRIC. https://pixelgust.com/docs#soilgrids","operationId":"soilgridsPropertiesQuery","parameters":[{"name":"lon","in":"query","required":true,"description":"Longitude, -180 to 180 (not wrapped)","schema":{"type":"number","minimum":-180,"maximum":180}},{"name":"lat","in":"query","required":true,"description":"Latitude, -90 to 90","schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"property","in":"query","required":false,"style":"form","explode":true,"description":"SoilGrids properties. wv0010, wv0033 and wv1500 come back as null, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["bdod","cec","cfvo","clay","nitrogen","ocd","ocs","phh2o","sand","silt","soc","wv0010","wv0033","wv1500"]},"default":["bdod","cec","cfvo","clay","nitrogen","ocd","ocs","phh2o","sand","silt","soc","wv0010","wv0033","wv1500"]}},{"name":"depth","in":"query","required":false,"style":"form","explode":true,"description":"Depth intervals. Pairs that do not exist are left out, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["0-5cm","0-30cm","5-15cm","15-30cm","30-60cm","60-100cm","100-200cm"]},"default":["0-5cm","0-30cm","5-15cm","15-30cm","30-60cm","60-100cm","100-200cm"]}},{"name":"value","in":"query","required":false,"style":"form","explode":true,"description":"Statistics. Only mean is served, the others come back as null, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["Q0.5","Q0.05","Q0.95","mean","uncertainty"]},"default":["Q0.5","Q0.05","Q0.95","mean","uncertainty"]}},{"name":"api_key","in":"query","required":false,"description":"Optional API key (the X-API-Key header is preferred)","schema":{"type":"string"}}],"security":[{"ApiKeyHeader":[]},{}],"responses":{"200":{"description":"ISRIC's GeoJSON Feature: raw integers in mapped units (divide by d_factor), null where there is no prediction, and a pixelgust key with the attribution","content":{"application/json":{"example":{"type":"Feature","geometry":{"type":"Point","coordinates":[-7.557,41.196]},"properties":{"layers":[{"name":"soc","unit_measure":{"d_factor":10,"mapped_units":"dg/kg","target_units":"g/kg","uncertainty_unit":""},"depths":[{"range":{"top_depth":0,"bottom_depth":5,"unit_depth":"cm"},"label":"0-5cm","values":{"Q0.5":null,"mean":758}}]},{"name":"wv0033","unit_measure":{"d_factor":10,"mapped_units":"(10-2 cm³/cm³)*10","target_units":"10-2 cm³/cm³","uncertainty_unit":""},"depths":[{"range":{"top_depth":0,"bottom_depth":5,"unit_depth":"cm"},"label":"0-5cm","values":{"Q0.5":null,"mean":null}}]}]},"query_time_s":0.04,"pixelgust":{"not_served":{"properties":["wv0033"],"values":["Q0.5"]},"attribution":"SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","citation":"https://doi.org/10.5194/soil-7-217-2021","source_url":"https://files.isric.org/soilgrids/latest/data/","built_utc":"2026-10-31T02:05:01Z","affiliation":"PixelGust is not affiliated with or endorsed by ISRIC","docs":"https://pixelgust.com/docs#soilgrids"}}}}},"401":{"description":"An API key was given but is invalid or revoked","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Invalid request, in ISRIC's format","content":{"application/json":{"example":{"detail":[{"loc":["query","lat"],"msg":"field required","type":"value_error.missing"}]}}}},"429":{"description":"Per-minute or daily limit reached. Retry after the Retry-After header (seconds)","content":{"text/plain":{"schema":{"type":"string"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait"}}},"503":{"description":"Soil data is temporarily unavailable or the server is busy with other soil reads. Retry after the Retry-After header (seconds)","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/k/{api_key}/soilgrids/v2.0/properties/query":{"servers":[{"url":"https://pixelgust.com"}],"get":{"tags":["Soil"],"summary":"SoilGrids-compatible point query, key in the path","description":"The same query for tools that cannot send headers, such as R's soilDB, whose endpoint becomes https://pixelgust.com/k/YOUR_API_KEY/soilgrids/v2.0/properties/query. Anyone who sees the URL can use the key's quota.","operationId":"soilgridsPropertiesQueryKeyed","parameters":[{"name":"api_key","in":"path","required":true,"schema":{"type":"string"},"description":"Your API key"},{"name":"lon","in":"query","required":true,"description":"Longitude, -180 to 180 (not wrapped)","schema":{"type":"number","minimum":-180,"maximum":180}},{"name":"lat","in":"query","required":true,"description":"Latitude, -90 to 90","schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"property","in":"query","required":false,"style":"form","explode":true,"description":"SoilGrids properties. wv0010, wv0033 and wv1500 come back as null, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["bdod","cec","cfvo","clay","nitrogen","ocd","ocs","phh2o","sand","silt","soc","wv0010","wv0033","wv1500"]},"default":["bdod","cec","cfvo","clay","nitrogen","ocd","ocs","phh2o","sand","silt","soc","wv0010","wv0033","wv1500"]}},{"name":"depth","in":"query","required":false,"style":"form","explode":true,"description":"Depth intervals. Pairs that do not exist are left out, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["0-5cm","0-30cm","5-15cm","15-30cm","30-60cm","60-100cm","100-200cm"]},"default":["0-5cm","0-30cm","5-15cm","15-30cm","30-60cm","60-100cm","100-200cm"]}},{"name":"value","in":"query","required":false,"style":"form","explode":true,"description":"Statistics. Only mean is served, the others come back as null, repeated (comma lists also work). Default: all of ISRIC's","schema":{"type":"array","items":{"type":"string","enum":["Q0.5","Q0.05","Q0.95","mean","uncertainty"]},"default":["Q0.5","Q0.05","Q0.95","mean","uncertainty"]}}],"security":[{}],"responses":{"200":{"description":"ISRIC's GeoJSON Feature: raw integers in mapped units (divide by d_factor), null where there is no prediction, and a pixelgust key with the attribution","content":{"application/json":{"example":{"type":"Feature","geometry":{"type":"Point","coordinates":[-7.557,41.196]},"properties":{"layers":[{"name":"soc","unit_measure":{"d_factor":10,"mapped_units":"dg/kg","target_units":"g/kg","uncertainty_unit":""},"depths":[{"range":{"top_depth":0,"bottom_depth":5,"unit_depth":"cm"},"label":"0-5cm","values":{"Q0.5":null,"mean":758}}]},{"name":"wv0033","unit_measure":{"d_factor":10,"mapped_units":"(10-2 cm³/cm³)*10","target_units":"10-2 cm³/cm³","uncertainty_unit":""},"depths":[{"range":{"top_depth":0,"bottom_depth":5,"unit_depth":"cm"},"label":"0-5cm","values":{"Q0.5":null,"mean":null}}]}]},"query_time_s":0.04,"pixelgust":{"not_served":{"properties":["wv0033"],"values":["Q0.5"]},"attribution":"SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","citation":"https://doi.org/10.5194/soil-7-217-2021","source_url":"https://files.isric.org/soilgrids/latest/data/","built_utc":"2026-10-31T02:05:01Z","affiliation":"PixelGust is not affiliated with or endorsed by ISRIC","docs":"https://pixelgust.com/docs#soilgrids"}}}}},"401":{"description":"An API key was given but is invalid or revoked","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Invalid request, in ISRIC's format","content":{"application/json":{"example":{"detail":[{"loc":["query","lat"],"msg":"field required","type":"value_error.missing"}]}}}},"429":{"description":"Per-minute or daily limit reached. Retry after the Retry-After header (seconds)","content":{"text/plain":{"schema":{"type":"string"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait"}}},"503":{"description":"Soil data is temporarily unavailable or the server is busy with other soil reads. Retry after the Retry-After header (seconds)","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/soilgrids/v2.0/properties/layers":{"servers":[{"url":"https://pixelgust.com"}],"get":{"tags":["Soil"],"summary":"Layer structure (not available)","operationId":"soilgridsPropertiesLayers","description":"properties/layers is not available on PixelGust. The layers it serves are listed at https://pixelgust.com/docs#soilgrids.","security":[{}],"responses":{"501":{"description":"Not available on PixelGust","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/soilgrids/v2.0/classification/query":{"servers":[{"url":"https://pixelgust.com"}],"get":{"tags":["Soil"],"summary":"WRB classification (not available)","operationId":"soilgridsClassificationQuery","description":"PixelGust serves SoilGrids soil properties only. WRB classification is not available.","security":[{}],"responses":{"501":{"description":"Not available on PixelGust","content":{"text/plain":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"V1PolygonRequest":{"properties":{"coordinates":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Coordinates"},"mode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mode"},"day":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Day"},"month":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Month"}},"type":"object","required":["coordinates"],"title":"V1PolygonRequest","example":{"coordinates":[[23.7,37.9],[23.8,37.9],[23.8,38.0],[23.7,38.0],[23.7,37.9]],"mode":"nowcast"}},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}},"security":[{"ApiKeyHeader":[]}],"tags":[{"name":"Public API v1","description":"Weather, climate, terrain, hazard, environment and polygon data"},{"name":"Soil","description":"SoilGrids 2.0 by ISRIC - World Soil Information, CC BY 4.0. Usable without a key (20 calls a day). Attribution: https://pixelgust.com/docs#soil-attribution"}]}