POST /api/browserleaks/ips
Price: 1 credit
Look up an IP address or domain — geolocation, ISP and ASN, network usage flags, Tor relay identification and the registry whois record
Use this to judge what kind of network an address belongs to, not merely where it is — the usage classification and the routing-registry flags separate hosting and VPN ranges from residential ones. A domain name is accepted and resolved, so pass one directly. The allocation record is not a strict either/or between `registry` and `whois` — both are populated together on most addresses, one alone on the rest, and rarely neither — so read whichever is populated instead of reading an empty one as a failure. Reserved and private ranges carry an RFC assignment and no geolocation at all.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)address string required — IPv4 address, IPv6 address or domain name to look up. A domain is resolved first and the report describes its primary address (examples: "8.8.8.8", "2606:4700:4700::1111", "example.com"; minLength: 1)@type string (default: "BrowserleaksIp")ip string requireddomain string nullablehostname string nullableadditional_ips array (default: [])country string nullablecountry_code string nullableregion string nullablecity string nullableisp string nullableorganization string nullableasn integer nullableasn_name string nullablenetwork_tags array (default: [])@type string (default: "BrowserleaksNetworkTag")code string requireddescription string nullableusage_type string nullabletimezone string nullabletimezone_abbreviation string nullableutc_offset string nullablelatitude number nullablelongitude number nullableassignment string nullableassignment_rfc string nullableaddress_block string nullablenet_range string nullabletor_relays array (default: [])@type string (default: "BrowserleaksTorRelay")fingerprint string requirednickname string nullableis_running boolean nullableor_addresses array (default: [])exit_addresses array (default: [])flags array (default: [])exit_policy array (default: [])first_seen_at integer nullablelast_seen_at integer nullablelast_restarted_at integer nullablebandwidth_mbps number nullablecontact string nullableplatform string nullableversion_status string nullableregistry object nullable@type string (default: "BrowserleaksIpRegistry")source string nullableid string nullablename string nullableallocation_type string nullablecountry string nullableip_version string nullablestart_address string nullableend_address string nullablecidr array (default: [])parent_id string nullablestatus array (default: [])registered_at integer nullableupdated_at integer nullableremarks array (default: [])contacts array (default: [])@type string (default: "BrowserleaksRegistryContact")id string nullablename string nullableorganization string nullablekind string nullableroles array (default: [])email string nullablephone string nullableaddress string nullableremarks array (default: [])whois array (default: [])@type string (default: "BrowserleaksWhoisEntry")name string requiredvalue string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — browserleaks.com does not recognise this address Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.