TheyWorkForYou API
getBoundary function

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

Returns KML file for a UK Parliament constituency.

Returns the bounding polygon of the constituency, in KML format (see mapit.mysociety.org for other formats, past constituency boundaries, and so on).

Arguments

name
Name of the constituency.

Explorer

Try out this function without writing any code!

name:
Output: