DATA LOOKUP

UK Parliament Search

Search live UK Parliament data: Members (current and former MPs and Peers, by name) and Bills (by title). The only sources used are the UK Parliament's own public Members API (members-api.parliament.uk) and Bills API (bills-api.parliament.uk), both unauthenticated. Votes and Divisions data (a different API family) is out of scope for this version.

post/execute/uk-parliament-search-v1

Request

  • Base URL: https://api.macaroonnetwork.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.macaroonnetwork.com/execute/uk-parliament-search-v1
  • Auth: none declared

Request body

predicateobject required

Acceptance predicate evaluated before settlement.

Example request

{
  "predicate": {
    "type": "all",
    "conditions": [
      {
        "type": "count_gte",
        "field": "$.results",
        "value": 1
      }
    ]
  }
}

Response

Predicate-gated result and commercial receipt.

predicate_passedboolean required
receiptobject required

Changes

No recorded changes to this operation across all 1 revision of this API.