Billing

Resolve client IPs to country/region/network operator

Admin-only endpoint that resolves up to 50 comma-separated IPs (e.g. from the recent-ips table above) to their country, region, city, and network operator (ISP/org/ASN) via a free third-party geolocation lookup. Private/reserved/invalid IPs and lookups the upstream can't resolve are silently omitted from the result rather than erroring -- this only ever annotates a table, it is never authoritative for billing, rate limiting, or anti-bot decisions.

get/admin/billing/ip-lookup

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/ip-lookup
  • Auth: API key in header x-api-key

Query parameters

ipsstring required

Comma-separated IP addresses to resolve, up to 50

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Resolved IPs

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "items": [
      {
        "asn": 15169,
        "city": "Mountain View",
        "country": "United States",
        "country_code": "US",
        "ip": "8.8.8.8",
        "isp": "Google LLC",
        "org": "Google LLC",
        "region": "California"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.