Skip to main content
Use IP2WHOIS through Corsair: one client, typed API calls, local DB sync. Each lookup counts against the plan’s monthly quota (the IP2Location.io free plan includes 500 WHOIS lookups a month). Keys come from ip2location.io. The client always sends format=json. An empty key comes back as HTTP 401 with error code 10001. What you get:
  • 2 typed API operations
  • 2 synced entities (domains, hostedDomains) for fast .search() / .list()

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

Look up WHOIS for a domain
Write No write-style endpoint inferred; pick any operation from the API reference. See the full list on the API page.

Query synced data

Synced entities support tenant.ip2whois.db.<entity>.search() and .list(): domains, hostedDomains. See Database for filters and operators.

What’s next

API reference

Every ip2whois.api.* operation with input and output types.

Database

Synced entities, search filters, and operators.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.