{"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/cloud:azure-maps-geolocation/geolocation-get-ipto-location":{"get":{"operationId":"cloud_azure_maps_geolocation_geolocation_get_ipto_location","summary":"Use to get the ISO country/region code for a given IP address.","description":"GET /geolocation/ip/{format}","tags":["cloud"],"parameters":[{"name":"endpoint","in":"query","required":false,"description":"The Azure Maps service hostname. Use `https://atlas.microsoft.com` for the Azure public cloud. To target a specific Azure Maps geography…","schema":{"type":"string","default":"https://atlas.microsoft.com","description":"The Azure Maps service hostname. Use `https://atlas.microsoft.com` for the Azure public cloud. To target a specific Azure Maps geography…"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"1.0","description":"The API version to use for this operation."}},{"name":"x-ms-client-id","in":"query","required":false,"description":"Indicates the account intended for use with the Microsoft Entra ID security model. This unique ID for the Azure Maps account can be…","schema":{"type":"string","description":"Indicates the account intended for use with the Microsoft Entra ID security model. This unique ID for the Azure Maps account can be…"}},{"name":"format","in":"query","required":true,"description":"Desired format of the response. Only `json` format is supported.","schema":{"type":"string","enum":["json"],"default":"json","description":"Desired format of the response. Only `json` format is supported."}},{"name":"ip","in":"query","required":true,"description":"The IP address. Both IPv4 and IPv6 are allowed.","schema":{"type":"string","description":"The IP address. Both IPv4 and IPv6 are allowed."}}],"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"}}}}}}}