plevin

Every address, answered in this tab

Location, network and abuse information for any IP address, out of one offline file. No API, no rate limit, no address leaving the browser.

98
fields per address
17.3 MB
the whole world
2M/s
warm lookups
daily
rebuilt from source

Two readers, one file

The same fields in Python and JavaScript, both reading the memory-mapped file with no service in between.

# pip install "plevin[db,full]"
import plevin

found = plevin.lookup("1.1.1.1")
found.place.city.name        # 'Brisbane'
found.network.operator.brand # 'Cloudflare'
found.abuse.risk             # 0.98 on a tor exit

Still want an API?

The same reader over the same file on a Cloudflare Worker. Identical JSON, no key, no rate limit, CORS open to every origin.

GET

      

    

Take the file, not the API

Every release is rehosted here with open CORS. Point open() at any of them.

Cut your own file

Keep only the fields you use and get a database that is only that, rebuilt in this tab. The size shown comes from a few counted facts, so it appears at once and needs no download. The 30 MB raw file is fetched only when you press Build, and kept in the browser cache.

Start from an example

Or choose fields

Fields that are computed from others, or share the same data, switch on by themselves. Every field shows a real answer.

FieldsNothing chosen yet
File size-
Terms-

The same from a terminal or your own code
# reads plevin.raw, writes the file named like the terms
import { slim } from "plevinjs/slim";
// raw is the bytes of plevin.raw; the result can be saved or opened as is
const small = ;

What a lookup is, and is not

Does the address I type leave the tab?

The lookup does not: the file is downloaded once and every answer is read out of it here. Three things do call out - api.ipify.org behind My address, cloudflare-dns.com and dns.google for the DNS card, and server.arcgisonline.com for the map tiles. The libraries ask none of those unless a dns flag says so.

What does a lookup return?

98 fields: city, region, country, coordinates, postal code and timezone; ASN, operator, announcement, RPKI state and abuse mailbox; and abuse records with an address risk and a network risk score.

Where does the data come from, and how often?

Rebuilt daily from MaxMind GeoLite2, IP2Location LITE, GeoNames, Natural Earth, a RIPE RIS RIB, RPKI ROAs, the NRO delegations, CAIDA, PeeringDB and 156 abuse feeds.

What can I type into the box?

Any IPv4 or IPv6 address, an ASN like AS13335, or a network name. A hostname is resolved over DNS first, then looked up like any other address.

How exact is the location?

City level at best, and every place carries its own confidence and radius in kilometres. An IP address names a network, not a person or a street, so treat the coordinates as the centre of an area.