Account
identity
account.identity
Read the identity behind the credential: user, organization and current scopes (needs an OAuth token with account.read).
Risk: read
user full type
user full type
org full type
org full type
credential full type
credential full type
Api Keys
create
apiKeys.create
Create an API key and return its secret once (needs an OAuth token with apikeys.manage).
Risk: write
apikeys.manage. The answer carries the new secret once; read it back later with apiKeys.reveal.
Output
list
apiKeys.list
List the organization’s API keys without their secrets (needs an OAuth token with apikeys.read).
Risk: read
keys full type
keys full type
reveal
apiKeys.reveal
Read back an existing API key’s secret (needs an OAuth token with apikeys.reveal).
Risk: destructive
revoke
apiKeys.revoke
Revoke an API key so it stops working; it stays listed with revoked_at (needs apikeys.manage).
Risk: destructive · Irreversible
rotate
apiKeys.rotate
Replace the secret behind an API key; the old secret stops working at once (needs apikeys.manage and apikeys.reveal).
Risk: destructive · Irreversible
Databases
checksum
databases.checksum
Read the MD5, SHA-1, SHA-256 and SHA-512 checksums of one published database file.
Risk: read
checksums full type
checksums full type
download
databases.download
Get a time-limited download link for one database version and format, or one build by name; the file itself is not fetched.
Risk: read
{ url }: the time-limited object-storage link the API redirects to. The redirect is not followed, so no file is downloaded; fetch url yourself. A database the organization holds no license for answers 403 NOT_LICENSED; a format a database is not built in answers 400 INVALID_FORMAT; a build older than 7 days answers 410 BUILD_GONE.
Output
downloads
databases.downloads
List the organization’s recent database download attempts, newest first, refusals included.
Risk: read
downloads full type
downloads full type
list
databases.list
List every database the organization can see with its license standing, versions and formats (needs a key with db.download).
Risk: read
standing (licensed, expired, unlicensed) and its versions. Pass a versions[].id (e.g. tor_ip_v1) to the other databases.* routes. Every organization holds a license to the Open databases (Tor, relay).
Output
databases full type
databases full type
metadata
databases.metadata
Read a database version’s last update, entry count and column schema without downloading it.
Risk: read
Entitlement
get
entitlement.get
Read the plan behind the key and the requests used against its quota in the current window.
Risk: read
free is named Unlimited) and the requests used against its quota between window_start and window_end.
Output
apikey full type
apikey full type
plan full type
plan full type
usage full type
usage full type
Ip
batch
ip.batch
Classify up to 1000 IP addresses in one call (a paid plan; a free key answers a batch of one); per-address failures come back in errors.
Risk: read
ips; each distinct string costs what one lookup costs. Both maps in the answer are keyed by the string as sent: results holds the answers, errors the strings that could not be answered (a non-address is a 400 there). Each answer is saved to lookups like a single lookup. The free plan answers a batch of one address and refuses anything larger with 402.
Output
results full type
results full type
errors full type
errors full type
lookup
ip.lookup
Check whether an IP address is a VPN, a Tor node or a privacy relay, with its country and ASN; omit ip for the caller’s own address.
Risk: read
ip and the service looks up the caller address. Only ip and is_vpn are always present. A keyless or free-plan answer usually also carries is_tor, is_relay, is_bogon, is_anycast, tor, relay, location, asn and hostname, and a paid plan or a trial adds the other is_* flags and their detail objects; any field the plan does not include is absent, so test for presence. A lookup with an explicit ip is saved to the lookups table under that address, replacing the previous row for it; a lookup without ip is returned but not saved, and a failed save does not fail the lookup. Anything but an IPv4 or IPv6 address in ip is refused before the request. userAgent adds a verdict on the visitor’s User-Agent and is never kept.
Output
vpn full type
vpn full type
hosting full type
hosting full type
tor full type
tor full type
relay full type
relay full type
cdn full type
cdn full type
bot full type
bot full type
resproxy full type
resproxy full type
dcproxy full type
dcproxy full type
mobproxy full type
mobproxy full type
pubproxy full type
pubproxy full type
carrier full type
carrier full type
satellite full type
satellite full type
ssh full type
ssh full type
smtp full type
smtp full type
web full type
web full type
dns_resolver full type
dns_resolver full type
bittorrent full type
bittorrent full type
location full type
location full type
asn full type
asn full type
company full type
company full type
abuse full type
abuse full type
user_agent full type
user_agent full type
Organization
get
organization.get
Read the credential’s organization (needs an OAuth token with org.read).
Risk: read
org full type
org full type
listMembers
organization.listMembers
List the organization’s members (needs an OAuth token with org.read).
Risk: read