Skip to content

legislation.gov.uk

UK laws, Act sections and legislation search

Back to tools

legislation.gov.uk provides official legislation, latest available revised section text or contents, and title or topic search results; some older Acts lack structured text.

Get law section

Get the latest available revised text of a section of a UK Act, or its section contents when no section is given. The outstanding-changes flag describes the Act and may include changes outside the selected section. Some older Acts are not available as structured text.

Your information

Act title, with year if known; for example, Equality Act 2010. A legislation.gov.uk Act link or ID also works.

Section number, such as 13. Leave blank to get the Act contents.

1 credit per completed run

The same inputs also work from your code or an AI assistant. See For developers.

Example results

Equality Act 2010

Section 13: Direct discrimination

(1) A person (A) discriminates against another (B) if, because of a protected characteristic, A treats B less favourably than A treats or would treat others. (2) If the protected characteristic is age, A does not discriminate against B if A can show A's treatment of B to be a proportionate means of achieving a legitimate aim. (3) If the protected characteristic is disability, and B is not a disabled person, A does not discriminate against B only because A treats or would treat disabled persons more favourably than A treats B. (4) If the protected characteristic is marriage and civil partnership, this section applies to a contravention of Part 5 (work) only if the treatment is because it is B who is married or a civil partner. (5) If the protected characteristic is race, less favourable treatment includes segregating B from others. (6) If the protected characteristic is sex— (a) less favourable treatment of a woman includes less favourable treatment of her because she is breast-feeding; (b) in a case where B is a man, no account is to be taken of special treatment afforded to a woman in connection with pregnancy , childbirth or maternity. (7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (8) This section is subject to sections 17(6) and 18(7).

In force
Yes
Latest version date
Jan 1, 2024
Extent
England, Wales, Scotland
Act has changes still to be applied
Yes
View on legislation.gov.uk

Choose an action

About the legislation.gov.uk tool

legislation.gov.uk returns revised Act section text or Act contents; Get law section needs an Act title or identifier and optionally a section number.

Search legislation returns laws matching topic or title words, with optional legislation type and year filters.

Built from legislation.gov.uk. Last checked Sep 29, 2026.

Actions

Get law section

1 credit

Get the latest available revised text of a section of a UK Act, or its section contents when no section is given. The outstanding-changes flag describes the Act and may include changes outside the selected section. Some older Acts are not available as structured text.

What you provide

FieldTypeRequiredDescription
ActactTextRequiredAct title, with year if known; for example, Equality Act 2010. A legislation.gov.uk Act link or ID also works.Example: Equality Act 2010
SectionsectionTextOptionalSection number, such as 13. Leave blank to get the Act contents.Example: 13

What you get

FieldTypeDescription
LinklinkTextExample: https://www.legislation.gov.uk/ukpga/2010/15/section/13
TexttextTextExample: (1) An employee has the right not to be unfairly dismissed by his employer…
YearyearNumberExample: 2010
TitletitleTextExample: Equality Act 2010
ExtentextentTextExample: England, Wales, Scotland
HeadingheadingTextExample: Direct discrimination
ContentscontentsList
Linkcontents[].linkTextExample: https://www.legislation.gov.uk/ukpga/2010/15/section/1
Numbercontents[].numberTextExample: 1
Headingcontents[].headingTextExample: Public sector duty regarding socio-economic inequalities
In Forcein_forceYes or noExample: Yes
Version Dateversion_dateDateExample: 2024-01-01
Chapter Numberchapter_numberNumberExample: 15
Section Numbersection_numberTextExample: 13
Prospective Noteprospective_noteTextExample: Prospective provision; not yet in force.
Changes Still to Be Appliedchanges_still_to_be_appliedYes or noExample: Yes

Example result

For Act: Equality Act 2010, Section: 13

JSON
{
  "link": "https://www.legislation.gov.uk/ukpga/2010/15/section/13",
  "text": "(1) A person (A) discriminates against another (B) if, because of a protected characteristic, A treats B less favourably than A treats or would treat others.\n(2) If the protected characteristic is age…",
  "year": 2010,
  "title": "Equality Act 2010",
  "extent": "England, Wales, Scotland",
  "heading": "Direct discrimination",
  "contents": null,
  "in_force": true,
  "version_date": "2024-01-01",
  "chapter_number": 15,
  "section_number": "13",
  "prospective_note": null,
  "changes_still_to_be_applied": true
}

Search legislation

1 credit

Search UK legislation by topic or title, with optional type and year filters. Closest title matches appear first; broader text matches fill remaining places.

What you provide

FieldTypeRequiredDescription
TypetypeTextOptionalKind of legislation, for example uk_act; any searches every kind.Example: Uk act
YearyearNumberOptionalYear of enactment or making, for example 2018.Example: 2018
QueryqueryTextRequiredTopic or title words to search, for example data protection.Example: minimum wage
Max Resultsmax_resultsNumberOptionalMaximum laws to return, for example 20.Example: 5

What you get

FieldTypeDescription
LawslawsListMatching laws, closest title first.
Linklaws[].linkTextLegislation page link.Example: https://www.legislation.gov.uk/ukpga/1998/39
Typelaws[].typeTextLegislation type in words.Example: UK Public General Act
Yearlaws[].yearNumberYear of the law.Example: 1998
Titlelaws[].titleTextName of the law.Example: National Minimum Wage Act 1998
Numberlaws[].numberTextNumber as cited.Example: 1998 c. 39
Enacted or Made Datelaws[].enacted_or_made_dateDateDate enacted or made, if provided.Example: 1998-07-31

Example result

For Query: minimum wage

JSON
{
  "laws": [
    {
      "link": "https://www.legislation.gov.uk/ukpga/1998/39",
      "type": "UK Public General Act",
      "year": 1998,
      "title": "National Minimum Wage Act 1998",
      "number": "1998 c. 39",
      "enacted_or_made_date": "1998-07-31"
    },
    {
      "link": "https://www.legislation.gov.uk/uksi/2015/621",
      "type": "UK Statutory Instrument",
      "year": 2015,
      "title": "The National Minimum Wage Regulations 2015",
      "number": "S.I. 2015/621",
      "enacted_or_made_date": "2015-03-09"
    },
    {
      "link": "https://www.legislation.gov.uk/uksi/2026/357",
      "type": "UK Statutory Instrument",
      "year": 2026,
      "title": "The National Minimum Wage (Amendment) Regulations 2026",
      "number": "S.I. 2026/357",
      "enacted_or_made_date": "2026-03-19"
    }
  ]
}

For developers

Call it from your code with one request. Change the values in input to run it on new data. To get an API key, open Developers at the bottom of Studio, turn on Developer mode and go to API keys.

cURL
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@legislation-gov-uk",
  "visibility": "public",
  "operation": "get_law_section",
  "version": 1,
  "input": {
    "act": "Equality Act 2010",
    "section": "13"
  },
  "response": {
    "format": "json"
  }
}'

What you can do with it

  • Find laws by topic or title
  • Filter law searches by year or type
  • Retrieve revised text for an Act section
  • Review an Act’s contents without choosing a section

Questions about legislation.gov.uk

Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

Can I call this legislation.gov.uk tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. With pay as you go, a credit costs 1¢. Monthly plans cost less per credit.

Do I need a legislation.gov.uk account?

No. You only need a Fous account.

How current is the data?

Fous gets the data from legislation.gov.uk when you run it. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified on Sep 29, 2026.

How can I find legislation by topic or title?

Use Search legislation with topic or title words, and optionally filter by type or year.

How can I retrieve an Act section?

Use Get law section with an Act title or identifier and a section number.

Can I get Act contents without a section number?

Yes. Use Get law section with an Act title or identifier and leave the section number blank.

All Legal toolsBrowse all tools