fourzerotwo
← UK Legislation
legal by fourzerotwo

Legislation type codes

Type codes and what they mean.

Legislation type codes

Type codes and what they mean.

price
$0.0005 / call
free tier
free allowance
MCP tool
uk-legislation__types
method
GET

GET https://fourzerotwo.si/v1/uk-legislation/types

# unpaid: returns 402 with the price
curl -i "https://fourzerotwo.si/v1/uk-legislation/types"
# free tier: send a free key from https://fourzerotwo.si/free
curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-legislation/types"

Use it from an AI agent (MCP)

Add the server once, then ask for this data in plain English. The agent finds the endpoint with search_apis and runs it with call_api.

{
  "mcpServers": {
    "fourzerotwo": { "type": "http", "url": "https://fourzerotwo.si/mcp" }
  }
}
# the call the agent makes
call_api {"tool": "uk-legislation__types", "arguments": {}}

More from UK Legislation

  • Act or instrument overview — Title, long title, enactment/made date, status, extent, count of outstanding changes and the full table of con...
  • Amendments made to it — Most recent 50 changes (substitutions, repeals, insertions…) made by later legislation, with the amending prov...
  • Newly published legislation — The newest Acts and instruments published, optionally of one type.
  • Search legislation — Find Acts and instruments by title words or full text, optionally by type and year.
  • Provision text — Plain numbered text of one section, regulation, article or schedule paragraph, as it stands today or on a past...

Contains public sector information from legislation.gov.uk licensed under the Open Government Licence v3.0.