{"openapi":"3.1.0","info":{"title":"ipdata (BYOK) API","version":"0.1.0","description":"ipdata (BYOK) lets an AI assistant read your own ipdata data through the ipdata API with a key you supply (ipdata API key). Read-only: 4 tools (lookup_ip_location, get_ip_timezone, get_ip_network_owner, get_ip_threat). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.ipdata.co. Unofficial connector by Unify...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ipdata.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ipdata/docs"},"termsOfService":"https://connectorbay.com/byok-ipdata/terms"},"servers":[{"url":"https://byok-ipdata.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ipdata/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/lookup_ip_location":{"post":{"operationId":"lookup_ip_location","summary":"Get the geolocation of an IP address: city, region, country, continent, coordinates, postal code, calling code and EU fl","description":"Get the geolocation of an IP address: city, region, country, continent, coordinates, postal code, calling code and EU flag. Use for \"Where is the IP address 8.8.8.8 located\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'.","maxLength":45,"title":"Ip","type":"string"},"fields":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":"ip,is_eu,city,region,region_code,country_name,country_code,continent_name,latitude,longitude,postal,calling_code,emoji_flag","description":"Comma-separated field names to return; fixed to the location fields by default.","title":"Fields"}},"required":["ip"],"title":"lookup_ip_locationArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ip_timezone":{"post":{"operationId":"get_ip_timezone","summary":"Get the time zone of an IP address: name, abbreviation, UTC offset, daylight-saving flag and current local time. Use for","description":"Get the time zone of an IP address: name, abbreviation, UTC offset, daylight-saving flag and current local time. Use for \"What time zone is the IP address 3.3.3.3 in\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_timezoneArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ip_network_owner":{"post":{"operationId":"get_ip_network_owner","summary":"Get the autonomous system behind an IP address: AS number, organisation name, domain, route and usage type (hosting, isp","description":"Get the autonomous system behind an IP address: AS number, organisation name, domain, route and usage type (hosting, isp, business, edu, gov, mil, unknown). Use for \"Who owns the network of IP address 8.8.8.8\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_network_ownerArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ip_threat":{"post":{"operationId":"get_ip_threat","summary":"Get the threat flags of an IP address: commercial VPN exit, blocklists it appears on and a general threat flag. VPN dete","description":"Get the threat flags of an IP address: commercial VPN exit, blocklists it appears on and a general threat flag. VPN detection may need a paid plan. Use for \"Is the IP address 8.8.8.8 a known VPN or threat\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_threatArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}