Coudre Bros. Notary API

Anchor a content hash on-chain (CIP-0190, transaction-metadata label 309), and a hash-chained decision log built on top of it for AI agents. Testnet-only in this version. On-chain data is public and permanent -- only hashes and minimal non-sensitive metadata are ever anchored, never content itself. A record is a timestamped, verifiable hash, not a legally binding attestation.

GitHub OpenAPI

Operations 6

1 of 6 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-11. how this works · status file

GET /notary/info Notary network, pricing, and supported algorithms conformant #
POST /notary/prepare Anchor a content hash on-chain (CIP-0190, label 309) #
POST /notary/decision/prepare Append one entry to your hash-chained decision log #
GET /notary/status/{proof_id} Check an anchor or decision-log entry's status #
POST /notary/verify Authoritative verification of an anchor #
POST /notary/decision/verify Check a decision-log chain's integrity #

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/coudrebros-eu:coudrebros-eu-notary-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

coudrebros-eu-notary-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coudrebros Eu Notary API
  version: 1.1.0
  contact:
    name: CoudreBros
    url: https://www.coudrebros.eu/
  description: 'Operations tagged notary across 2 of this provider''s published API definitions: coudrebros-eu-openapi.json, coudrebros-eu-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://nftapi.coudrebros.eu
  description: Cardano mainnet (per https://nftapi.coudrebros.eu/llms.txt)
- url: https://testnet.nftapi.coudrebros.eu
  description: Testnet instance serving the same spec
tags:
- name: notary
  description: Anchor a content hash on-chain (CIP-0190, transaction-metadata label 309), and a hash-chained decision log built on top of it for AI agents. Testnet-only in this version. On-chain data is public and permanent -- only hashes and minimal non-sensitive metadata are ever anchored, never content itself. A record is a timestamped, verifiable hash, not a legally binding attestation.
paths:
  /notary/info:
    get:
      tags:
      - notary
      summary: Notary network, pricing, and supported algorithms
      description: No authentication required. Read this first.
      operationId: notary_info_notary_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotaryInfo'
  /notary/prepare:
    post:
      tags:
      - notary
      summary: Anchor a content hash on-chain (CIP-0190, label 309)
      description: 'Builds a single transaction that pays the notary fee AND anchors `content_hash` on chain at the same time, atomically -- same pattern as `POST /mint/prepare`. Returns a partially-signed transaction (the operator co-signed its own fee input); add your own witness for `from_address` and submit. `idempotency_key` (optional) returns the same prior result on retry instead of building a new transaction.


        This service never sees or stores the content itself -- compute the hash yourself first.'
      operationId: prepare_anchor_notary_prepare_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrepareAnchorRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrepareAnchorResponse'
        '400':
          description: from_address has insufficient funds, or the underlying Cardano node is temporarily unreachable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '422':
          description: Request body failed validation (e.g. malformed content_hash or unsupported algorithm).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
  /notary/decision/prepare:
    post:
      tags:
      - notary
      summary: Append one entry to your hash-chained decision log
      description: Same atomic pattern as `POST /notary/prepare`, plus a `x-cbros-decision` extension in the on-chain record binding this entry to your agent_ref, seq, and the previous entry's content_hash. seq starts at 0 and must increment by exactly 1 each call; prev must equal the previous entry's content_hash (omit only for seq=0). The full decision content never reaches this service -- canonicalize it yourself (RFC 8785 JCS) and send only its hash. See docs/decision-record-v1.md.
      operationId: prepare_decision_log_notary_decision_prepare_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrepareDecisionLogRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrepareDecisionLogResponse'
        '400':
          description: Wrong seq/prev for this chain, insufficient funds, or the node is temporarily unreachable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
  /notary/status/{proof_id}:
    get:
      tags:
      - notary
      summary: Check an anchor or decision-log entry's status
      description: Scoped to the API key that created the entry -- proof_id is an internal identifier, not meant to be shared.
      operationId: notary_status_notary_status__proof_id__get
      parameters:
      - name: proof_id
        in: path
        required: true
        schema:
          type: string
          title: Proof Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnchorStatusResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '404':
          description: No entry found for this proof_id owned by this API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /notary/verify:
    post:
      tags:
      - notary
      summary: Authoritative verification of an anchor
      description: No authentication required -- checkable by anyone holding a tx hash, like a receipt. Supply `tx_hash` for an authoritative on-chain check, and/or `content_hash` to compare against it (or, without a tx_hash, to look up this service's own index). Optional `content` is re-hashed in memory only, for comparison -- never stored or logged.
      operationId: verify_proof_notary_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyProofRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyProofResponse'
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
  /notary/decision/verify:
    post:
      tags:
      - notary
      summary: Check a decision-log chain's integrity
      description: No authentication required -- chain integrity is independently checkable by anyone with the agent_ref. Checks for a gap-free seq starting at 0, each entry's prev matching the previous entry's content_hash, and that every entry is confirmed on chain. Reports breaks precisely (which seq, why).
      operationId: verify_decision_chain_notary_decision_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyDecisionChainRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyDecisionChainResponse'
        '422':
          description: Request body failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
        '429':
          description: Rate limit exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MintError'
components:
  schemas:
    PrepareDecisionLogResponse:
      properties:
        proof_id:
          type: string
          title: Proof Id
        agent_ref:
          type: string
          title: Agent Ref
        unsigned_tx_body:
          type: string
          title: Unsigned Tx Body
        operator_witness:
          type: string
          title: Operator Witness
        partially_signed_tx:
          type: string
          title: Partially Signed Tx
        tx_hash:
          type: string
          title: Tx Hash
        algorithm:
          type: string
          title: Algorithm
        content_hash:
          type: string
          title: Content Hash
        seq:
          type: integer
          title: Seq
        prev:
          anyOf:
          - type: string
          - type: 'null'
          title: Prev
        service_fee_lovelace:
          type: integer
          title: Service Fee Lovelace
        network_fee_lovelace:
          type: integer
          title: Network Fee Lovelace
        spec_version:
          type: string
          title: Spec Version
      type: object
      required:
      - proof_id
      - agent_ref
      - unsigned_tx_body
      - operator_witness
      - partially_signed_tx
      - tx_hash
      - algorithm
      - content_hash
      - seq
      - prev
      - service_fee_lovelace
      - network_fee_lovelace
      - spec_version
      title: PrepareDecisionLogResponse
    PrepareAnchorRequest:
      properties:
        content_hash:
          type: string
          pattern: ^[0-9a-f]{64}$
          title: Content Hash
          description: Lowercase hex digest of the content being anchored (64 hex chars / 32 bytes).
        algorithm:
          type: string
          enum:
          - sha2-256
          - blake2b-256
          title: Algorithm
          description: Hash algorithm the digest was computed with.
          default: sha2-256
        from_address:
          type: string
          pattern: ^addr1[a-z0-9]+$
          title: From Address
          description: Cardano address that will fund this transaction's notary fee -- must sign the transaction this endpoint returns before it can be submitted. Must be a mainnet address (starts with 'addr1').
        idempotency_key:
          anyOf:
          - type: string
            pattern: ^[A-Za-z0-9._-]{1,128}$
          - type: 'null'
          title: Idempotency Key
          description: Optional. If a non-expired anchor already exists for this key (scoped to your API key), that same prepared transaction is returned instead of building a new one. Omit for a fresh build every call.
      type: object
      required:
      - content_hash
      - from_address
      title: PrepareAnchorRequest
      example:
        algorithm: sha2-256
        content_hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85
        from_address: addr_test1vpgnsrdu30exj2kscypxt6x8vxj4aghnqd6qkyywhqp0jgqmsh7px
    VerifyProofRequest:
      properties:
        tx_hash:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Tx Hash
        content_hash:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Content Hash
        content:
          anyOf:
          - type: string
            maxLength: 1000000
          - type: 'null'
          title: Content
          description: Optional raw content to re-hash locally for comparison against content_hash. Never stored or logged -- used only in memory for this one request.
      type: object
      title: VerifyProofRequest
    AnchorStatusResponse:
      properties:
        proof_id:
          type: string
          title: Proof Id
        status:
          type: string
          enum:
          - pending
          - confirmed
          - failed
          - expired
          title: Status
        tx_hash:
          type: string
          title: Tx Hash
        confirmations:
          anyOf:
          - type: integer
          - type: 'null'
          title: Confirmations
        algorithm:
          type: string
          title: Algorithm
        content_hash:
          type: string
          title: Content Hash
        kind:
          type: string
          enum:
          - anchor
          - decision
          title: Kind
      type: object
      required:
      - proof_id
      - status
      - tx_hash
      - algorithm
      - content_hash
      - kind
      title: AnchorStatusResponse
    ChainBreak:
      properties:
        seq:
          type: integer
          title: Seq
        reason:
          type: string
          title: Reason
      type: object
      required:
      - seq
      - reason
      title: ChainBreak
    MintError:
      properties:
        status:
          type: string
          const: error
          title: Status
          default: error
        message:
          type: string
          title: Message
          description: Human-readable explanation of what went wrong
      type: object
      required:
      - message
      title: MintError
    VerifyProofResponse:
      properties:
        result:
          type: string
          enum:
          - found-valid
          - found-invalid
          - not-found
          title: Result
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
        tx_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Tx Hash
        content_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Content Hash
        algorithm:
          anyOf:
          - type: string
          - type: 'null'
          title: Algorithm
        confirmations:
          anyOf:
          - type: integer
          - type: 'null'
          title: Confirmations
        content_rehash_match:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Content Rehash Match
      type: object
      required:
      - result
      title: VerifyProofResponse
    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
    VerifyDecisionChainResponse:
      properties:
        agent_ref:
          type: string
          title: Agent Ref
        entry_count:
          type: integer
          title: Entry Count
        chain_valid:
          type: boolean
          title: Chain Valid
        breaks:
          items:
            $ref: '#/components/schemas/ChainBreak'
          type: array
          title: Breaks
      type: object
      required:
      - agent_ref
      - entry_count
      - chain_valid
      - breaks
      title: VerifyDecisionChainResponse
    PrepareDecisionLogRequest:
      properties:
        content_hash:
          type: string
          pattern: ^[0-9a-f]{64}$
          title: Content Hash
          description: Hash of the agent's canonicalized (RFC 8785 JCS) decision record -- see docs/decision-record-v1.md.
        algorithm:
          type: string
          enum:
          - sha2-256
          - blake2b-256
          title: Algorithm
          default: sha2-256
        seq:
          type: integer
          maximum: 2147483647.0
          minimum: 0.0
          title: Seq
          description: This entry's position in the chain, starting at 0.
        prev:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Prev
          description: content_hash of the previous entry in this chain. Omit (or null) only for seq=0.
        from_address:
          type: string
          pattern: ^addr1[a-z0-9]+$
          title: From Address
          description: Cardano address that will fund this transaction's notary fee -- must sign the transaction this endpoint returns before it can be submitted. Must be a mainnet address (starts with 'addr1').
        idempotency_key:
          anyOf:
          - type: string
            pattern: ^[A-Za-z0-9._-]{1,128}$
          - type: 'null'
          title: Idempotency Key
      type: object
      required:
      - content_hash
      - seq
      - from_address
      title: PrepareDecisionLogRequest
      example:
        algorithm: sha2-256
        content_hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85
        from_address: addr_test1vpgnsrdu30exj2kscypxt6x8vxj4aghnqd6qkyywhqp0jgqmsh7px
        seq: 0
    VerifyDecisionChainRequest:
      properties:
        agent_ref:
          type: string
          pattern: ^ar_[0-9a-f]{20}$
          title: Agent Ref
      type: object
      required:
      - agent_ref
      title: VerifyDecisionChainRequest
    NotaryInfo:
      properties:
        network:
          type: string
          title: Network
        spec_version:
          type: string
          title: Spec Version
        price_lovelace:
          type: integer
          title: Price Lovelace
        min_confirmations:
          type: integer
          title: Min Confirmations
        supported_algorithms:
          items:
            type: string
          type: array
          title: Supported Algorithms
        legal_note:
          type: string
          title: Legal Note
          default: On-chain data is public and permanent. This service anchors only a content hash (and, for decision-log entries, minimal non-sensitive metadata) -- never the content itself. An anchored record is a timestamped, verifiable record of a hash, not a legally binding attestation.
      type: object
      required:
      - network
      - spec_version
      - price_lovelace
      - min_confirmations
      - supported_algorithms
      title: NotaryInfo
    PrepareAnchorResponse:
      properties:
        proof_id:
          type: string
          title: Proof Id
        unsigned_tx_body:
          type: string
          title: Unsigned Tx Body
        operator_witness:
          type: string
          title: Operator Witness
        partially_signed_tx:
          type: string
          title: Partially Signed Tx
        tx_hash:
          type: string
          title: Tx Hash
        algorithm:
          type: string
          title: Algorithm
        content_hash:
          type: string
          title: Content Hash
        service_fee_lovelace:
          type: integer
          title: Service Fee Lovelace
        network_fee_lovelace:
          type: integer
          title: Network Fee Lovelace
        spec_version:
          type: string
          title: Spec Version
      type: object
      required:
      - proof_id
      - unsigned_tx_body
      - operator_witness
      - partially_signed_tx
      - tx_hash
      - algorithm
      - content_hash
      - service_fee_lovelace
      - network_fee_lovelace
      - spec_version
      title: PrepareAnchorResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- coudrebros-eu-openapi.json
- coudrebros-eu-openapi.yml