{"openapi":"3.1.0","info":{"title":"IP2Location.io (BYOK) API","version":"0.1.0","description":"IP2Location.io (BYOK) lets an AI assistant read your own IP2Location.io data through the IP2Location.io API with a key you supply (IP2Location.io API key). Read-only: 5 tools (lookup_ip, get_ip_network_owner, get_ip_country_details, get_ip_time_zone, get_ip_security). 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...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ip2locationio.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ip2locationio/docs"},"termsOfService":"https://connectorbay.com/byok-ip2locationio/terms"},"servers":[{"url":"https://byok-ip2locationio.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ip2locationio/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":{"post":{"operationId":"lookup_ip","summary":"Look up an IP address: country, region, city, coordinates, ZIP code, time zone, ASN and AS name, and whether it is a pro","description":"Look up an IP address: country, region, city, coordinates, ZIP code, time zone, ASN and AS name, and whether it is a proxy. The free plan has a monthly query quota; richer fields need a paid plan and are simply absent otherwise. Use for \"Where is IP address 8.8.8.8 located and who owns it\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'. If left out the lookup uses the address the request comes from.","title":"Ip"}},"title":"lookup_ipArguments","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 network side of an IP address: ASN, AS name, ISP, domain, connection type, usage type and address type. ISP, dom","description":"Get the network side of an IP address: ASN, AS name, ISP, domain, connection type, usage type and address type. ISP, domain and usage type need a paid plan. Use for \"Which ISP and usage type does 8.8.8.8 belong to\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'. If left out the lookup uses the address the request comes from.","title":"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_country_details":{"post":{"operationId":"get_ip_country_details","summary":"Get country facts for an IP address: country name and codes, capital, population, currency, language, top-level domain a","description":"Get country facts for an IP address: country name and codes, capital, population, currency, language, top-level domain and calling code, plus the continent. Needs a Plus or Security plan. Use for \"What currency and language are used in the country of IP 8.8.8.8\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'. If left out the lookup uses the address the request comes from.","title":"Ip"},"lang":{"anyOf":[{"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"],"type":"string"},{"type":"null"}],"default":null,"description":"Language of translated names (ISO 639-1: ar cs da de en es et fi fr ga it ja ko ms nl pt ru sv tr vi zh-cn zh-tw). Needs a Plus or Security plan.","title":"Lang"}},"title":"get_ip_country_detailsArguments","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_time_zone":{"post":{"operationId":"get_ip_time_zone","summary":"Get the time zone of an IP address's location: UTC offset, Olson name, local time, DST status and sunrise and sunset. Th","description":"Get the time zone of an IP address's location: UTC offset, Olson name, local time, DST status and sunrise and sunset. The detailed time_zone_info object needs a Plus or Security plan. Use for \"What is the current local time where IP 8.8.8.8 is located\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'. If left out the lookup uses the address the request comes from.","title":"Ip"}},"title":"get_ip_time_zoneArguments","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_security":{"post":{"operationId":"get_ip_security","summary":"Check an IP address for proxy, VPN, Tor, data-center, crawler, spam, scanner and botnet use and read its fraud score (0 ","description":"Check an IP address for proxy, VPN, Tor, data-center, crawler, spam, scanner and botnet use and read its fraud score (0 to 99). Needs a Security plan. Use for \"Is IP 8.8.8.8 a VPN or data center address and what is its fraud score\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IPv4 or IPv6 address to look up, for example '8.8.8.8'. If left out the lookup uses the address the request comes from.","title":"Ip"}},"title":"get_ip_securityArguments","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}}}}