TheyWorkForYou API
getConstituencies function

https://www.theyworkforyou.com/api/getConstituencies

Fetch a list of UK Parliament constituencies.

Arguments

Note only one argument can be given at present.

date (optional)
Fetch the list of constituencies as on this date.
search (optional)
Fetch the list of constituencies that match this search string.

Example Response

[
    { name : "Aberavon" },
    { name : "Aldershot" },
    { name : "Aldridge-Brownhills" },
    ...
]

Explorer

Try out this function without writing any code!

date:
search:
latitude:
longitude:
distance:
Output: