c0mm0.com — the continuously verified register of European data

Register record·API·GB·GOVERNMENTVERIFIED · checked 5h ago
E

Erskine May API

APIExecutable4/7Official: from its catalogueQuery nowOpen workbenchSubscribe🇬🇧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
OpenAPI specAPI base URLVisit homepage
78
good

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

Data quality

Data schema (43 fields)

Dictionary: 29 of 43 labelled · 43 described · 0 with a unit · 4 with example values

Filterable via the API (10)
chapterNumberstartLetterskiptakeindexTermIdpartNumbersearchTermreferencesectionIdstep

Click a field to see example values.

FieldTypeDescription
numberintChapter number within the Erskine May text.Chapter number within the Erskine May text.
titletextTitle of the chapter.Title of the chapter.
descriptiontextShort description or overview of the chapter.Short description or overview of the chapter.
chaptersarrayList of chapters belonging to the part.List of chapters belonging to the part.
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.
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.
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: an instant, each value carrying its UTC offset as the spec declares (OpenAPI format date-time, RFC 3339); reference, publication or event date not declared
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 36 minutes ago.

Query the data

Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.

=

Sample data (8 records)

Record 1title: Part 1 · number: 1
{
  "title": "Part 1",
  "number": 1,
  "chapters": [
    {
      "title": "The constituent parts of Parliament",
      "number": 1,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Elections",
      "number": 2,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Disqualification for membership of either House",
      "number": 3,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Members and Officers of Parliament",
      "number": 4,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Rules governing the conduct of Members of both Houses and the disclosure of financial interests",
      "number": 5,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "The administration of Parliament",
      "number": 6,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "The Parliamentary Estate",
      "number": 7,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Parliamentary papers, publications and records",
      "number": 8,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "A new Parliament and opening and closing of session",
      "number": 9,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Formal communications between Crown and Parliament and between Lords and Commons",
      "number": 10,
      "sections": [],
      "partNumber": 1,
      "description": null
    },
    {
      "title": "Parliament and international assemblies",
      "number": 11,
      "sections": [],
      "partNumber": 1,
      "description": null
    }
  ],
  "description": "Constitution and Organisation of Parliament"
}
Record 2title: Part 2 · number: 2
{
  "title": "Part 2",
  "number": 2,
  "chapters": [
    {
      "title": "Power and jurisdiction of Parliament",
      "number": 12,
      "sections": [],
      "partNumber": 2,
      "description": null
    },
    {
      "title": "The privilege of Parliament",
      "number": 13,
      "sections": [],
      "partNumber": 2,
      "description": null
    },
    {
      "title": "Privilege of freedom of speech",
      "number": 14,
      "sections": [],
      "partNumber": 2,
      "description": null
    },
    {
      "title": "Privilege of freedom from arrest",
      "number": 15,
      "sections": [],
      "partNumber": 2,
      "description": null
    },
    {
      "title": "Contempts, and handling complaints of contempt or breach of privilege",
      "number": 16,
      "sections": [],
      "partNumber": 2,
      "description": null
    },
    {
      "title": "The courts and parliamentary privilege",
      "number": 17,
      "sections": [],
      "partNumber": 2,
      "description": null
    }
  ],
  "description": "Powers and Privileges of Parliament"
}
Record 3title: Part 3 · number: 3
{
  "title": "Part 3",
  "number": 3,
  "chapters": [
    {
      "title": "Sittings of the House: general arrangements in the House of Commons",
      "number": 18,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "The control and distribution of time for business in the House of Commons",
      "number": 19,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Order and handling of business in the House of Commons",
      "number": 20,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "The process of debate and decision in the House of Commons",
      "number": 21,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Maintenance of order during debates in the House of Commons",
      "number": 22,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Questions to Ministers",
      "number": 23,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Sittings in Westminster Hall",
      "number": 24,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Petitions",
      "number": 25,
      "sections": [],
      "partNumber": 3,
      "description": null
    },
    {
      "title": "Organisation and conduct of business in the House of Lords",
      "number": 26,
      "sections": [],
      "partNumber": 3,
      "description": null
    }
  ],
  "description": "Conduct of Business"
}
Record 4title: Part 4 · number: 4
{
  "title": "Part 4",
  "number": 4,
  "chapters": [
    {
      "title": "Preliminary view of public bills",
      "number": 27,
      "sections": [],
      "partNumber": 4,
      "description": null
    },
    {
      "title": "Proceedings on public bills in the House of Commons",
      "number": 28,
      "sections": [],
      "partNumber": 4,
      "description": null
    },
    {
      "title": "Proceedings on public bills in the House of Lords",
      "number": 29,
      "sections": [],
      "partNumber": 4,
      "description": null
    },
    {
      "title": "Proceedings on public bills: matters affecting both Houses",
      "number": 30,
      "sections": [],
      "partNumber": 4,
      "description": null
    },
    {
      "title": "Delegated legislation",
      "number": 31,
      "sections": [],
      "partNumber": 4,
      "description": null
    },
    {
      "title": "Parliamentary oversight of international agreements and relations with the European Union",
      "number": 32,
      "sections": [],
      "partNumber": 4,
      "description": null
    }
  ],
  "description": "Public Legislation"
}
Record 5title: Part 5 · number: 5
{
  "title": "Part 5",
  "number": 5,
  "chapters": [
    {
      "title": "Overview of financial procedure",
      "number": 33,
      "sections": [],
      "partNumber": 5,
      "description": null
    },
    {
      "title": "Public expenditure and Supply",
      "number": 34,
      "sections": [],
      "partNumber": 5,
      "description": null
    },
    {
      "title": "Expenditure: Money resolutions",
      "number": 35,
      "sections": [],
      "partNumber": 5,
      "description": null
    },
    {
      "title": "Ways and Means and Finance Bills",
      "number": 36,
      "sections": [],
      "partNumber": 5,
      "description": null
    },
    {
      "title": "The role of the House of Lords in financial procedure",
      "number": 37,
      "sections": [],
      "partNumber": 5,
      "description": null
    }
  ],
  "description": "Financial Procedure"
}
Record 6title: Part 6 · number: 6
{
  "title": "Part 6",
  "number": 6,
  "chapters": [
    {
      "title": "Select committees in the House of Commons",
      "number": 38,
      "sections": [],
      "partNumber": 6,
      "description": null
    },
    {
      "title": "General Committees in the House of Commons",
      "number": 39,
      "sections": [],
      "partNumber": 6,
      "description": null
    },
    {
      "title": "Select committees in the House of Lords",
      "number": 40,
      "sections": [],
      "partNumber": 6,
      "description": null
    },
    {
      "title": "Joint committees of the Lords and Commons",
      "number": 41,
      "sections": [],
      "partNumber": 6,
      "description": null
    }
  ],
  "description": "Committees"
}
Record 7title: Part 7 · number: 7
{
  "title": "Part 7",
  "number": 7,
  "chapters": [
    {
      "title": "Preliminary view of private bills",
      "number": 42,
      "sections": [],
      "partNumber": 7,
      "description": null
    },
    {
      "title": "Preliminary proceedings in both Houses on private bills",
      "number": 43,
      "sections": [],
      "partNumber": 7,
      "description": null
    },
    {
      "title": "Petitions relating to private bills in the House of Commons",
      "number": 44,
      "sections": [],
      "partNumber": 7,
      "description": null
    },
    {
      "title": "Proceedings in the House of Commons on private bills",
      "number": 45,
      "sections": [],
      "partNumber": 7,
      "description": null
    },
    {
      "title": "Proceedings on private and personal bills in the House of Lords",
      "number": 46,
      "sections": [],
      "partNumber": 7,
      "description": null
    }
  ],
  "description": "Private Legislation"
}
Record 8title: Part 8 · number: 8
{
  "title": "Part 8",
  "number": 8,
  "chapters": [
    {
      "title": "Parliamentary procedure and practice during the COVID-19 pandemic",
      "number": 47,
      "sections": [],
      "partNumber": 8,
      "description": null
    },
    {
      "title": "Parliamentary procedure and practice during Brexit",
      "number": 48,
      "sections": [],
      "partNumber": 8,
      "description": null
    }
  ],
  "description": "Parliamentary procedure in the novel circumstances of COVID-19 and Brexit"
}

Live sample captured at profiling time — values may have changed upstream.

Verification Status

Requests to erskinemay-api.parliament.uk through this register, last 30 days

Day by day on the status page

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).

Dataset

Volume & freshness

Data size
6.2 KB

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 ranking tier.