One record of a records dataset
/v1/records/{slug}/{record_key}10¢ per callOne record by its key.
One route for every dataset of this kind: the slug picks the dataset, and its fields, caveats and an example call are at /v1/datasets/{slug}.
Price: the dataset's tier, basic 3¢, standard 5¢, premium 10¢ per call (price_cents in /v1/datasets/{slug}).
Authorization
Request
The only values you send. Fields under Responses below are what comes back — you never pass those.
Path parameters
slugstringrequiredDataset slug, from `/v1/datasets` (filter by `kind` and `level`) or the endpoint search. A slug this route does not serve is a 404 and is not billed.
Required — set a value before sending.
record_keystringrequiredThe record's key (the dataset's key field, see `/v1/datasets/{slug}`).
Required — set a value before sending.
Query parameters
fieldsstringoptionalComma-separated field slugs (listed at `/v1/datasets/{slug}`). Omit for all.
Responses
Successful Response
datasetstringalways returnedDataset slug.
as_ofstring · datealways returnedDate the dataset is current to.
recordobjectalways returned/v1/records/{slug}/{record_key}slug, record_key — set them on the left to send.curl --request GET \
--url 'https://api.microburbs.com.au/v1/records/{slug}/{record_key}' \
--header 'Authorization: Bearer test'{}