{"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:ip2location-geolocation/get":{"get":{"operationId":"places_ip2location_geolocation_get","summary":"Get geolocation information via IP address","description":"GET /","tags":["places"],"parameters":[{"name":"package","in":"query","required":false,"description":"Web service package of different granularity of return information.","schema":{"type":"string","enum":["WS1","WS2","WS3","WS4","WS5","WS6","WS7","WS8","WS9","WS10","WS11","WS12","WS13","WS14","WS15","WS16","WS17","WS18","WS19","WS20","WS21","WS22","WS23","WS24","WS25"],"description":"Web service package of different granularity of return information."}},{"name":"addon","in":"query","required":false,"description":"Extra information in addition to the above selected package.","schema":{"type":"array","description":"Extra information in addition to the above selected package."}},{"name":"ip","in":"query","required":true,"description":"IP address (IPv4 or IPv6) for reverse IP location lookup purpose. If not present, the server IP address will be used for the location…","schema":{"type":"string","description":"IP address (IPv4 or IPv6) for reverse IP location lookup purpose. If not present, the server IP address will be used for the location…"}},{"name":"format","in":"query","required":false,"description":"Format of the response message.","schema":{"type":"string","enum":["json","xml"],"description":"Format of the response message."}},{"name":"lang","in":"query","required":false,"description":"Translation information. The translation only applicable for continent, country, region and city name for the addon package.","schema":{"type":"string","enum":["ar","cs","da","de","en","es","et","fi","fr","ga","it","ja","ko","ms","nl","pt","ru","sv","tr","vi","zh-cn","zh-tw"],"description":"Translation information. The translation only applicable for continent, country, region and city name for the addon package."}},{"name":"key","in":"query","required":true,"description":"API Key. Please sign up free trial license key at ip2location.com","schema":{"type":"string","description":"API Key. Please sign up free trial license key at ip2location.com"}}],"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"}}}}}}}