Macaroon Network Receipts API

The Receipts API from Macaroon Network — 1 operation(s) for receipts.

Operations 1

GET /api/receipts/{receipt_id} Get Receipt #

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/macaroonnetwork-com-receipts-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

macaroonnetwork-com-receipts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Macaroon Network Agent Services Receipts API
  description: Pay-per-call scientific search, evidence, validation, and simulation services with explicit provenance and limitations.
  version: 1.0.0
  x-guidance: Choose a concrete POST /execute/<capability-id> operation. Send the documented JSON body, receive an x402 v2 USDC challenge on Base, then retry with PAYMENT-SIGNATURE. Treat licence status and validation claims exactly as returned; unknown evidence is not permission.
tags:
- name: Receipts
paths:
  /api/receipts/{receipt_id}:
    get:
      summary: Get Receipt
      operationId: get_receipt_api_receipts__receipt_id__get
      parameters:
      - name: receipt_id
        in: path
        required: true
        schema:
          type: string
          title: Receipt Id
        description: Substitute a concrete receipt id; do not send the literal {receipt_id} template.
        example: receipt-id-from-a-paid-execution-response
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Receipts
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ReceiptResponse:
      properties:
        receipt_id:
          type: string
          title: Receipt Id
        service_id:
          type: string
          title: Service Id
        request_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Request Hash
        payment_network:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Network
        payment_reference:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Reference
        payment_protocol:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Protocol
        payment_provider:
          anyOf:
          - type: string
          - type: 'null'
          title: Payment Provider
        challenge_reference:
          anyOf:
          - type: string
          - type: 'null'
          title: Challenge Reference
        settlement_state:
          anyOf:
          - type: string
          - type: 'null'
          title: Settlement State
        amount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Amount
        currency:
          type: string
          title: Currency
        execution_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Execution Id
        predicate_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Predicate Hash
        predicate_result:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Predicate Result
        validation_run_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Validation Run Id
        result_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Result Hash
        created_at:
          type: string
          title: Created At
      type: object
      required:
      - receipt_id
      - service_id
      - request_hash
      - payment_network
      - payment_reference
      - amount
      - currency
      - execution_id
      - predicate_hash
      - predicate_result
      - validation_run_id
      - result_hash
      - created_at
      title: ReceiptResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError