mirrored listing x402 eip155:8453

Search live UK Parliament data: Members (current and former MPs and Peers, by name) and Bi

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.

Do you run api.macaroonnetwork.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-06
updated

Provider

api.macaroonnetwork.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x33cc8de6e86761d217044a8a6b394ad23b579596",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "maxTimeoutSeconds": 60
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "input": {
            "filters": {
              "house": "Commons",
              "limit": 5
            },
            "query": "find the current MP for a given name",
            "search_type": "bill"
          },
          "predicate": {
            "conditions": [
              {
                "field": "$.notices",
                "type": "count_gte",
                "value": 1
              }
            ],
            "type": "all"
          }
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "payload": {
            "notices": [],
            "query": {
              "filters": {},
              "query": "",
              "search_type": ""
            },
            "results": []
          },
          "predicate_passed": true,
          "settled": true
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://api.macaroonnetwork.com/execute/uk-parliament-search-v1"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://api.macaroonnetwork.com/execute/uk-parliament-search-v1");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://api.macaroonnetwork.com/execute/uk-parliament-search-v1")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/6327.json, and this resource appears in /discovery/resources and /discovery/search.