Mimso
Lookup Docs Status
Documentation

IP Lookup API

Location, network, residential proxy and abuse details for any IPv4 or IPv6 address, domain or range. JSON, PNG and plain text. No keys, no sign up.

Base URLipapi.yesitsblake.xyz
AuthNone
FormatsJSON, PNG, text
CORSOpen

Quick start

Send an address, a domain or nothing at all. With nothing, you get the caller's own address.

shell
curl "https://ipapi.yesitsblake.xyz/api/lookup?ip=1.1.1.1"
curl "https://ipapi.yesitsblake.xyz/api/lookup?host=bbc.co.uk"
curl "https://ipapi.yesitsblake.xyz/api/lookup"

For a shareable map image:

shell
curl -o map.png "https://ipapi.yesitsblake.xyz/api/lookup.png?ip=1.1.1.1"

IPs, domains and ranges

Every lookup endpoint takes the same parameters. Use one of them, or none to look up the caller.

ipstringAn IPv4 or IPv6 address, e.g. 1.1.1.1 or 2606:4700::1111. A domain also works here and is resolved for you.
hoststringA domain such as bbc.co.uk. It is resolved to its A and AAAA records, the first address is looked up, and every address is listed in host_addresses.
cidrstringA range such as 1.1.1.0/24. The first usable address is looked up and the range maths comes back in range.
formatstringjson (default), text for key=value lines, or csv for a header and one row. /api/lookup only.

Extra top-level fields depend on what you sent:

selfbooleanPresent and true when no target was given and the caller was looked up.
hoststringThe domain you asked for.
host_addressesarrayEvery address the domain resolved to, IPv4 first.
cidrstringThe range you asked for.
rangeobjectnetwork, broadcast, prefix, total_addresses, first_usable and last_usable.

Limits and caching

There are no keys and no hard rate limit, but results are cached on our side and you should cache them on yours too. IP data rarely changes minute to minute.

  • Location and network data is cached for up to 24 hours.
  • Residential proxy results are cached for 6 hours when something was found and 24 hours when nothing was.
  • Abuse data is cached for 12 to 72 hours depending on how much has been reported.
  • Map images are rendered once and cached.
CORS. Every endpoint sends Access-Control-Allow-Origin: *, so you can call it straight from the browser.

GET /api/lookup

GET/api/lookup?ip=<address> | ?host=<domain> | ?cidr=<range>

Returns the full report as JSON. Every successful response has the same top-level shape.

response.json
{
  "success": true,
  "query": "1.20.101.26",
  "hostname": null,
  "geo": { ... },
  "network": { ... },
  "security": { ... },
  "residential_proxy": {
    "verdict": "likely",
    "score": 100,
    "network": "residential",
    "signals": [ { "id": "rp_listed", "label": "Seen as a residential proxy exit", "points": 74 } ]
  },
  "connection": { ... },
  "contact": { ... },
  "meta": { "response_time_ms": 142 }
}

Text values that are not known come back as "N/A" or "Unknown" in geo, network and contact, and as null everywhere else.

geo

Where the address is, as best we can tell.

citystringCity name.
regionstringState, county or administrative region.
countrystringCountry name.
country_codestringISO 3166-1 alpha-2, e.g. GB.
continentstringContinent code, e.g. EU.
timezonestringIANA timezone, e.g. Europe/London.
coordinatesobject{ lat, lon }.
postal_codestringPostcode or postcode district, if known.
local_timestringCurrent local time at the address, ISO 8601.
is_eubooleanWhether the country is an EU member state.
accuracystringRough confidence in the coordinates, from VERY_LOW to VERY_HIGH. Anycast addresses are always VERY_LOW.

network

ASN, ISP and routing details. Organisation names prefer current regional registry records. The ISP runs the autonomous system and can differ from the organisation the range is registered to.

organizationstringOrganisation the range is registered to.
ispstringOperator of the autonomous system.
asnstringAutonomous system number, e.g. AS13335.
as_routestringAnnounced route prefix, e.g. 1.1.1.0/24.
as_descriptionstringAS description string.
rangestringFirst and last address in the registered range.
domainstringDomain associated with the organisation.
typestringRegistry allocation type, e.g. ASSIGNED PORTABLE.
rirstringRegional registry WHOIS server, e.g. whois.ripe.net.
network_namestringRegistry name for the range, e.g. UK-AA-20020403.
company_typestringKind of organisation, when known.
asn_typestringKind of network the ASN runs, when known.

security

Flags are true when the address matches, false when it was checked and does not, and null when nobody knows.

is_vpnbooleanKnown VPN exit.
is_proxybooleanOpen or commercial proxy.
is_torbooleanTor exit node.
is_residential_proxybooleantrue when the residential proxy verdict is likely. See residential_proxy for the score and reasons.
is_datacenterbooleanHosted in a datacentre or cloud.
is_mobilebooleanMobile carrier.
is_crawlerbooleanKnown bot or crawler.
is_abuserbooleanLinked to abusive traffic. true whenever abuse_confidence is 50 or more.
is_anycastbooleanAnycast address, so the location is a guess at best.
is_satellitebooleanSatellite provider.
is_bogonbooleanReserved or unroutable range.
abuse_confidencenumber0 to 100. How confident community reports are that this address is abusive, over the last 90 days.
abuse_reportsnumberNumber of abuse reports in the last 90 days.
abuse_reportersnumberDistinct reporters behind those reports.
abuse_last_reportedstringWhen it was last reported, ISO 8601.
usage_typestringe.g. Fixed Line ISP, Mobile ISP or Data Center/Web Hosting/Transit.
fraud_scorenumber0 to 100 general risk score, when available.
user_typestringe.g. residential, business or hosting.
connection_typestringe.g. broadband, cellular or datacenter.

residential_proxy

A residential proxy is a home or mobile connection relaying other people's traffic, usually through an app or SDK the owner installed. They are much harder to spot than datacentre proxies because the address looks like an ordinary customer. We combine direct sightings of proxy exits with proxy flags, and only count those flags when the address sits on a home or mobile network.

verdictstringlikely (score 60 or more), possible (25 to 59), unlikely (under 25) or unknown when detection is unavailable.
scorenumber0 to 100, or null when unknown.
networkstringresidential, mobile or hosting. Hosting addresses are capped at 15 because any proxy there is a datacentre proxy.
providerstringThe proxy network, when it can be named.
last_seenstringWhen the address was last seen relaying traffic.
signalsarrayThe reasons behind the score, each with an id, a human label and the points it added.
Checking your own connection? The lookup page can also compare your browser's timezone with the address and check whether WebRTC reveals a different public address. Those checks run in your browser and are not part of the API.

connection

Named operators, when the address belongs to a known service.

vpn_operatorstringVPN service name.
vpn_last_seenstringWhen the VPN exit was last seen, ISO 8601.
vpn_countrystringCountry the exit is actually in.
vpn_claimed_countrystringCountry the VPN advertises for it.
hosting_operatorstringDatacentre or cloud provider.
hosting_regionstringDatacentre region or city.
service_typestringKind of egress service, e.g. a relay.
service_operatorstringWho runs that service.
crawler_namestringName of the crawler, for known bots.

contact and meta

Abuse contacts come from the regional registry and can be empty when nothing is on file.

contact.abuse_emailstringWhere to send abuse reports.
contact.abuse_namestringName of the contact or team.
contact.abuse_addressstringPostal address.
contact.abuse_phonestringPhone number.
meta.response_time_msnumberServer-side response time.
meta.data_fetched_atstringWhen this response was put together, ISO 8601.
meta.versionstringAPI version.

Errors

Errors return success: false with a short message and a normal HTTP status.

400clientInvalid address, hostname or range, or a domain that does not resolve.
422image/api/lookup.png only. The address has no usable coordinates.
500serverSomething broke on our side. Try again shortly.
400.json
{ "success": false, "error": "Could not resolve nonexistent.example" }

GET /api/lookup.png

GET/api/lookup.png?ip=<address>&type=<style>

A 3200 by 2000 PNG with the address on a map, plus the IP, ISP, reverse DNS hostname and location written over it. Takes ip, host or cidr like every other endpoint.

typestringdark (default), light or satellite.
barebooleanSet to 1 for the map on its own, without the text or shading.
Preview for 1.1.1.1
Map card for 1.1.1.1
<img src="https://ipapi.yesitsblake.xyz/api/lookup.png?ip=1.1.1.1&type=dark" alt="Map">

Plain text fields

Single values as plain text, handy in shells and scripts. They take the same ip, host and cidr parameters, or default to the caller. Hitting the root with curl gives a short summary of your own address.

/ip /hostnametextAddress and reverse DNS name.
/city /region /countrytextPlace names.
/country_code /continenttextCodes.
/loc /timezone /postaltextlat,lon, IANA timezone and postcode.
/org /isp /asntextNetwork details.
shell
curl ipapi.yesitsblake.xyz
curl ipapi.yesitsblake.xyz/ip
curl ipapi.yesitsblake.xyz/country?ip=8.8.8.8
curl ipapi.yesitsblake.xyz/asn?host=cloudflare.com
curl "ipapi.yesitsblake.xyz/api/lookup?ip=1.1.1.1&format=csv"

GET /api/whois

GET/api/whois?q=<address or range>

The raw WHOIS record from the regional registry, as one string in whois.

response.json
{ "success": true, "query": "1.1.1.1", "whois": "% [whois.apnic.net] ..." }

GET /api/status

GET/api/status

The data behind the status page.

statusstringok, degraded or down.
uptime_msnumberTime since the last restart.
requestsobjecttotal, last_24h, last_1h, errors_total and errors_24h.
response_time_msobjectp50, p95 and p99 over recent requests.
componentsarrayEach part of the service with a name and a status of operational, degraded or down.
historyarrayOne entry per hour for the last 24 hours, with requests, errors and avg_ms.

Examples

curl "https://ipapi.yesitsblake.xyz/api/lookup?ip=8.8.8.8" | jq '.residential_proxy'
curl -o map.png "https://ipapi.yesitsblake.xyz/api/lookup.png?host=bbc.co.uk&type=satellite"

Changelog

28 Nov 2026
  • Residential proxy detection: a residential_proxy object with a verdict, a 0 to 100 score and the signals behind it.
  • Abuse data in security: abuse_confidence, abuse_reports, abuse_reporters, abuse_last_reported and usage_type.
  • Domain lookups: ?ip= now accepts a domain as well as ?host=.
  • bare=1 on /api/lookup.png for a map with no overlay.
  • /api/status now reports components and a 24 hour history. Redesigned lookup, docs and status pages.
28 Jun 2026
  • Plain text field endpoints such as /ip, /city and /asn.
  • format=text and format=csv on /api/lookup, a terminal summary at the root, and hostname in the JSON.
19 May 2026
  • Added /api/lookup.png with dark, light and satellite styles.
14 Dec 2025
  • First release of /api/lookup.
Copied