BusinessMCP

Data API · 2 tools · REST and MCP

IP to company API

Resolve an IP address to the company, ISP, cloud or VPN behind it, from our own nightly IP graph rather than a resold feed.

Prepaid from $10 · No subscription · REST and MCP
GET /api/hub/v1/ip/{ip}
Live call · $0.04 per call, only when a result is found with a key
Example response{
  "ok": true,
  "data": {
    "ip": "17.253.144.10",
    "verdict": "company",
    "network_class": "business",
    "company": {
      "name": "Apple Inc.",
      "domain": "apple.com"
    },
    "name_hint": null,
    "confidence": 0.95,
    "country": "US",
    "asn": 714,
    "network": "17.0.0.0/8",
    "sources": [
      "bgp",
      "arin",
      "swip"
    ],
    "flags": {
      "hosting": false,
      "isp_or_mobile": false,
      "cdn_edge": false,
      "secure_egress": false,
      "sase_dedicated": false
    },
    "graph_version": "v20260926"
  },
  "meta": { "cost_usd": "$0.04", "request_id": "…" }
}

What it’s for

Questions this answers

Name a B2B visitor

Resolve the IP of an anonymous visitor to a company name and domain when the network belongs to one.

Filter bot, cloud and VPN traffic

traffic_classify with only an IP or ASN flags datacenter, VPN, Tor, relay, proxy-vendor, CDN-edge and secure-egress ranges for $0.01, without paying for a company name.

Know whether a login came through a corporate gateway

A secure-egress or own-network answer says the person sits behind an employer’s network; a mobile or ISP line says they do not.

Score a signup

Know whether a form was submitted from an office network, a home ISP line or a cloud server.

Call it

IP to company, from your code or your agent

The company, ISP, cloud or VPN behind an IP, and who a website visitor is when you add their user agent. ip_lookup on MCP, the same route over REST. Examples use the key from the BUSINESSMCP_API_KEY environment variable.

curl https://businessmcp.com/api/hub/v1/ip/17.253.144.10 \
  -H "Authorization: Bearer $BUSINESSMCP_API_KEY"
import requests

res = requests.get(
    "https://businessmcp.com/api/hub/v1/ip/17.253.144.10",
    headers={"Authorization": "Bearer $BUSINESSMCP_API_KEY"},
)
print(res.json())
const res = await fetch("https://businessmcp.com/api/hub/v1/ip/17.253.144.10", {
  headers: { Authorization: "Bearer $BUSINESSMCP_API_KEY" },
})
console.log(await res.json())
claude mcp add --transport http businessmcp https://businessmcp.com/api/hub/mcp \
  --header "Authorization: Bearer mcph_YOUR_KEY_HERE"

Endpoints

2 tools, each one question with one price

Each is a REST route and an MCP tool with the same name, input and price. The full response contract for each is on the reference page.

IP to company

The company, ISP, cloud or VPN behind an IP, and who a website visitor is when you add their user agent.

$0.04 per call, only when a result is found

GET/api/hub/v1/ip/{ip}

  • ipstringOptional · max 45 chars
  • ipsstring[]Optional · 1–100 items
  • user_agentstringOptional · max 1,000 chars — The request User-Agent. Bots, crawlers and AI agents are reported and never named as a company.
  • timezonestringOptional · max 64 chars — The browser IANA time zone (Intl.DateTimeFormat().resolvedOptions().timeZone); corroborates the IP country.
  • connectionstringOptional · max 24 chars — navigator.connection type, e.g. "cellular/4g": a handset is never an office.
  • email_domainstringOptional · max 253 chars — The domain of a business email the visitor gave you with consent. Names the company directly; free-mail domains are ignored.

Example request

curl https://businessmcp.com/api/hub/v1/ip/17.253.144.10 \
  -H "Authorization: Bearer $BUSINESSMCP_API_KEY"

MCP name ip_lookupFull reference and response

IP geolocation

Country, region, city and coordinates of an IP address, plus a Tor flag. One or up to 100 per call.

$0.001 per call, only when a result is found

GET/api/hub/v1/geo/{ip}

  • ipstringOptional · max 45 chars
  • ipsstring[]Optional · 1–100 items

Example request

curl https://businessmcp.com/api/hub/v1/geo/81.2.69.142 \
  -H "Authorization: Bearer $BUSINESSMCP_API_KEY"

MCP name ip_geoFull reference and response

What it does not do

  • Most people now browse from home ISP and mobile lines, which name no company. Those return non_business or unidentified, and that is the correct answer rather than a miss.
  • Secure-egress and SASE ranges are flagged, not attributed: the address belongs to that vendor’s customers, so we decline to name one.
  • Trust company.domain only when the verdict is company. We do not publish a match rate here, because it depends entirely on whose traffic you send.
  • The graph is rebuilt nightly, so a range that changed hands today can be a day behind.
  • The network classification reports the registration country of the network, never the user’s location, and cannot see a residential proxy running on an ordinary consumer line.
  • ip_geo is DB-IP Lite City, refreshed monthly: city-level location is approximate (the coordinates are a city centre, never a street address) and carries no postal code or timezone.

Frequently asked questions

How accurate is an IP to company API on real website traffic?

It depends on whose traffic you send. Office networks resolve well; home broadband and mobile lines, which carry most browsing today, name no company at all. Any vendor that names a company for nearly every IP is naming the ISP or guessing. Test on a sample of your own logs and count the answers you would actually act on.

What does the verdict field mean?

company means the evidence says the network is that company’s own, and only then is company.domain set. non_business covers ISPs, mobile carriers, cloud hosts and VPNs. unidentified means we could not tell. Treat anything other than company as unknown rather than as a lead.

Where does the IP data come from?

From an IP graph we build every night from public registry, routing and DNS data, plus confirmations from our own product. It is not a resold feed, so there is no third party in the path of your lookups.

What is the difference between ip_lookup and traffic_classify?

ip_lookup names the company when the network is its own and charges only then, and with a user agent it identifies a website visitor in the same call. traffic_classify with only an IP or ASN answers a cheaper question for every address: what kind of network it is (datacenter, VPN or Tor, CDN edge, ISP or mobile line, research backbone, a corporate gateway) and names the operator only when it cannot be the visitor, such as an ISP, a hoster or a security vendor. It also accepts an ASN.

Can I resolve IPs in bulk?

Yes. Pass ips (up to 100) to ip_lookup instead of ip, or POST them to /api/hub/v1/ip/bulk; each comes back with the same fields as a single lookup.

IP geolocation API vs IP to company: which do I need?

An IP geolocation API answers where: a country, region or city for the address, usually with the ASN and a hosting flag, for every IP you send. An IP to company API answers who: the organisation whose own network the address belongs to, which is a real answer only for a minority of traffic. If you need to localise content or block a region, use a geolocation API: ip_geo returns country, region, city and approximate coordinates from DB-IP Lite at $0.001 per located address. If you need to know which business is on your site, use ip_lookup and treat anything other than a company verdict as unknown.

Is IP to company lookup GDPR compliant?

Naming the organisation that operates a network is business information. We never identify a person from an IP, and IPs from consumer lines return no company. How you use the result on your own site is still your responsibility.

Try it on your own data

The same key reaches every Data API tool. See the full price list before you spend a cent.

Prepaid from $10 · No subscription