{"openapi":"3.1.0","info":{"title":"IPGeolocation (BYOK) API","version":"0.1.0","description":"IPGeolocation (BYOK) lets an AI assistant read your own IPGeolocation data through the IPGeolocation API with a key you supply (API key). Read-only: 8 tools (lookup_ip, lookup_ip_security, lookup_asn, lookup_abuse_contact, get_timezone, convert_time, get_astronomy, get_astronomy_series). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached;...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-ipgeolocation.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-ipgeolocation/docs"},"termsOfService":"https://connectorbay.com/byok-ipgeolocation/terms"},"servers":[{"url":"https://byok-ipgeolocation.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-ipgeolocation/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 one IP address: location (country, region, city, coordinates), currency, network owner (ASN), time zone and the ","description":"Look up one IP address: location (country, region, city, coordinates), currency, network owner (ASN), time zone and the security flags the plan includes. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"Where is the IP address 8.8.8.8 located 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 8.8.8.8.","maxLength":45,"title":"Ip","type":"string"},"lang":{"anyOf":[{"maxLength":8,"type":"string"},{"type":"null"}],"default":null,"description":"Language of place names (default en); other languages need a paid plan.","title":"Lang"}},"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/lookup_ip_security":{"post":{"operationId":"lookup_ip_security","summary":"Get threat signals for one IP address: threat score, and whether it is a VPN, proxy, Tor exit, relay, known attacker, bo","description":"Get threat signals for one IP address: threat score, and whether it is a VPN, proxy, Tor exit, relay, known attacker, bot, spammer or cloud provider. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"Is the IP address 1.2.3.4 a VPN or proxy\".","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":"lookup_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}},"/v1/tools/lookup_asn":{"post":{"operationId":"lookup_asn","summary":"Look up the autonomous system (ASN) of an IP address or by AS number: organization, country, type, domain, registry and ","description":"Look up the autonomous system (ASN) of an IP address or by AS number: organization, country, type, domain, registry and allocation date. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"Which network owns the 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 (give this or asn).","title":"Ip"},"asn":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"AS number such as 'AS15169' or '15169' (give this or ip).","title":"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}},"/v1/tools/lookup_abuse_contact":{"post":{"operationId":"lookup_abuse_contact","summary":"Get the registry abuse contact of an IP address: responsible organization, role, emails, phone numbers and address. Each","description":"Get the registry abuse contact of an IP address: responsible organization, role, emails, phone numbers and address. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"Where do I report abuse from the 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":"lookup_abuse_contactArguments","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_timezone":{"post":{"operationId":"get_timezone","summary":"Get the current date, time and time zone details (offset, daylight saving) for a place: by IANA name, address, coordinat","description":"Get the current date, time and time zone details (offset, daylight saving) for a place: by IANA name, address, coordinates, airport code or IP address. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"What time is it in Tokyo\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tz":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"IANA time zone name, for example 'Asia/Tokyo'.","title":"Tz"},"location":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Address or place name, for example 'London, UK'.","title":"Location"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude, -90 to 90 (give together with long).","title":"Lat"},"long":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude, -180 to 180 (give together with lat).","title":"Long"},"iata_code":{"anyOf":[{"maxLength":3,"type":"string"},{"type":"null"}],"default":null,"description":"3-letter IATA airport code, for example 'LHR'.","title":"Iata Code"},"icao_code":{"anyOf":[{"maxLength":4,"type":"string"},{"type":"null"}],"default":null,"description":"4-letter ICAO airport code, for example 'EGLL'.","title":"Icao Code"},"ip":{"anyOf":[{"maxLength":45,"type":"string"},{"type":"null"}],"default":null,"description":"IP address to find the time zone of.","title":"Ip"}},"title":"get_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/convert_time":{"post":{"operationId":"convert_time","summary":"Convert a date and time from one time zone to another (IANA names) and show the hour and minute difference. Each call us","description":"Convert a date and time from one time zone to another (IANA names) and show the hour and minute difference. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"What is 9am in New York in Singapore time\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tz_from":{"description":"Source IANA time zone, for example 'America/New_York'.","maxLength":60,"title":"Tz From","type":"string"},"tz_to":{"description":"Destination IANA time zone, for example 'Asia/Singapore'.","maxLength":60,"title":"Tz To","type":"string"},"time":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Time to convert as 'yyyy-MM-dd HH:mm' or 'yyyy-MM-dd HH:mm:ss'; the current time if empty.","title":"Time"}},"required":["tz_from","tz_to"],"title":"convert_timeArguments","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_astronomy":{"post":{"operationId":"get_astronomy","summary":"Get sunrise, sunset, twilight, solar noon, day length, moon phase, moonrise and moonset for a place and date. Each call ","description":"Get sunrise, sunset, twilight, solar noon, day length, moon phase, moonrise and moonset for a place and date. Each call uses credits of your plan (the free plan has 1000 credits per day). Use for \"When are sunrise and sunset in Reykjavik on the summer solstice\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"location":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Address or place name, for example 'London, UK'.","title":"Location"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude, -90 to 90 (give together with long).","title":"Lat"},"long":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude, -180 to 180 (give together with lat).","title":"Long"},"date":{"anyOf":[{"maxLength":10,"type":"string"},{"type":"null"}],"default":null,"description":"Date, yyyy-MM-dd (today if empty).","title":"Date"},"time_zone":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"IANA time zone to express the times in.","title":"Time Zone"}},"title":"get_astronomyArguments","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_astronomy_series":{"post":{"operationId":"get_astronomy_series","summary":"Get daily sunrise, sunset, twilight, moon phase, moonrise and moonset for a place over a date range. Use for \"Show sunri","description":"Get daily sunrise, sunset, twilight, moon phase, moonrise and moonset for a place over a date range. Use for \"Show sunrise and sunset times in Oslo for the first week of June 2026\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"date_start":{"description":"First date, yyyy-MM-dd.","maxLength":10,"title":"Date Start","type":"string"},"date_end":{"description":"Last date, yyyy-MM-dd (the provider limits the span).","maxLength":10,"title":"Date End","type":"string"},"location":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Address or place name, for example 'London, UK'.","title":"Location"},"lat":{"anyOf":[{"maximum":90,"minimum":-90,"type":"number"},{"type":"null"}],"default":null,"description":"Latitude, -90 to 90 (give together with long).","title":"Lat"},"long":{"anyOf":[{"maximum":180,"minimum":-180,"type":"number"},{"type":"null"}],"default":null,"description":"Longitude, -180 to 180 (give together with lat).","title":"Long"},"time_zone":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"IANA time zone to express the times in.","title":"Time Zone"}},"required":["date_start","date_end"],"title":"get_astronomy_seriesArguments","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}}}}