{"openapi":"3.1.0","info":{"title":"ipapi.is (BYOK) API","version":"0.1.0","description":"ipapi.is (BYOK) lets an AI assistant read your own ipapi.is data through the ipapi.is API with a key you supply (ipapi.is API key). Read-only: 7 tools (lookup_ip, check_ip_risk, get_ip_owner, get_ip_location, get_ip_asn, get_ip_hosting, lookup_asn). 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.ipapi.is....\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ipapiis.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ipapiis/docs"},"termsOfService":"https://connectorbay.com/byok-ipapiis/terms"},"servers":[{"url":"https://byok-ipapiis.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ipapiis/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: owner, ASN, location and the main detection flags (datacenter, VPN, proxy, Tor, abuser, mobile, s","description":"Look up an IP address: owner, ASN, location and the main detection flags (datacenter, VPN, proxy, Tor, abuser, mobile, satellite, anycast, crawler). Use for \"Is IP address 32.43.11.44 a VPN or datacenter address and who owns it\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["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/check_ip_risk":{"post":{"operationId":"check_ip_risk","summary":"Check an IP address for risk signals only: Tor, open proxy, VPN with provider name, datacenter, abuser flag and the netw","description":"Check an IP address for risk signals only: Tor, open proxy, VPN with provider name, datacenter, abuser flag and the network's abuser score. Use for \"Is IP address 187.13.12.227 flagged as abusive, a proxy, Tor or a VPN\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"check_ip_riskArguments","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_owner":{"post":{"operationId":"get_ip_owner","summary":"Get the organization an IP address is registered to: name, domain, type, network range, abuse contact and the registry. ","description":"Get the organization an IP address is registered to: name, domain, type, network range, abuse contact and the registry. Use for \"Which organization owns IP address 107.174.138.130 and where do I report abuse\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_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_location":{"post":{"operationId":"get_ip_location","summary":"Get the location of an IP address: country, state, city, postal code, coordinates, time zone, currency and accuracy. Use","description":"Get the location of an IP address: country, state, city, postal code, coordinates, time zone, currency and accuracy. Use for \"Where is IP address 107.174.138.130 located\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_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_asn":{"post":{"operationId":"get_ip_asn","summary":"Get the autonomous system that announces an IP address: AS number, organization, route, type, country, abuser score and ","description":"Get the autonomous system that announces an IP address: AS number, organization, route, type, country, abuser score and registry. Use for \"Which autonomous system announces 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 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_asnArguments","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_hosting":{"post":{"operationId":"get_ip_hosting","summary":"Get the hosting provider, VPN service and managed egress service behind an IP address, when there is one. Use for \"Which","description":"Get the hosting provider, VPN service and managed egress service behind an IP address, when there is one. Use for \"Which hosting provider or VPN service is behind IP address 3.5.140.2\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 or IPv6 address to look up, for example 32.43.11.44.","maxLength":45,"title":"Ip","type":"string"}},"required":["ip"],"title":"get_ip_hostingArguments","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/lookup_asn":{"post":{"operationId":"lookup_asn","summary":"Look up an autonomous system by AS number: organization, type, country, abuser score, registry and announced IPv4 and IP","description":"Look up an autonomous system by AS number: organization, type, country, abuser score, registry and announced IPv4 and IPv6 prefixes. Use for \"Who runs AS15169 and how many prefixes does it announce\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"asn":{"description":"Autonomous system number with the AS prefix, for example AS15169.","maxLength":12,"title":"Asn","type":"string"}},"required":["asn"],"title":"lookup_asnArguments","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}}}}