Metadata
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. Needs no license: it answers for every database list
returns, whatever its standing.
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
idrequiredstringResponses
200application/json
OK
idrequiredstringupdate_freqstringHow often a new build is published
updatedrequiredstring (date)entriesrequiredintegerRow count in the current build
schemarequiredobjectColumns, keyed by format
sampleobjectA few real rows, keyed by format
sizeobjectBytes per format
sample_sizeobjectBytes per format of the evaluation sample, where one is published
sample_entriesintegerRow count in the evaluation sample
TypeScript type
{
id: string;
update_freq?: string;
updated: string;
entries: number;
schema: Record<string, {
name: string;
type: string;
description?: string;
}[]>;
sample?: Record<string, Record<string, unknown>[]>;
size?: Record<string, number>;
sample_size?: Record<string, number>;
sample_entries?: number;
}401application/json
Missing or invalid key, or the key lacks the db.download scope
rcrequiredstringTypeScript type
{
rc: string;
}403application/json
The key was sent over plain HTTP (KEY_OVER_HTTP), refused whatever it is. By then it has crossed in the clear, so use https:// and replace a key that did
rcrequiredstringTypeScript type
{
rc: string;
}404application/json
No such database
rcrequiredstringTypeScript type
{
rc: string;
}503application/json
Today's copy has not been published yet
rcrequiredstringTypeScript type
{
rc: string;
}