Database
Download
Returns the requested database file as a binary download.
The response's Content-Type depends on format:
application/gzip for csvgz, application/octet-stream for mmdb.
Authorization
ApiKeyAuth apikey<token>
UUID-format API key issued to the customer. Each key is authorized for a specific set of database ids; requesting any other id returns 403.
v1 only. The v2 endpoints take a console-issued key as a bearer token.
In: query
Query Parameters
id*string
Database identifier (e.g. vpn_ip_v1, resproxy_provider_v1).
Match
^[a-zA-Z0-9_]+$format*string
Database file format.
Value in
"csvgz" | "mmdb"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://internetdata.io/api/v1/database/download?id=vpn_ip_v1&format=mmdb""string"{
"rc": "INVALID_FORMAT"
}{
"rc": "INVALID_APIKEY"
}{
"rc": "UNAUTHORIZED_ID"
}{
"rc": "DB_NOT_FOUND"
}