{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/places:us-weather-service/point":{"get":{"operationId":"places_us_weather_service_point","summary":"Point metadata","description":"Forecast office and forecast URLs for a US coordinate.","tags":["places"],"parameters":[{"name":"lat","in":"query","required":true,"schema":{"type":"number"},"example":39.7456},{"name":"lon","in":"query","required":true,"schema":{"type":"number"},"example":-97.0892}],"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":86400,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/places:us-weather-service/forecast":{"get":{"operationId":"places_us_weather_service_forecast","summary":"Forecast","description":"7-day forecast for a forecast office grid point.","tags":["places"],"parameters":[{"name":"office","in":"query","required":true,"schema":{"type":"string"},"example":"TOP"},{"name":"gridX","in":"query","required":true,"schema":{"type":"integer"},"example":31},{"name":"gridY","in":"query","required":true,"schema":{"type":"integer"},"example":80}],"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":1800,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/places:us-weather-service/alerts":{"get":{"operationId":"places_us_weather_service_alerts","summary":"Active alerts","description":"Active watches, warnings and advisories.","tags":["places"],"parameters":[{"name":"area","in":"query","required":false,"description":"US state or marine area code","schema":{"type":"string","description":"US state or marine area code"},"example":"CA"},{"name":"severity","in":"query","required":false,"schema":{"type":"string","enum":["Extreme","Severe","Moderate","Minor","Unknown"]}}],"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":300,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"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"}}}}}}}