AnchorRegistry Register API

The register API from AnchorRegistry — 9 operation(s) for register.

Operations 9

POST /registration/reserve Reserve Ar Ids #
GET /registration/status/{session_id} Get Registration Status #
POST /registration/seal Seal Tree #
POST /registration/retraction Retract Anchor #
POST /registration/review Register Review #
POST /registration/void Register Void #
POST /registration/affirmed Register Affirmed #
POST /registration/pending Create Pending Registration #
POST /webhook/stripe Stripe Webhook #

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/anchorregistry-ai:anchorregistry-ai-register-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

anchorregistry-ai-register-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AnchorRegistry Register API
  version: 1.0.0
tags:
- name: Register
paths:
  /registration/reserve:
    post:
      tags:
      - Register
      summary: Reserve Ar Ids
      description: 'Pre-generate AR-IDs before payment so the client can compute:

        treeId = keccak256(K ‖ rootArId)

        tokenCommitment = keccak256(K ‖ arId)

        Both are computed client-side and passed through to the contract.

        K (the Anchor Key, 32 random bytes) is never transmitted to this server.

        See ar-ui/app/register/confirm/page.tsx for the exact construction

        and the paper spec (anchorregistry_gt.pdf §4.2).'
      operationId: reserve_ar_ids_registration_reserve_post
      parameters:
      - name: count
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Count
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/status/{session_id}:
    get:
      tags:
      - Register
      summary: Get Registration Status
      description: Poll registration status by Stripe session ID.
      operationId: get_registration_status_registration_status__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/seal:
    post:
      tags:
      - Register
      summary: Seal Tree
      description: 'Seal a provenance tree on-chain via registerSeal().

        Requires a valid tokenCommitment proving the caller holds the ownershipToken.'
      operationId: seal_tree_registration_seal_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SealRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/retraction:
    post:
      tags:
      - Register
      summary: Retract Anchor
      description: 'Register a RETRACTION on-chain via registerTargeted().

        Requires a valid tokenCommitment proving the caller holds the ownershipToken.'
      operationId: retract_anchor_registration_retraction_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RetractionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/review:
    post:
      tags:
      - Register
      summary: Register Review
      description: Register a REVIEW anchor targeting an existing anchor (operator-only governance).
      operationId: register_review_registration_review_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReviewRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/void:
    post:
      tags:
      - Register
      summary: Register Void
      description: Register a VOID anchor targeting an existing anchor (operator-only governance).
      operationId: register_void_registration_void_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoidRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/affirmed:
    post:
      tags:
      - Register
      summary: Register Affirmed
      description: Register an AFFIRMED anchor targeting an existing anchor (operator-only governance).
      operationId: register_affirmed_registration_affirmed_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AffirmedRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /registration/pending:
    post:
      tags:
      - Register
      summary: Create Pending Registration
      description: 'Pre-payment manifest storage. Supports three tiers:


        Proof ($5): 1 manifest — single on-chain TX

        Pair ($9): 2 manifests — A→B

        Tree ($12): 3 manifests — A→B and A→C (branching from root)


        parentHash links are wired server-side at registration time.

        Stripe metadata: pending_id, manifest_hash (first), artifact_type (first).

        All artifact data stays in Supabase pending_registrations table.'
      operationId: create_pending_registration_registration_pending_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PendingRegistrationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /webhook/stripe:
    post:
      tags:
      - Register
      summary: Stripe Webhook
      description: 'Stripe webhook — checkout.session.completed only.


        Dispatches to the correct registration handler based on tier:

        proof → single TX

        pair → 2 TXs, A→B

        tree → 3 TXs, A→B and A→C (root branches to both children)'
      operationId: stripe_webhook_webhook_stripe_post
      parameters:
      - name: stripe-signature
        in: header
        required: false
        schema:
          type: string
          title: Stripe-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RetractionRequest:
      properties:
        ar_id:
          type: string
          title: Ar Id
        target_ar_id:
          type: string
          title: Target Ar Id
        reason:
          type: string
          title: Reason
          default: ''
        replaced_by:
          type: string
          title: Replaced By
          default: ''
        token_commitment:
          type: string
          title: Token Commitment
      type: object
      required:
      - ar_id
      - target_ar_id
      - token_commitment
      title: RetractionRequest
    ManifestPayload:
      properties:
        manifest_hash:
          type: string
          title: Manifest Hash
        registered_at:
          type: string
          title: Registered At
          default: ''
        anchor_key_email:
          type: string
          title: Anchor Key Email
          default: ''
        artifact_type:
          type: string
          title: Artifact Type
        title:
          type: string
          title: Title
        author:
          type: string
          title: Author
          default: ''
        descriptor:
          type: string
          title: Descriptor
          default: ''
        parent_hash:
          type: string
          title: Parent Hash
          default: ''
        tier:
          type: string
          title: Tier
          default: proof
        notes:
          type: string
          title: Notes
          default: ''
        git_hash:
          type: string
          title: Git Hash
          default: ''
        license:
          type: string
          title: License
          default: ''
        language:
          type: string
          title: Language
          default: ''
        version:
          type: string
          title: Version
          default: ''
        doi:
          type: string
          title: Doi
          default: ''
        institution:
          type: string
          title: Institution
          default: ''
        co_authors:
          type: string
          title: Co Authors
          default: ''
        data_version:
          type: string
          title: Data Version
          default: ''
        format:
          type: string
          title: Format
          default: ''
        row_count:
          type: string
          title: Row Count
          default: ''
        schema_url:
          type: string
          title: Schema Url
          default: ''
        model_version:
          type: string
          title: Model Version
          default: ''
        architecture:
          type: string
          title: Architecture
          default: ''
        parameters:
          type: string
          title: Parameters
          default: ''
        training_dataset:
          type: string
          title: Training Dataset
          default: ''
        agent_version:
          type: string
          title: Agent Version
          default: ''
        runtime:
          type: string
          title: Runtime
          default: ''
        capabilities:
          type: string
          title: Capabilities
          default: ''
        media_type:
          type: string
          title: Media Type
          default: ''
        duration:
          type: string
          title: Duration
          default: ''
        isrc:
          type: string
          title: Isrc
          default: ''
        text_type:
          type: string
          title: Text Type
          default: ''
        isbn:
          type: string
          title: Isbn
          default: ''
        publisher:
          type: string
          title: Publisher
          default: ''
        platform:
          type: string
          title: Platform
          default: ''
        description:
          type: string
          title: Description
          default: ''
        file_manifest_hash:
          type: string
          title: File Manifest Hash
          default: ''
        post_id:
          type: string
          title: Post Id
          default: ''
        post_date:
          type: string
          title: Post Date
          default: ''
        post_url:
          type: string
          title: Post Url
          default: ''
        executor:
          type: string
          title: Executor
          default: ''
        event_type:
          type: string
          title: Event Type
          default: ''
        event_date:
          type: string
          title: Event Date
          default: ''
        location:
          type: string
          title: Location
          default: ''
        orchestrator:
          type: string
          title: Orchestrator
          default: ''
        chain:
          type: string
          title: Chain
          default: ''
        asset_type:
          type: string
          title: Asset Type
          default: ''
        contract_address:
          type: string
          title: Contract Address
          default: ''
        tx_hash:
          type: string
          title: Tx Hash
          default: ''
        token_id:
          type: string
          title: Token Id
          default: ''
        block_number:
          type: string
          title: Block Number
          default: ''
        receipt_type:
          type: string
          title: Receipt Type
          default: ''
        merchant:
          type: string
          title: Merchant
          default: ''
        amount:
          type: string
          title: Amount
          default: ''
        currency:
          type: string
          title: Currency
          default: ''
        order_id:
          type: string
          title: Order Id
          default: ''
        receipt_url:
          type: string
          title: Receipt Url
          default: ''
        doc_type:
          type: string
          title: Doc Type
          default: ''
        jurisdiction:
          type: string
          title: Jurisdiction
          default: ''
        parties:
          type: string
          title: Parties
          default: ''
        effective_date:
          type: string
          title: Effective Date
          default: ''
        proof_type:
          type: string
          title: Proof Type
          default: ''
        proof_system:
          type: string
          title: Proof System
          default: ''
        circuit_id:
          type: string
          title: Circuit Id
          default: ''
        vkey_hash:
          type: string
          title: Vkey Hash
          default: ''
        audit_firm:
          type: string
          title: Audit Firm
          default: ''
        audit_scope:
          type: string
          title: Audit Scope
          default: ''
        verifier_url:
          type: string
          title: Verifier Url
          default: ''
        report_url:
          type: string
          title: Report Url
          default: ''
        proof_hash:
          type: string
          title: Proof Hash
          default: ''
        kind:
          type: string
          title: Kind
          default: ''
        value:
          type: string
          title: Value
          default: ''
        url:
          type: string
          title: Url
          default: ''
        report_type:
          type: string
          title: Report Type
          default: ''
        client:
          type: string
          title: Client
          default: ''
        engagement:
          type: string
          title: Engagement
          default: ''
        authors:
          type: string
          title: Authors
          default: ''
        note_type:
          type: string
          title: Note Type
          default: ''
        date:
          type: string
          title: Date
          default: ''
        participants:
          type: string
          title: Participants
          default: ''
        tree_id:
          type: string
          title: Tree Id
          default: ''
        token_commitment:
          type: string
          title: Token Commitment
          default: ''
        reserved_ar_id:
          type: string
          title: Reserved Ar Id
          default: ''
      type: object
      required:
      - manifest_hash
      - artifact_type
      - title
      title: ManifestPayload
    AffirmedRequest:
      properties:
        ar_id:
          type: string
          title: Ar Id
        target_ar_id:
          type: string
          title: Target Ar Id
        affirmed_by:
          type: string
          title: Affirmed By
          default: ''
        finding_url:
          type: string
          title: Finding Url
          default: ''
      type: object
      required:
      - ar_id
      - target_ar_id
      title: AffirmedRequest
    SealRequest:
      properties:
        ar_id:
          type: string
          title: Ar Id
        new_tree_root:
          type: string
          title: New Tree Root
          default: ''
        reason:
          type: string
          title: Reason
          default: ''
        token_commitment:
          type: string
          title: Token Commitment
      type: object
      required:
      - ar_id
      - token_commitment
      title: SealRequest
    PendingRegistrationRequest:
      properties:
        manifests:
          anyOf:
          - items:
              $ref: '#/components/schemas/ManifestPayload'
            type: array
          - type: 'null'
          title: Manifests
        tier:
          type: string
          title: Tier
          default: proof
        manifest_hash:
          anyOf:
          - type: string
          - type: 'null'
          title: Manifest Hash
        registered_at:
          type: string
          title: Registered At
          default: ''
        anchor_key_email:
          type: string
          title: Anchor Key Email
          default: ''
        artifact_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Artifact Type
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        author:
          type: string
          title: Author
          default: ''
        descriptor:
          type: string
          title: Descriptor
          default: ''
        parent_hash:
          type: string
          title: Parent Hash
          default: ''
        notes:
          type: string
          title: Notes
          default: ''
        git_hash:
          type: string
          title: Git Hash
          default: ''
        license:
          type: string
          title: License
          default: ''
        language:
          type: string
          title: Language
          default: ''
        version:
          type: string
          title: Version
          default: ''
        doi:
          type: string
          title: Doi
          default: ''
        institution:
          type: string
          title: Institution
          default: ''
        co_authors:
          type: string
          title: Co Authors
          default: ''
        data_version:
          type: string
          title: Data Version
          default: ''
        format:
          type: string
          title: Format
          default: ''
        row_count:
          type: string
          title: Row Count
          default: ''
        schema_url:
          type: string
          title: Schema Url
          default: ''
        model_version:
          type: string
          title: Model Version
          default: ''
        architecture:
          type: string
          title: Architecture
          default: ''
        parameters:
          type: string
          title: Parameters
          default: ''
        training_dataset:
          type: string
          title: Training Dataset
          default: ''
        agent_version:
          type: string
          title: Agent Version
          default: ''
        runtime:
          type: string
          title: Runtime
          default: ''
        capabilities:
          type: string
          title: Capabilities
          default: ''
        media_type:
          type: string
          title: Media Type
          default: ''
        duration:
          type: string
          title: Duration
          default: ''
        isrc:
          type: string
          title: Isrc
          default: ''
        text_type:
          type: string
          title: Text Type
          default: ''
        isbn:
          type: string
          title: Isbn
          default: ''
        publisher:
          type: string
          title: Publisher
          default: ''
        platform:
          type: string
          title: Platform
          default: ''
        description:
          type: string
          title: Description
          default: ''
        file_manifest_hash:
          type: string
          title: File Manifest Hash
          default: ''
        post_id:
          type: string
          title: Post Id
          default: ''
        post_date:
          type: string
          title: Post Date
          default: ''
        post_url:
          type: string
          title: Post Url
          default: ''
        executor:
          type: string
          title: Executor
          default: ''
        event_type:
          type: string
          title: Event Type
          default: ''
        event_date:
          type: string
          title: Event Date
          default: ''
        location:
          type: string
          title: Location
          default: ''
        orchestrator:
          type: string
          title: Orchestrator
          default: ''
        chain:
          type: string
          title: Chain
          default: ''
        asset_type:
          type: string
          title: Asset Type
          default: ''
        contract_address:
          type: string
          title: Contract Address
          default: ''
        tx_hash:
          type: string
          title: Tx Hash
          default: ''
        token_id:
          type: string
          title: Token Id
          default: ''
        block_number:
          type: string
          title: Block Number
          default: ''
        receipt_type:
          type: string
          title: Receipt Type
          default: ''
        merchant:
          type: string
          title: Merchant
          default: ''
        amount:
          type: string
          title: Amount
          default: ''
        currency:
          type: string
          title: Currency
          default: ''
        order_id:
          type: string
          title: Order Id
          default: ''
        receipt_url:
          type: string
          title: Receipt Url
          default: ''
        doc_type:
          type: string
          title: Doc Type
          default: ''
        jurisdiction:
          type: string
          title: Jurisdiction
          default: ''
        parties:
          type: string
          title: Parties
          default: ''
        effective_date:
          type: string
          title: Effective Date
          default: ''
        proof_type:
          type: string
          title: Proof Type
          default: ''
        proof_system:
          type: string
          title: Proof System
          default: ''
        circuit_id:
          type: string
          title: Circuit Id
          default: ''
        vkey_hash:
          type: string
          title: Vkey Hash
          default: ''
        audit_firm:
          type: string
          title: Audit Firm
          default: ''
        audit_scope:
          type: string
          title: Audit Scope
          default: ''
        verifier_url:
          type: string
          title: Verifier Url
          default: ''
        report_url:
          type: string
          title: Report Url
          default: ''
        proof_hash:
          type: string
          title: Proof Hash
          default: ''
        kind:
          type: string
          title: Kind
          default: ''
        value:
          type: string
          title: Value
          default: ''
        url:
          type: string
          title: Url
          default: ''
        report_type:
          type: string
          title: Report Type
          default: ''
        client:
          type: string
          title: Client
          default: ''
        engagement:
          type: string
          title: Engagement
          default: ''
        authors:
          type: string
          title: Authors
          default: ''
        note_type:
          type: string
          title: Note Type
          default: ''
        date:
          type: string
          title: Date
          default: ''
        participants:
          type: string
          title: Participants
          default: ''
        tree_id:
          type: string
          title: Tree Id
          default: ''
        token_commitment:
          type: string
          title: Token Commitment
          default: ''
        reserved_ar_id:
          type: string
          title: Reserved Ar Id
          default: ''
      type: object
      title: PendingRegistrationRequest
      description: 'Proof:      single manifest fields at top level, tier=''proof''

        Pair/Tree:  manifests list + tier field'
    VoidRequest:
      properties:
        ar_id:
          type: string
          title: Ar Id
        target_ar_id:
          type: string
          title: Target Ar Id
        review_ar_id:
          type: string
          title: Review Ar Id
          default: ''
        finding_url:
          type: string
          title: Finding Url
          default: ''
        evidence:
          type: string
          title: Evidence
          default: ''
      type: object
      required:
      - ar_id
      - target_ar_id
      title: VoidRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ReviewRequest:
      properties:
        ar_id:
          type: string
          title: Ar Id
        target_ar_id:
          type: string
          title: Target Ar Id
        review_type:
          type: string
          title: Review Type
          default: ''
        evidence_url:
          type: string
          title: Evidence Url
          default: ''
      type: object
      required:
      - ar_id
      - target_ar_id
      title: ReviewRequest