PASAR API

🇬🇧 mySociety ~ TheyWorkForYou parliamentary API

← directory
mySocietyGovernment servicestier: openauth: API keypricing: freemiumverified 2026-07-05

Needs a free API key; free/reduced for non-profit and charitable projects, paid plans for commercial use; covers Westminster, Holyrood, Senedd and Stormont.

View docs ↗ More Government services APIs

Get started

# mySociety ~ TheyWorkForYou parliamentary API needs an API key ~ get yours at:
# https://www.theyworkforyou.com/api/
curl 'https://www.theyworkforyou.com/api/' \
  -H 'Authorization: Bearer YOUR_TOKEN'

AI prompt

I'm integrating a United Kingdom API into my app.

API: mySociety ~ TheyWorkForYou parliamentary API
Provider: mySociety
Auth: requires an API key (sign up: https://www.theyworkforyou.com/api/)
Pricing: freemium
Base URL: https://www.theyworkforyou.com/api/
Important note: Needs a free API key; free/reduced for non-profit and charitable projects, paid plans for commercial use; covers Westminster, Holyrood, Senedd and Stormont.

Source: mySociety (https://www.theyworkforyou.com/api/)
Source type: Official portal or provider docs
Endpoint type: Portal or multi-endpoint API
Integration difficulty: Needs API key
Last checked: 2026-07-05
Production caveat: Keep credentials server-side and confirm current limits, pricing, and webhook/error behaviour in the provider docs.

Help me set up the correct onboarding/authentication path and make the first valid request ~ explain exactly where credentials go and what must happen before production.

Related Government services APIs

data.gov.sg ~ Singapore open data & real-time APIsJAKIM e-Solat Prayer Times APIWaktu Solat API (Malaysia Prayer Times)SSM e-Info Company Registry APIOpenDOSM ~ official Malaysian statisticsGLEIF LEI API ~ global Legal Entity Identifier registryCompanies House API ~ UK company registry, filings & officersSEC EDGAR APIs ~ US public-company filings & financial dataFederal Register API ~ US government documents, rules & noticesOpenSanctions API ~ global sanctions, PEP & watchlist screening