Checksums
Returns MD5, SHA-1, SHA-256, and SHA-512 checksums for the currently published version of the requested database.
Authorization
ApiKeyAuth 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
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/v1/database/checksum?id=vpn_ip_v1&format=mmdb"{
"rc": "SUCCESS",
"data": {
"md5": "string",
"sha1": "string",
"sha256": "string",
"sha512": "string"
}
}{
"rc": "INVALID_FORMAT"
}{
"rc": "INVALID_APIKEY"
}{
"rc": "UNAUTHORIZED_ID"
}{
"rc": "DB_NOT_FOUND"
}Download GET
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`.
Metadata GET
Returns publish freshness information for the currently published version of the requested database: when it was last updated, how many entries the dataset contains, and the size of each output format in bytes.