c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 6h ago
T

Treaties API

APIProfiled3/7PreviewSubscribe🇬🇧United Kingdom

This API provides access to details of treaties laid before the UK Parliament, maintained by UK Parliament. It exposes structured data on treaty records, including their status and progress through the parliamentary scrutiny process, allowing developers and researchers to programmatically track and analyse treaties formally presented to Parliament. Access is free and does not require authentication. It is part of a broader set of parliamentary data services published by UK Parliament covering legislative and procedural information at the national level for the United Kingdom.An API exposing details of the treaties laid before Parliament.

legislation
OpenAPI specAPI base URLVisit homepage
74
good

Weighted across five axes. Tap a ring for what it measures.

Data schema (55 fields)

Filterable via the API (11)
idSearchTextGovernmentOrganisationIdSeriesParliamentaryProcessDebateScheduledMotionsTabledAboutATreatyCommitteeRaisedConcernsHouseSkipTake
FieldTypeDescription
idFilterable via the APIstringUnique identifier of the business item.Business item with the ID specified
SearchTextFilterable via the APISearch textstringFree-text search term for filtering treaty records.Free-text search term for filtering treaty records.
GovernmentOrganisationIdFilterable via the APIGovernment organisation idinteger (int32)Identifier of the government organisation associated with the treaty.Identifier of the government organisation associated with the treaty.
SeriesFilterable via the APIstringName of the treaty series to filter by.Name of the treaty series to filter by.
ParliamentaryProcessFilterable via the APIParliamentary processstringParliamentary process type to filter treaties by.Parliamentary process type to filter treaties by.
DebateScheduledFilterable via the APIDebate scheduledbooleanWhether a debate has been scheduled for the treaty.Whether a debate has been scheduled for the treaty.
MotionsTabledAboutATreatyFilterable via the APIMotions tabled about atreatybooleanWhether motions have been tabled about the treaty.Whether motions have been tabled about the treaty.
CommitteeRaisedConcernsFilterable via the APICommittee raised concernsbooleanWhether a committee has raised concerns about the treaty.Whether a committee has raised concerns about the treaty.
HouseFilterable via the APIstringHouse of Parliament to filter results by.House of Parliament to filter results by.
SkipFilterable via the APIinteger (int32)Number of records to skip for pagination.Number of records to skip for pagination.
TakeFilterable via the APIinteger (int32)Maximum number of records to return.Maximum number of records to return.
treatyIdBusinessItemstringIdentifier of the treaty related to this business item.Identifier of the treaty related to this business item.
stepNameBusinessItemstringName of the procedural step for this business item.Name of the procedural step for this business item.
stepsBusinessItemarray<string>List of procedural steps associated with the business item.List of procedural steps associated with the business item.
itemDateBusinessItemstring (date-time)Date associated with the business item.Date associated with the business item.
housesBusinessItemarray<object>Houses of Parliament involved in the business item.Houses of Parliament involved in the business item.
linkBusinessItemstringURL link related to the business item.URL link related to the business item.
sequenceBusinessIteminteger (int32)Order sequence number of the business item.Order sequence number of the business item.
treatyUriBusinessItemstring (uri)URI of the related treaty resource.URI of the related treaty resource.
businessItemUriBusinessItemstring (uri)URI of the business item resource.URI of the business item resource.
houseUriBusinessItemstring (uri)URI of the associated house resource.URI of the associated house resource.
houseNameBusinessItemstringName of the House of Parliament involved.Name of the House of Parliament involved.
procedureStepUriBusinessItemstring (uri)URI of the associated procedure step resource.URI of the associated procedure step resource.
houseIdBusinessItemstringIdentifier of the House of Parliament.Identifier of the House of Parliament.
procedureStepIdBusinessItemstringIdentifier of the procedural step.Identifier of the procedural step.
workpackageProcedureUriBusinessItemstring (uri)URI of the related workpackage procedure resource.URI of the related workpackage procedure resource.
houseBusinessItemHouseobjectHouse of Parliament object associated with the business item.House of Parliament object associated with the business item.
nameBusinessItemHousestringName of the house.Name of the house.
valueBusinessItemResourceobjectMain resource content of the business item.Main resource content of the business item.
linksBusinessItemResourcearray<object>List of related hyperlinks for the resource.List of related hyperlinks for the resource.
itemsBusinessItemResourceCollectionarray<object>List of business item resources in the collection.List of business item resources in the collection.
totalResultsBusinessItemResourceCollectioninteger (int32)Total number of results available.Total number of results available.
itemsPerPageBusinessItemResourceCollectioninteger (int32)Number of items returned per page.Number of items returned per page.
descriptionSeriesMembershipstringDescription text for the series membership.Description text for the series membership.
uriTreatystring (uri)URI identifying the treaty resource.URI identifying the treaty resource.
commandPaperPrefixTreatystringPrefix code of the treaty's command paper.Prefix code of the treaty's command paper.
commandPaperNumberTreatyinteger (int32)Number of the treaty's command paper.Number of the treaty's command paper.
commonsLayingDateTreatystring (date-time)Date the treaty was laid before the House of Commons.Date the treaty was laid before the House of Commons.
lordsLayingDateTreatystring (date-time)Date the treaty was laid before the House of Lords.Date the treaty was laid before the House of Lords.
webLinkTreatystring (uri)URL to further information about the treaty.URL to further information about the treaty.
treatySeriesMembershipTreatyobjectDetails of the treaty's membership in a treaty series.Details of the treaty's membership in a treaty series.
leadDepartmentTreatyobjectGovernment department responsible for the treaty.Government department responsible for the treaty.
layingBodyDepartmentTreatyobjectDepartment that laid the treaty before Parliament.Department that laid the treaty before Parliament.
parliamentaryConclusionTreatyobjectOutcome of the treaty's parliamentary consideration.Outcome of the treaty's parliamentary consideration.
debateScheduledTreatystringIndicates whether a debate on the treaty is scheduled.Indicates whether a debate on the treaty is scheduled.
broughtToAttentionDateTreatystring (date-time)Date the treaty was brought to Parliament's attention.Date the treaty was brought to Parliament's attention.
signedDateTreatystring (date-time)Date the treaty was signed.Date the treaty was signed.
laidDateTreatystring (date-time)Date the treaty was laid before Parliament.Date the treaty was laid before Parliament.
pertinentDateTreatystring (date-time)Relevant date associated with the treaty's process.Relevant date associated with the treaty's process.
workpackageIdTreatystringIdentifier of the workpackage linked to the treaty.Identifier of the workpackage linked to the treaty.
seriesMembershipTypeTreatySeriesMembershipobjectType of treaty series membership.Type of treaty series membership.
citationTreatySeriesMembershipstringCitation reference for the treaty series membership.Citation reference for the treaty series membership.
relLinkstringRelationship type of the linked resource.Relationship type of the linked resource.
hrefLinkstringURL of the linked resource.URL of the linked resource.
methodLinkstringHTTP method used for the linked resource.HTTP method used for the linked resource.

Schema captured from openapi 23 days ago.

Verification Status

Using the API

Configuration

Base URL
https://treaties-api.parliament.uk
Version
v1
Format
openapi
Endpoints
6

Try the API

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.

Requests are proxied through our servers. Only GET endpoints are testable.

Endpoints (6)

/api6 endpoints
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.

Query examples

curl -s 'https://treaties-api.parliament.uk/swagger/v1/swagger.json' -H 'Accept: application/json'

Machine-readable API description (use it to generate clients).

Machine-readable & source

Treaties API — live verification badge

Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.