{"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:ip2proxy/get":{"get":{"operationId":"places_ip2proxy_get","summary":"Check if an IP address is proxy","description":"GET /","tags":["places"],"parameters":[{"name":"package","in":"query","required":false,"description":"Package name from PX1 to PX11. If not present, the web service will assume the PX1 package query.","schema":{"type":"string","description":"Package name from PX1 to PX11. If not present, the web service will assume the PX1 package query."}},{"name":"ip","in":"query","required":true,"description":"IP address (IPv4) for lookup purpose. If not present, the server IP address will be used for the lookup.","schema":{"type":"string","description":"IP address (IPv4) for lookup purpose. If not present, the server IP address will be used for the lookup."}},{"name":"format","in":"query","required":false,"description":"If not present, json format will be returned as the search result.","schema":{"type":"string","enum":["json","xml"],"description":"If not present, json format will be returned as the search result."}},{"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"}}}}}}}