Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: publicdata.au Backlog API
version: 2.55.49
summary: Australian government open data as dated versions that keep their content.
description: Every path is public, with no keys or accounts. Files have no download limit. The API allows 60 requests in 10 seconds from one address. Above that it answers 429 for 10 seconds with a `Retry-After` header, a `RateLimit-Policy` header and a JSON body that gives the limit. Every API answer carries the same `RateLimit-Policy`. A client should wait the `Retry-After` seconds, or read the files, which have no limit. Files under /v// keep their content and change only for the reasons in /terms/. Every JSON, NDJSON, GeoJSON, Parquet and SQLite file carries a publicdata provenance header. No government agency runs or has endorsed this site.
contact:
name: National Digital
url: https://nationaldigital.com.au/contact/
license:
name: Data under each publisher's licence, see backlog.json
url: https://publicdata.au/about/
servers:
- url: https://publicdata.au
tags:
- name: backlog
paths:
/backlog.json:
get:
tags:
- backlog
summary: Every register entry with status, licence and blocked reason
operationId: getBacklog
responses:
'200':
description: Register entries
content:
application/json:
schema:
type: object
properties:
entries:
type: array
items:
type: object
/api/v1/votes:
get:
tags:
- backlog
summary: Vote counts per backlog dataset
operationId: getVotes
responses:
'200':
description: slug to count
content:
application/json:
schema:
type: object
additionalProperties:
type: integer
/api/v1/votes/{slug}:
get:
tags:
- backlog
summary: Vote count for one dataset
operationId: getVote
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: The dataset's slug, as in its page URL `/d/<slug>/`.
responses:
'200':
description: Count
content:
application/json:
schema:
type: object
post:
tags:
- backlog
summary: Add one vote. No identity is recorded; one per browser per day
operationId: vote
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: The dataset's slug, as in its page URL `/d/<slug>/`.
responses:
'200':
description: New count
content:
application/json:
schema:
type: object
properties:
slug:
type: string
votes:
type: integer
'404':
description: 'Not open for votes: live, building or unknown'
'503':
description: Votes are not being counted at the moment
delete:
tags:
- backlog
summary: Remove today's vote from this browser
operationId: unvote
parameters:
- name: slug
in: path
required: true
schema:
type: string
description: The dataset's slug, as in its page URL `/d/<slug>/`.
responses:
'200':
description: New count
content:
application/json:
schema:
type: object
'503':
description: Votes are not being counted at the moment
/api/v1/catalogue:
get:
tags:
- backlog
summary: Search every dataset listed on Australia's government open-data portals
description: Words in q are matched against title, description and publisher, with plurals and other endings matched to their stem. Records that can take a vote come first. With ids, returns those records by id or vote key, and answers the id of a copy the catalogue dropped with the record that replaced it, naming each such pair in moved; with url, returns the record a portal URL names, or null. Each row's state is votable, chosen (planned in the register; its vote key is the register slug), served (it has a page here) or closed (no open licence or no file to read, with the reason).
operationId: searchCatalogue
parameters:
- name: q
in: query
schema:
type: string
- name: jur
in: query
schema:
type: string
enum:
- cth
- nsw
- vic
- qld
- wa
- sa
- tas
- act
- nt
- name: state
in: query
description: One or more of votable, chosen, served and closed, comma separated.
schema:
type: string
- name: ids
in: query
description: Up to 50 record ids or vote keys, comma separated.
schema:
type: string
- name: url
in: query
schema:
type: string
format: uri
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 50
default: 20
- name: offset
in: query
schema:
type: integer
minimum: 0
maximum: 5000
default: 0
responses:
'200':
description: Matching records, the total, the next offset and the date the catalogue was read
content:
application/json:
schema:
type: object
'400':
description: A parameter out of range
'429':
description: Over the fair-use limit for one address. Wait Retry-After seconds.
'503':
description: The catalogue index is not loaded yet, or the list of dropped copies could not be read
/api/v1/requests:
post:
tags:
- backlog
summary: Vote for a dataset by its portal URL.
description: status is voted (with the new count), served (with its page here), closed (with the reason it cannot take a vote) or not_found (with who to contact).
operationId: requestDataset
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- url
properties:
url:
type: string
format: uri
responses:
'200':
description: What the URL names and what happened
content:
application/json:
schema:
type: object
'400':
description: Not a URL
'429':
description: Over the fair-use limit for one address. Wait Retry-After seconds.
'503':
description: The catalogue index is not loaded yet, or votes are not being counted at the moment