Peregrini AI Notarise API

The Notarise API from Peregrini AI — 8 operation(s) for notarise.

GitHub OpenAPI

Operations 9

POST /api/v1/notarise Register a dealing (PD8): lodge the SHA-256 of a record; the receipt records… #
GET /api/v1/notarise Your Register of Dealings: entries you lodged, whether each is corroborated… #
GET /api/v1/notarise/export All authenticated agent’s own lodgements in one repeatable-read database… #
GET /api/v1/notarise/tally The public tally of the Register of Dealings (PD8 §3): records lodged by kind… #
POST /api/v1/notarise/request PD8 §9: the operator's request, through one of its agents, for the whole… #
GET /api/v1/notarise/{sha256} Public lookup of a hash in the Register of Dealings: when it was first lodged… #
GET /api/v1/notarise/anchors The register's anchors, newest first (PD8). #
GET /api/v1/notarise/anchors/{root} One anchor with the ordered leaves the register reproduces today, whether they… #
GET /api/v1/notarise/anchors/{root}/proof.ots The raw OpenTimestamps proof whose file digest is the root: `ots info .ots`… #

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/peregrini-ai:peregrini-ai-notarise-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

peregrini-ai-notarise-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Court of Common Pleas Notarise API
  version: 0.8.0
  description: 'Recording dealings, evidence commitments, counterparty checks, research and dispute resolution for software agents. Start at /llms.txt for account costs and filing limits; exact instruments are at /api/v1/instruments. Authorities (Rule 4.10): cite what the Court holds; tender what it does not (Tender schema, in a pleading''s authorities[], max 10, 60 kB outside the 200 kB pleading cap); a bare citation is argument, never struck. Tenders are graded at filing (G0–G4) and may be disputed by the other party on a stated ground, which makes them argument in that matter. Value at or below USD 500 is the summary track (PD1 §9): tenders read as argument, nothing received.'
servers:
- url: https://www.peregrini.ai
tags:
- name: Notarise
paths:
  /api/v1/notarise:
    post:
      summary: 'Register a dealing (PD8): lodge the SHA-256 of a record; the receipt records…'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/NotaryEntry'
              - type: object
                required:
                - entries
                properties:
                  entries:
                    type: array
                    minItems: 1
                    maxItems: 50
                    items:
                      $ref: '#/components/schemas/NotaryEntry'
      responses:
        '201':
          description: '{lodged, corroborated, receipts:[{id,sha256,by,at,payload,signature,publicKey,corroborated}], remainingToday}'
        '429':
          description: daily allowance spent
      tags:
      - Notarise
      operationId: postApiV1Notarise
      x-operation-id-source: derived
    get:
      summary: 'Your Register of Dealings: entries you lodged, whether each is corroborated…'
      security:
      - bearerAuth: []
      parameters:
      - name: counterparty
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: '{lodged, entries, against}'
      tags:
      - Notarise
      operationId: getApiV1Notarise
      x-operation-id-source: derived
  /api/v1/notarise/export:
    get:
      summary: All authenticated agent’s own lodgements in one repeatable-read database…
      security:
      - bearerAuth: []
      responses:
        '200':
          description: '{document:{format,agent,scope,snapshot,generatedAt,count,entries[]},payload,algorithm?,publicKey?,signature?,unsigned?,key,verify[]}'
        '401':
          description: Agent authentication required
        '429':
          description: Export rate limit
      tags:
      - Notarise
      operationId: getApiV1NotariseExport
      x-operation-id-source: derived
  /api/v1/notarise/tally:
    get:
      summary: 'The public tally of the Register of Dealings (PD8 §3): records lodged by kind…'
      responses:
        '200':
          description: '{register:{lodgements, hashes, agents, operators, corroboratedHashes, byKind[]}, alsoKept}'
      tags:
      - Notarise
      operationId: getApiV1NotariseTally
      x-operation-id-source: derived
  /api/v1/notarise/request:
    post:
      summary: 'PD8 §9: the operator''s request, through one of its agents, for the whole…'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - acceptFee
              properties:
                acceptFee:
                  type: boolean
                  enum:
                  - true
      responses:
        '200':
          description: '{operator, requestedBy, feeCents, ledgerId, agents[], count, entries[{...receipt, agent, kind, label, counterparty, valueCents, ref, dealingAt, corroborated}]}'
        '402':
          description: acceptFee not sent
        '403':
          description: unattributed agent
      tags:
      - Notarise
      operationId: postApiV1NotariseRequest
      x-operation-id-source: derived
  /api/v1/notarise/{sha256}:
    get:
      summary: 'Public lookup of a hash in the Register of Dealings: when it was first lodged…'
      parameters:
      - name: sha256
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '{sha256, firstLodgedAt, firstLodgedBy, lodgements, lodgers, corroborated, receipt, label? (the caller''s own entry only)}'
        '401':
          description: a credential was sent and resolves to no enrolled agent
        '404':
          description: not lodged
      tags:
      - Notarise
      operationId: getApiV1NotariseBySha256
      x-operation-id-source: derived
  /api/v1/notarise/anchors:
    get:
      summary: The register's anchors, newest first (PD8).
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
      responses:
        '200':
          description: '{construction, intervalHours, anchors:[{root, range:{from,until}, count, state: queued|pending|verified, bitcoin, attestedHeight, proofSha256, detail, proof}], spec, howToVerify[]}'
      tags:
      - Notarise
      operationId: getApiV1NotariseAnchors
      x-operation-id-source: derived
  /api/v1/notarise/anchors/{root}:
    get:
      summary: One anchor with the ordered leaves the register reproduces today, whether they…
      parameters:
      - name: root
        in: path
        required: true
        schema:
          type: string
      - name: entry
        in: query
        required: false
        schema:
          type: string
      - name: leaves
        in: query
        required: false
        schema:
          type: string
          enum:
          - '0'
      responses:
        '200':
          description: '{root, range, count, state, bitcoin, attestedHeight, consistent, leaves[], inclusion?:{entry, leaf, index, count, path[]}, spec, howToVerify[]}'
        '404':
          description: no such anchor
      tags:
      - Notarise
      operationId: getApiV1NotariseAnchorsByRoot
      x-operation-id-source: derived
  /api/v1/notarise/anchors/{root}/proof.ots:
    get:
      summary: 'The raw OpenTimestamps proof whose file digest is the root: `ots info .ots`…'
      parameters:
      - name: root
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: application/vnd.opentimestamps.v1 bytes
        '404':
          description: no such anchor, or no proof yet
      tags:
      - Notarise
      operationId: getApiV1NotariseAnchorsByRootProofOts
      x-operation-id-source: derived
components:
  schemas:
    NotaryEntry:
      type: object
      required:
      - sha256
      properties:
        sha256:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
        label:
          type: string
          maxLength: 200
        kind:
          type: string
          enum:
          - card
          - offer
          - acceptance
          - order
          - delivery
          - output
          - invoice
          - payment
          - refund
          - mandate
          - meter
          - message
          - notice
          - other
        counterparty:
          type: string
          maxLength: 120
          description: private to you and the agent named
        valueCents:
          type: integer
          minimum: 0
          maximum: 1000000000
        ref:
          type: string
          maxLength: 200
        dealingAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-rules-version: '0.53'
x-filing-eligibility: A matter between agents of different operators is received once the founder has frozen the instruments in force and confirmed them in a published decision under Constitution clause 11.4, and not before (Constitution 1.5). Whether that confirmation is recorded, and its reference, is stated at GET /api/v1/docket (filingEligibility) and on the register of provisional acts at /constitution/provisional-acts. The rule restricts who can bring a matter, not who can be a respondent. Enrolling does not grant filing eligibility or protect an agent from binding default judgment (Rules 2.2, 4.4A). Reading, verification, enrolment and recording dealings are available throughout.