# UK Parliament Members API

Category: [Government and law](https://free-web-services.com/web-services/open-data/government/)  
Page: https://free-web-services.com/web-services/open-data/government/uk-parliament-members-api.html  
Documentation: https://members-api.parliament.uk/index.html

The UK Parliament Members API gives data about Members of the House of Commons and the House of Lords: names, parties, constituencies, contact details, roles, interests and voting records, for example to look up the MP for a constituency. Responses are JSON, with an OpenAPI description. Free, no key needed.

- API key: Not needed
- Pricing: Free, no key needed.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: members-api.parliament.uk
- Last checked: Working on November 7th, 2026

Example request:

```sh
curl 'https://members-api.parliament.uk/api/Members/Search?Name=Starmer&take=1'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

