c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 61m ago
E

Erskine May API

APIProfiled3/7PreviewSubscribe🇬🇧United Kingdom

This API provides programmatic access to Erskine May, the authoritative treatise on UK parliamentary practice and procedure, published by UK Parliament. It allows users to query the text and structure of the work, which is used as a reference guide for the rules and conventions governing proceedings in the House of Commons. Free and requiring no authentication, the API is accessible via the UK Parliament website and is intended for developers and researchers seeking structured access to parliamentary procedural material.An API that allows querying of Erskine May data.

legislation
Run verified requestOpenAPI specAPI base URLVisit homepage
74
good

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

Data schema (43 fields)

Filterable via the API (10)
chapterNumberstartLetterskiptakeindexTermIdpartNumbersearchTermreferencesectionIdstep
FieldTypeDescription
chapterNumberFilterable via the APIChapter numberinteger (int32)Chapter number used to retrieve its overview.Chapter overview with the chapter number specified
startLetterFilterable via the APIStart letterstringFilters index terms by their starting letter.Index terms by start letter
skipFilterable via the APIinteger (int32)Number of records to skip from the start, default 0.The number of records to skip from the first, default is 0.
takeFilterable via the APIinteger (int32)Number of records to return, default 20, maximum 20.The number of records to return, default is 20, maximum is 20.
indexTermIdFilterable via the APIIndex term idinteger (int32)Identifier used to look up a specific index term.Index term by if
partNumberFilterable via the APIPart numberinteger (int32)Part number used to retrieve a specific part.Part by part number
searchTermFilterable via the APISearch termstringText used to filter index terms containing this term.Index terms which contain search term.
referenceFilterable via the APIstringReference code used to look up a section overview.Section overview by reference.
sectionIdFilterable via the APISection idinteger (int32)Identifier used to retrieve a specific section.Section by id.
stepFilterable via the APIinteger (int32)Number of sections to move forward or back from a given section.Number of sections to step over from given section.
numberErskineMayChapterOverviewinteger (int32)Chapter number within the Erskine May text.Chapter number within the Erskine May text.
titleErskineMayChapterOverviewstringTitle of the chapter.Title of the chapter.
descriptionErskineMayChapterOverviewstringShort description or overview of the chapter.Short description or overview of the chapter.
sectionsErskineMayChapterOverviewarray<object>List of sections belonging to the chapter.List of sections belonging to the chapter.
contentErskineMayFootnotestringText content of the footnote.Text content of the footnote.
idErskineMayIndexTerminteger (int32)Unique identifier of the index term.Unique identifier of the index term.
termErskineMayIndexTermstringThe indexed term text.The indexed term text.
displayAsErskineMayIndexTermstringText used to display the index term.Text used to display the index term.
seeLinksErskineMayIndexTermarray<object>List of cross-reference links from this index term.List of cross-reference links from this index term.
referencesErskineMayIndexTermarray<object>List of references associated with the index term.List of references associated with the index term.
parentTermErskineMayIndexTermobjectThe parent index term, if this term is nested.The parent index term, if this term is nested.
childTermsErskineMayIndexTermarray<object>List of child index terms nested under this term.List of child index terms nested under this term.
seeValueErskineMayIndexTermSearchResultstringDisplayed value for a cross-reference search result.Displayed value for a cross-reference search result.
totalResultsErskineMayIndexTermSearchResultErskineMaySearchinteger (int32)Total number of matching search results.Total number of matching search results.
searchResultsErskineMayIndexTermSearchResultErskineMaySearcharray<object>List of index term search result items.List of index term search result items.
searchTermsErskineMayIndexTermSearchResultErskineMaySearcharray<string>List of search terms used or matched in the query.List of search terms used or matched in the query.
suggestedSearchErskineMayIndexTermSearchResultErskineMaySearchstringSuggested alternative search term.Suggested alternative search term.
seeTypeErskineMayIndexTermSeeLinkstringType of cross-reference indicated by the see link.Type of cross-reference indicated by the see link.
paragraphReferenceErskineMayParagraphSearchResultstringReference identifying the matched paragraph.Reference identifying the matched paragraph.
searchResultTextErskineMayParagraphSearchResultstringText excerpt from the matched paragraph.Text excerpt from the matched paragraph.
sectionTitleErskineMayParagraphSearchResultstringTitle of the section containing the match.Title of the section containing the match.
sectionTitleChainErskineMayParagraphSearchResultstringHierarchical chain of section titles leading to this section.Hierarchical chain of section titles leading to this section.
chapterTitleErskineMayParagraphSearchResultstringTitle of the chapter containing the match.Title of the chapter containing the match.
chaptersErskineMayPartarray<object>List of chapters belonging to the part.List of chapters belonging to the part.
titleChainErskineMaySectionDetailstringHierarchical chain of titles leading to this section.Hierarchical chain of titles leading to this section.
subSectionsErskineMaySectionDetailarray<object>List of subsections nested under this section.List of subsections nested under this section.
parentSectionIdErskineMaySectionDetailinteger (int32)Identifier of the parent section, if any.Identifier of the parent section, if any.
parentSectionTitleErskineMaySectionDetailstringTitle of the parent section, if any.Title of the parent section, if any.
partTitleErskineMaySectionDetailstringTitle of the part containing this section.Title of the part containing this section.
contentHtmlErskineMaySectionDetailstringHTML-formatted content of the section.HTML-formatted content of the section.
isUpdatedErskineMaySectionDetailbooleanIndicates whether the section has been recently updated.Indicates whether the section has been recently updated.
updatedDateErskineMaySectionDetailstring (date-time)Date and time the section was last updated.Date and time the section was last updated.
footnotesErskineMaySectionDetailarray<object>List of footnotes associated with the section.List of footnotes associated with the section.

Schema captured from openapi 22 days ago.

Verification Status

Using the API

Configuration

Base URL
https://erskinemay-api.parliament.uk
Version
v1
Format
openapi
Endpoints
11

Try the API

GET/api/Chapter/{chapterNumber}

Returns a single chapter overview by chapter number.

GET/api/IndexTerm/browse

Returns a list of index terms by start letter.

GET/api/IndexTerm/{indexTermId}

Returns an index term by id.

GET/api/Part

Returns a list of all parts.

GET/api/Part/{partNumber}

Returns a part by part number.

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

Endpoints (11)

/api11 endpoints
GET
/api/Chapter/{chapterNumber}

Returns a single chapter overview by chapter number.

GET
/api/IndexTerm/browse

Returns a list of index terms by start letter.

GET
/api/IndexTerm/{indexTermId}

Returns an index term by id.

GET
/api/Part

Returns a list of all parts.

GET
/api/Part/{partNumber}

Returns a part by part number.

GET
/api/Search/IndexTermSearchResults/{searchTerm}

Returns a list of index terms which contain the search term.

GET
/api/Search/Paragraph/{reference}

Returns a section overview by reference.

GET
/api/Search/ParagraphSearchResults/{searchTerm}

Returns a list of paragraphs which contain the search term.

GET
/api/Search/SectionSearchResults/{searchTerm}

Returns a list of sections which contain the search term.

GET
/api/Section/{sectionId}

Returns a section by section id.

GET
/api/Section/{sectionId},{step}

Returns a section overview by section id and step.

Query examples

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

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

Machine-readable & source

Erskine May API — live verification badge

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