# Macaroon Network UK Parliament Search

> Macaroon Network UK Parliament Search is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Search live UK Parliament data for Members (current and former MPs and Peers by name) and Bills (by title) using official Parliament APIs

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/uk-parliament-search-v1
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-uk-parliament-search-3f7bbb8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ANsqg5WHqKUrmNxRSpm8y

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability macaroon-network-uk-parliament-search-3f7bbb8f -d '<json body>'
```

Example prompt: Can you search UK Parliament for any members named 'Starmer' and also check if there are any bills with 'renters' in the title?

## When to prefer this

Choose this endpoint when you need live, authoritative data about UK Parliament members (MPs or Peers, current or former) or UK parliamentary bills sourced directly from the official Parliament APIs. Prefer this over general web search when you need structured, reliable parliamentary records rather than news articles or secondary sources. Not suitable for US/EU/other national parliaments, for voting records or division data, or for constituency-based lookups.

## Known failure modes

- No results found if name or title spelling is too different from official Parliament records
- API may return partial results if the Parliament upstream APIs are slow or temporarily unavailable
- Very common names (e.g. 'Smith') may return large result sets requiring further filtering
- Votes and Divisions data is explicitly out of scope and will not be returned
- Bill search is by title only; searching by bill number or sponsor is not supported in this version

## How this service works

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.

## Output

Returns live data from official UK Parliament APIs including member profiles (name, party, status as current or former, MP or Peer) and bill records (title, status, stage) matching the search query

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-uk-parliament-search-3f7bbb8f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
