Download
Answers 302; the bytes come straight from object storage rather than
through this API. Follow the redirect.
?apikey=<key>. Convenient in a browser or a curl one-liner, which is
how a database is usually fetched; prefer a header elsewhere.
This is the same v2 key as the other two schemes. A v1 credential is a different vocabulary and fails validation here, as it would anywhere.
In: query
Query Parameters
Database identifier (e.g. vpn_ip_v1, resproxy_provider_v1).
^[a-zA-Z0-9_]+$Database file format.
"csvgz" | "mmdb"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://internetdata.io/api/v2/database/download?id=vpn_ip_v1&format=mmdb"{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}{
"rc": "string"
}List GET
The whole published catalog, with your organization's licence beside each entry, so `standing` says whether a database is yours today (`licensed`), was (`expired`), or has never been bought (`unlicensed`).
Metadata GET
Poll this to decide whether today's build is worth fetching: it carries `updated` and `entries` without downloading anything. No `format` parameter - one document describes every format the database is built in.