{"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/places:opencagedata/get-v-version-format":{"get":{"operationId":"places_opencagedata_get_v_version_format","summary":"geocode a query","description":"GET /v{version}/{format}","tags":["places"],"parameters":[{"name":"version","in":"query","required":true,"description":"API version.","schema":{"type":"integer","description":"API version."}},{"name":"format","in":"query","required":true,"description":"format of the response. One of 'json', 'xml' or 'map'.","schema":{"type":"string","description":"format of the response. One of 'json', 'xml' or 'map'."}},{"name":"q","in":"query","required":true,"description":"string or lat,lng to be geocoded.","schema":{"type":"string","description":"string or lat,lng to be geocoded."}},{"name":"key","in":"query","required":true,"description":"an application key.","schema":{"type":"string","description":"an application key."}},{"name":"abbrv","in":"query","required":false,"description":"when true we attempt to abbreviate the formatted field of results.","schema":{"type":"boolean","description":"when true we attempt to abbreviate the formatted field of results."}},{"name":"address_only","in":"query","required":false,"description":"when true we include only address details in the formatted field of results.","schema":{"type":"boolean","description":"when true we include only address details in the formatted field of results."}},{"name":"add_request","in":"query","required":false,"description":"if true the request is included in the response.","schema":{"type":"boolean","description":"if true the request is included in the response."}},{"name":"bounds","in":"query","required":false,"description":"four coordinate points forming the south-west and north-east corners of a bounding box (min long, min lat, max long, max lat).","schema":{"type":"string","description":"four coordinate points forming the south-west and north-east corners of a bounding box (min long, min lat, max long, max lat)."}},{"name":"countrycode","in":"query","required":false,"description":"two letter code ISO 3166-1 Alpha 2 code to limit results to that country.","schema":{"type":"string","description":"two letter code ISO 3166-1 Alpha 2 code to limit results to that country."}},{"name":"jsonp","in":"query","required":false,"description":"wraps the returned JSON with a function name.","schema":{"type":"string","description":"wraps the returned JSON with a function name."}},{"name":"language","in":"query","required":false,"description":"an IETF format language code (ex: 'es' or 'pt-BR').","schema":{"type":"string","description":"an IETF format language code (ex: 'es' or 'pt-BR')."}},{"name":"limit","in":"query","required":false,"description":"maximum number of results to return. Default is 10. Maximum is 100.","schema":{"type":"integer","description":"maximum number of results to return. Default is 10. Maximum is 100."}},{"name":"min_confidence","in":"query","required":false,"description":"integer from 1-10. Only results with at least this confidence are returned.","schema":{"type":"integer","description":"integer from 1-10. Only results with at least this confidence are returned."}},{"name":"no_annotations","in":"query","required":false,"description":"when true annotations are not added to results.","schema":{"type":"boolean","description":"when true annotations are not added to results."}},{"name":"no_dedupe","in":"query","required":false,"description":"when true results are not deduplicated.","schema":{"type":"boolean","description":"when true results are not deduplicated."}},{"name":"no_record","in":"query","required":false,"description":"when true query content is not logged.","schema":{"type":"boolean","description":"when true query content is not logged."}},{"name":"pretty","in":"query","required":false,"description":"when true results are pretty printed. Useful for debugging.","schema":{"type":"boolean","description":"when true results are pretty printed. Useful for debugging."}},{"name":"proximity","in":"query","required":false,"description":"lat,lng to bias results.","schema":{"type":"string","description":"lat,lng to bias results."}},{"name":"roadinfo","in":"query","required":false,"description":"match nearest road, include roadinfo annotation","schema":{"type":"boolean","description":"match nearest road, include roadinfo annotation"}}],"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":"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"}}}}}}}