Skip to content
VPNDetection

Checksums

get/api/v1/database/checksum

Checksums for one published file, so a download can be verified after it lands.

Authorization

apiKeyQueryapikey in query

?apikey=<key>. Convenient in a browser; prefer a header elsewhere.

apiKeyHeaderX-Api-Key in header

X-Api-Key: <key>.

bearerAuthbearer token

Authorization: Bearer <key>.

Query parameters

idrequiredstring
formatrequired"csvgz" | "mmdb"

A file format a database version is published in.

Responses

200application/json

OK

idrequiredstring
formatrequiredstring
checksumsrequiredobject

The published digests for one database file.

md5requiredstring
sha1requiredstring
sha256requiredstring
sha512requiredstring
TypeScript type
ts
{
  id: string;
  format: string;
  checksums: {
    md5: string;
    sha1: string;
    sha256: string;
    sha512: string;
  };
}
400application/json

The database is not built in the requested format

rcrequiredstring
TypeScript type
ts
{
  rc: string;
}
401application/json

Missing or invalid key, or the key lacks the db.download scope

rcrequiredstring
TypeScript type
ts
{
  rc: string;
}
403application/json

Your organization holds no license for this database, or its term has ended (NOT_LICENSED); or the key was sent over plain HTTP (KEY_OVER_HTTP), so use https://

rcrequiredstring
TypeScript type
ts
{
  rc: string;
}
404application/json

No such database

rcrequiredstring
TypeScript type
ts
{
  rc: string;
}
503application/json

Today's copy has not been published yet

rcrequiredstring
TypeScript type
ts
{
  rc: string;
}