TapCub is live — analytics, insights and live chat, free on one platform

Visitor intelligence API IP and Visitor Lookup API

One lookup combines IP geolocation and network type, user agent parsing, known-bot detection with official IP range checks, and AI assistant referrals such as ChatGPT and Perplexity.

POSThttps://api.pathclue.com/v1/visitor/identifyBeta
Request

Call it from your code

Set your key in the TAPCUB_API_KEY environment variable. Base URL: https://api.pathclue.com/v1.

terminal
curl -X POST https://api.pathclue.com/v1/visitor/identify \
  -H "Authorization: Bearer $TAPCUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip":"20.171.207.5","ua":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"}'
Parameters

Request parameters

Request parameters
ParameterTypeRequiredDefaultDescription
ipipYes—Visitor IPv4 or IPv6 address.
uastringNo—User-Agent header of the request.
referrerstringNo—Referer of the request (full URL or host).
pagestringNo—The page that was visited; used to tell internal navigation from referrals.
Response

Example response

Successful responses carry the X-Credits-Charged and X-Credits-Balance headers. Errors return {"error":{"code","message"}} and are never charged.

response.json
{
  "ip": "20.171.207.5",
  "ipVersion": 4,
  "reserved": false,
  "geo": {
    "country": "US",
    "countryName": "United States",
    "region": null,
    "city": null,
    "lat": null,
    "lon": null
  },
  "network": {
    "asn": 8075,
    "org": "Microsoft Corporation",
    "type": "hosting"
  },
  "ua": {
    "browser": null,
    "os": null,
    "device": "desktop"
  },
  "bot": {
    "id": "gptbot",
    "name": "GPTBot",
    "operator": "OpenAI",
    "purpose": "ai_training",
    "ai": true,
    "verification": "verified",
    "method": "official-ip-range",
    "range": "20.171.207.0/24",
    "rangesFetched": "2026-11-17"
  },
  "referrer": null,
  "sources": {
    "geo": "IP Geolocation by DB-IP (CC BY 4.0)"
  }
}
Price and limits

What it costs

What it costs
Price0.2 credits per call
In US dollarsabout $0.0002 · $0.20 / 1,000
CreditsFree or paid credits
Rate limitFree 10 / min · Plus 60 / min · Pro 300 / min
Free daily cap1,000 calls a day per key on free accounts
ChargedOnly on success — errors and timeouts are free
Use cases

What people build with it

Clean analytics

Label bots and data-center traffic before it reaches your reports.

Abuse signals

Flag sign-ups and checkouts from hosting networks or fake crawlers.

Localization

Pick language, currency or content by country.

FAQ

Frequently asked questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

Where does the location data come from?

IP geolocation comes from the DB-IP Lite database (CC BY 4.0), credited in the sources field of each response. Country and network are the most reliable; city is approximate.

Is the IP stored?

No. The IP, user agent and referrer are used to answer the request and are not stored. We log only the key, endpoint, status, duration and credits for billing.

How much does the IP and Visitor Lookup API cost?

Each successful call costs 0.2 credits per call (about $0.0002). 1 credit is about $0.001. Failed calls — invalid input, unreachable sites, timeouts or errors on our side — are not charged.

Can I try it for free?

Yes. New accounts get 300 credits and every account gets 30 free credits a day, and they work on this endpoint. You can also try the matching free tool on tapcub.com without a key.

What are the rate limits?

Free accounts can make 10 calls a minute and 1,000 a day per key; Plus allows 60 a minute and Pro 300. Over the limit you get HTTP 429 with a Retry-After header, and nothing is charged.

How do I get an API key?

Sign in to the TapCub console, verify your email and create a key on the Tools → API page. Keys start with tck_ and are shown once; send them in the Authorization: Bearer header.

Get your API key

Create a key in the console and make your first call in a minute. Light endpoints run on free daily credits.