fourzerotwo-si Uk Parliament Members API

UK Parliament Members: MPs and peers: search, biographies, contact details, voting records, constituencies and government posts.

Operations 13

GET /v1/uk-parliament-members/member UK Parliament Members: Member #
GET /v1/uk-parliament-members/biography UK Parliament Members: Biography #
GET /v1/uk-parliament-members/contact UK Parliament Members: Contact details #
GET /v1/uk-parliament-members/voting UK Parliament Members: Voting record #
GET /v1/uk-parliament-members/synopsis UK Parliament Members: Synopsis #
GET /v1/uk-parliament-members/registered-interests UK Parliament Members: Registered interests #
GET /v1/uk-parliament-members/constituency UK Parliament Members: Constituency #
GET /v1/uk-parliament-members/constituency-results UK Parliament Members: Election results #
GET /v1/uk-parliament-members/government-posts UK Parliament Members: Government posts #
GET /v1/uk-parliament-members/opposition-posts UK Parliament Members: Opposition posts #
GET /v1/uk-parliament-members/state-of-parties UK Parliament Members: State of the parties #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fourzerotwo-si:fourzerotwo-si-uk-parliament-members-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fourzerotwo-si-uk-parliament-members-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fourzerotwo Si Uk Parliament Members API
  version: 1.1.0
  contact:
    url: https://fourzerotwo.si
  description: 'Operations tagged uk-parliament-members across 2 of this provider''s published API definitions: openapi.json, fourzerotwo-si-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://fourzerotwo.si
tags:
- name: uk-parliament-members
  description: 'UK Parliament Members: MPs and peers: search, biographies, contact details, voting records, constituencies and government posts.'
paths:
  /v1/uk-parliament-members/member:
    get:
      operationId: uk_parliament_members__member
      summary: 'UK Parliament Members: Member'
      description: 'Name, party, house, membership status and constituency for one member. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/member
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__member
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/biography:
    get:
      operationId: uk_parliament_members__biography
      summary: 'UK Parliament Members: Biography'
      description: 'Government, opposition and committee posts, and party history for a member. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/biography
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__biography
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/contact:
    get:
      operationId: uk_parliament_members__contact
      summary: 'UK Parliament Members: Contact details'
      description: 'Parliamentary and constituency contact details for a member. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/contact
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__contact
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/voting:
    get:
      operationId: uk_parliament_members__voting
      summary: 'UK Parliament Members: Voting record'
      description: 'A member''s recent votes in divisions. Price: $0.003 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/voting
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      - name: house
        in: query
        required: true
        description: 1 = Commons, 2 = Lords
        schema:
          type: integer
        example: 1
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.003000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__voting
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/synopsis:
    get:
      operationId: uk_parliament_members__synopsis
      summary: 'UK Parliament Members: Synopsis'
      description: 'One-paragraph summary of a member''s career. Price: $0.001 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/synopsis
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.001000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__synopsis
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/registered-interests:
    get:
      operationId: uk_parliament_members__registered_interests
      summary: 'UK Parliament Members: Registered interests'
      description: 'A member''s entries in the Register of Members'' Financial Interests. Price: $0.003 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/registered-interests
      parameters:
      - name: id
        in: query
        required: true
        description: Member id (from member search)
        schema:
          type: integer
        example: 5123
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.003000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__registered-interests
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/constituency-search:
    get:
      operationId: uk_parliament_members__constituency_search
      summary: 'UK Parliament Members: Search constituencies'
      description: 'Find Westminster constituencies by name. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/constituency-search
      parameters:
      - name: searchText
        in: query
        required: true
        description: Constituency name
        schema:
          type: string
        example: East Thanet
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__constituency-search
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/constituency:
    get:
      operationId: uk_parliament_members__constituency
      summary: 'UK Parliament Members: Constituency'
      description: 'A constituency and its current representation. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/constituency
      parameters:
      - name: id
        in: query
        required: true
        description: Constituency id
        schema:
          type: integer
        example: 4031
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__constituency
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/constituency-results:
    get:
      operationId: uk_parliament_members__constituency_results
      summary: 'UK Parliament Members: Election results'
      description: 'General election results for a constituency. Price: $0.003 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/constituency-results
      parameters:
      - name: id
        in: query
        required: true
        description: Constituency id
        schema:
          type: integer
        example: 4031
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.003000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__constituency-results
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/government-posts:
    get:
      operationId: uk_parliament_members__government_posts
      summary: 'UK Parliament Members: Government posts'
      description: 'Current ministers and the government posts they hold. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/government-posts
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__government-posts
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/opposition-posts:
    get:
      operationId: uk_parliament_members__opposition_posts
      summary: 'UK Parliament Members: Opposition posts'
      description: 'Current shadow ministers and opposition posts. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/opposition-posts
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__opposition-posts
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/search:
    get:
      operationId: uk_parliament_members__search
      summary: 'UK Parliament Members: Search members'
      description: 'Find MPs and peers by name, party, house or constituency. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/search
      parameters:
      - name: name
        in: query
        required: false
        description: Name to search
        schema:
          type: string
        example: Starmer
      - name: house
        in: query
        required: false
        description: 1 = Commons, 2 = Lords
        schema:
          type: integer
        example: 1
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__search
    servers:
    - url: https://fourzerotwo.si
  /v1/uk-parliament-members/state-of-parties:
    get:
      operationId: uk_parliament_members__state_of_parties
      summary: 'UK Parliament Members: State of the parties'
      description: 'Seats held by each party in a house on a date. Price: $0.002 USDC per call via x402. Free within the daily allowance with a free key.'
      tags:
      - uk-parliament-members
      externalDocs:
        url: https://fourzerotwo.si/apis/uk-parliament-members/state-of-parties
      parameters:
      - name: house
        in: query
        required: true
        description: 1 = Commons, 2 = Lords
        schema:
          type: integer
        example: 1
      - name: date
        in: query
        required: true
        description: Date YYYY-MM-DD
        schema:
          type: string
        example: '2026-10-01'
      responses:
        '200':
          description: The data (paid, or free tier).
          content:
            application/json: {}
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '400':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
      - {}
      - freeKey: []
      x-price-usd: '0.002000'
      x-free-tier: free
      x-mcp-tool: uk-parliament-members__state-of-parties
    servers:
    - url: https://fourzerotwo.si
components:
  responses:
    PaymentRequired:
      description: x402 payment required. The body (also base64 in the PAYMENT-REQUIRED header) lists accepted payments.
      headers:
        PAYMENT-REQUIRED:
          schema:
            type: string
          description: Base64 JSON x402 v2 PaymentRequired
      content:
        application/json:
          schema:
            type: object
            properties:
              x402Version:
                type: integer
              error:
                type: string
              accepts:
                type: array
                items:
                  type: object
    Error:
      description: 400 = invalid input, 404 = not found at the source, 502 = the source failed. Never charged.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              charged:
                type: boolean
  securitySchemes:
    freeKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Optional free key (fzt_…) for the free tier.
x-refined-from:
- openapi.json
- fourzerotwo-si-openapi.json