Overview
An API exposing details of the treaties laid before Parliament.
Treaties API is an open data API from parliament.uk. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 6 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Open Data
- Version
- v1
- Endpoints
- 6
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-03
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /api/BusinessItem/{id} | Returns business item by ID. |
| GET | /api/GovernmentOrganisation | Returns all government organisations. |
| GET | /api/SeriesMembership | Returns all series memberships. |
| GET | /api/Treaty | Returns a list of treaties. |
| GET | /api/Treaty/{id} | Returns a treaty by ID. |
| GET | /api/Treaty/{id}/BusinessItems | Returns business items belonging to the treaty with ID. |
Questions
Does the Treaties API API need an API key?
No. The Treaties API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the Treaties API API support HTTPS?
Yes, the Treaties API API is served over HTTPS.
How many endpoints does the Treaties API API have?
Its OpenAPI description lists 6 endpoints in version v1. All of them are shown on this page.
What are alternatives to the Treaties API API?
Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.
Similar open data APIs
Compare alternatives →Search Services
Open DataAPI for Internet Archive's Search-related services
Wayback API
Open DataAPI for Internet Archive's Wayback Machine
Wikipedia
Open DataMediawiki Encyclopedia
Nasdaq Data Link
Open DataThe source for financial, economic, and alternative datasets, serving investment professionals.
University of Oslo
Open DataCourses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
Data API
Open DataServes the Clever Data API
Listed from APIs.guru (CC0).