fourzerotwo
← NHS Organisations (ODS)
health by fourzerotwo

Role codes

Every ODS role code with its name, and the friendly aliases search accepts.

Role codes Free

Every ODS role code with its name, and the friendly aliases search accepts.

cost
Free then $0.0005 / call
MCP tool
nhs-organisations__roles
method
GET

Free up to 100 calls a day over MCP (500 with a free key), then $0.0005 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/nhs-organisations/roles

# free: send a free key from https://fourzerotwo.si/free
curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/nhs-organisations/roles"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/nhs-organisations/roles"

by fourzerotwo

Report this endpoint

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": "nhs-organisations__roles", "arguments": {}}

More from NHS Organisations (ODS)

  • Organisation by ODS code — Name, status, address, phone/website, roles and relationships (commissioner, operator, geography) for one ODS...
  • Search organisations — Find NHS organisations by name, postcode (or district) and role: gp, pharmacy, trust, trust-site, icb, dental,...

Contains public sector information licensed under the Open Government Licence v3.0. Source: NHS England Organisation Data Service (ODS).