Data downloads and API

Everything on the site can be downloaded as CSV (for spreadsheets) or JSON, and the same endpoints form a free, read-only public API. Downloads from the leaderboard, records and party pages keep the filters you chose.

Data contains Parliamentary information licensed under the Open Government Licence v3.0, from Northern Ireland Assembly Open Data. Classifications are AI-generated assessments, not facts; please say so if you republish them, and link back to the record so readers can check the assessment.

Endpoints
EndpointDescription
/api/v1/leaderboard.csvCurrent-MLA leaderboard. Accepts the leaderboard filters and sort.
/api/v1/leaderboard.jsonThe same, as JSON, with the scope used.
/api/v1/records.csvEvery record matching the filters (up to 100,000 rows), with its classification.
/api/v1/records.jsonThe same, as JSON.
/api/v1/records/123.jsonOne record with its full assessment history and review history (replace 123 with a record number).
/api/v1/members.csvMLAs with membership and party periods.
/api/v1/members.jsonThe same, as JSON.
/api/v1/parties.csvParty comparison figures. Accepts the comparison filters.
/api/v1/parties.jsonThe same, as JSON.
/api/v1/divisions.csvEvery division with totals and result.
/api/v1/divisions.jsonThe same, as JSON.
/api/v1/votes.csvEvery individual vote. Add ?division=ID or ?mla=slug to narrow it.
/api/v1/votes.jsonThe same, as JSON.
/api/v1/rubric.jsonThe classification rubric: questions, options, thresholds and versions.
/api/v1/status.jsonProcessing coverage and the time of the last successful update.

Filters

Record, leaderboard and party endpoints accept these query parameters:

Responses can be used from other websites (they send Access-Control-Allow-Origin: *) and are cached for up to 10 minutes. Please be considerate with automated requests.