AnchorRegistry Verify API
The verify API from AnchorRegistry — 3 operation(s) for verify.
The verify API from AnchorRegistry — 3 operation(s) for verify.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/anchorregistry-ai:anchorregistry-ai-verify-api"
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.
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: 3.2.0
info:
title: AnchorRegistry Verify API
version: 1.0.0
tags:
- name: Verify
paths:
/verify/hash/{manifest_hash}:
get:
tags:
- Verify
summary: Verify By Manifest Hash
description: 'Resolve a manifest hash to its anchor record.
Supports anchorregistry.ai/sha256:abc123... resolution.
Verification works even if AR-ID is stripped from an artifact.'
operationId: verify_by_manifest_hash_verify_hash__manifest_hash__get
parameters:
- name: manifest_hash
in: path
required: true
schema:
type: string
title: Manifest Hash
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/verify/{ar_id}:
get:
tags:
- Verify
summary: Verify By Ar Id
description: 'Resolve an AR-ID to its full anchor record.
Checks Redis cache first, then Supabase, then verifies on-chain.
Primary endpoint for anchorregistry.com/verify/:id
Pass ?fresh=1 to bypass Redis and force a live DB read (also re-caches).'
operationId: verify_by_ar_id_verify__ar_id__get
parameters:
- name: ar_id
in: path
required: true
schema:
type: string
title: Ar Id
- name: fresh
in: query
required: false
schema:
type: boolean
default: false
title: Fresh
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tree/{ar_id}:
get:
tags:
- Verify
summary: Get Tree
description: 'Return the full subtree rooted at ar_id as a flat array of complete anchor
records sorted by depth. BFS traversal capped at max_depth levels (default 10)
and max_nodes total nodes (default 50). truncated=true if the cap was hit.
Designed for machine consumption — AI agents, automated verifiers, tree renderers.'
operationId: get_tree_tree__ar_id__get
parameters:
- name: ar_id
in: path
required: true
schema:
type: string
title: Ar Id
- name: max_depth
in: query
required: false
schema:
type: integer
default: 10
title: Max Depth
- name: max_nodes
in: query
required: false
schema:
type: integer
default: 50
title: Max Nodes
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/TreeResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
VerifyResponse:
properties:
found:
type: boolean
title: Found
anchor:
anyOf:
- $ref: '#/components/schemas/AnchorRecord'
- type: 'null'
verified_on_chain:
type: boolean
title: Verified On Chain
default: false
type: object
required:
- found
title: VerifyResponse
ArtifactType:
type: string
enum:
- CODE
- RESEARCH
- DATA
- MODEL
- AGENT
- MEDIA
- TEXT
- POST
- ONCHAIN
- REPORT
- NOTE
- WEBSITE
- EVENT
- RECEIPT
- LEGAL
- ENTITY
- PROOF
- SEAL
- RETRACTION
- REVIEW
- VOID
- AFFIRMED
- ACCOUNT
- OTHER
title: ArtifactType
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
AnchorRecord:
properties:
ar_id:
type: string
title: Ar Id
manifest_hash:
type: string
title: Manifest Hash
artifact_type:
$ref: '#/components/schemas/ArtifactType'
title:
anyOf:
- type: string
- type: 'null'
title: Title
author:
anyOf:
- type: string
- type: 'null'
title: Author
descriptor:
type: string
title: Descriptor
registrant:
type: string
title: Registrant
parent_hash:
anyOf:
- type: string
- type: 'null'
title: Parent Hash
parent_type:
anyOf:
- type: string
- type: 'null'
title: Parent Type
parent_title:
anyOf:
- type: string
- type: 'null'
title: Parent Title
depth:
type: integer
title: Depth
default: 0
type_fields:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Type Fields
git_hash:
anyOf:
- type: string
- type: 'null'
title: Git Hash
license:
anyOf:
- type: string
- type: 'null'
title: License
language:
anyOf:
- type: string
- type: 'null'
title: Language
version:
anyOf:
- type: string
- type: 'null'
title: Version
doi:
anyOf:
- type: string
- type: 'null'
title: Doi
institution:
anyOf:
- type: string
- type: 'null'
title: Institution
co_authors:
anyOf:
- type: string
- type: 'null'
title: Co Authors
data_version:
anyOf:
- type: string
- type: 'null'
title: Data Version
format:
anyOf:
- type: string
- type: 'null'
title: Format
row_count:
anyOf:
- type: string
- type: 'null'
title: Row Count
schema_url:
anyOf:
- type: string
- type: 'null'
title: Schema Url
model_version:
anyOf:
- type: string
- type: 'null'
title: Model Version
architecture:
anyOf:
- type: string
- type: 'null'
title: Architecture
parameters:
anyOf:
- type: string
- type: 'null'
title: Parameters
training_dataset:
anyOf:
- type: string
- type: 'null'
title: Training Dataset
agent_version:
anyOf:
- type: string
- type: 'null'
title: Agent Version
runtime:
anyOf:
- type: string
- type: 'null'
title: Runtime
capabilities:
anyOf:
- type: string
- type: 'null'
title: Capabilities
media_type:
anyOf:
- type: string
- type: 'null'
title: Media Type
duration:
anyOf:
- type: string
- type: 'null'
title: Duration
isrc:
anyOf:
- type: string
- type: 'null'
title: Isrc
text_type:
anyOf:
- type: string
- type: 'null'
title: Text Type
isbn:
anyOf:
- type: string
- type: 'null'
title: Isbn
publisher:
anyOf:
- type: string
- type: 'null'
title: Publisher
platform:
anyOf:
- type: string
- type: 'null'
title: Platform
post_id:
anyOf:
- type: string
- type: 'null'
title: Post Id
post_date:
anyOf:
- type: string
- type: 'null'
title: Post Date
chain_id:
anyOf:
- type: string
- type: 'null'
title: Chain Id
asset_type:
anyOf:
- type: string
- type: 'null'
title: Asset Type
contract_address:
anyOf:
- type: string
- type: 'null'
title: Contract Address
token_id:
anyOf:
- type: string
- type: 'null'
title: Token Id
block_num:
anyOf:
- type: string
- type: 'null'
title: Block Num
executor:
anyOf:
- type: string
- type: 'null'
title: Executor
event_type:
anyOf:
- type: string
- type: 'null'
title: Event Type
event_date:
anyOf:
- type: string
- type: 'null'
title: Event Date
location:
anyOf:
- type: string
- type: 'null'
title: Location
orchestrator:
anyOf:
- type: string
- type: 'null'
title: Orchestrator
receipt_type:
anyOf:
- type: string
- type: 'null'
title: Receipt Type
merchant:
anyOf:
- type: string
- type: 'null'
title: Merchant
amount:
anyOf:
- type: string
- type: 'null'
title: Amount
currency:
anyOf:
- type: string
- type: 'null'
title: Currency
order_id:
anyOf:
- type: string
- type: 'null'
title: Order Id
report_type:
anyOf:
- type: string
- type: 'null'
title: Report Type
client:
anyOf:
- type: string
- type: 'null'
title: Client
engagement:
anyOf:
- type: string
- type: 'null'
title: Engagement
authors:
anyOf:
- type: string
- type: 'null'
title: Authors
note_type:
anyOf:
- type: string
- type: 'null'
title: Note Type
date:
anyOf:
- type: string
- type: 'null'
title: Date
participants:
anyOf:
- type: string
- type: 'null'
title: Participants
description:
anyOf:
- type: string
- type: 'null'
title: Description
doc_type:
anyOf:
- type: string
- type: 'null'
title: Doc Type
jurisdiction:
anyOf:
- type: string
- type: 'null'
title: Jurisdiction
parties:
anyOf:
- type: string
- type: 'null'
title: Parties
effective_date:
anyOf:
- type: string
- type: 'null'
title: Effective Date
entity_type:
anyOf:
- type: string
- type: 'null'
title: Entity Type
entity_domain:
anyOf:
- type: string
- type: 'null'
title: Entity Domain
verification_method:
anyOf:
- type: string
- type: 'null'
title: Verification Method
verification_proof:
anyOf:
- type: string
- type: 'null'
title: Verification Proof
canonical_url:
anyOf:
- type: string
- type: 'null'
title: Canonical Url
document_hash:
anyOf:
- type: string
- type: 'null'
title: Document Hash
proof_type:
anyOf:
- type: string
- type: 'null'
title: Proof Type
proof_system:
anyOf:
- type: string
- type: 'null'
title: Proof System
circuit_id:
anyOf:
- type: string
- type: 'null'
title: Circuit Id
vkey_hash:
anyOf:
- type: string
- type: 'null'
title: Vkey Hash
audit_firm:
anyOf:
- type: string
- type: 'null'
title: Audit Firm
audit_scope:
anyOf:
- type: string
- type: 'null'
title: Audit Scope
verifier_url:
anyOf:
- type: string
- type: 'null'
title: Verifier Url
report_url:
anyOf:
- type: string
- type: 'null'
title: Report Url
proof_hash:
anyOf:
- type: string
- type: 'null'
title: Proof Hash
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
replaced_by:
anyOf:
- type: string
- type: 'null'
title: Replaced By
review_type:
anyOf:
- type: string
- type: 'null'
title: Review Type
evidence_url:
anyOf:
- type: string
- type: 'null'
title: Evidence Url
review_ar_id:
anyOf:
- type: string
- type: 'null'
title: Review Ar Id
finding_url:
anyOf:
- type: string
- type: 'null'
title: Finding Url
evidence:
anyOf:
- type: string
- type: 'null'
title: Evidence
affirmed_by:
anyOf:
- type: string
- type: 'null'
title: Affirmed By
capacity:
anyOf:
- type: string
- type: 'null'
title: Capacity
file_manifest_hash:
anyOf:
- type: string
- type: 'null'
title: File Manifest Hash
kind:
anyOf:
- type: string
- type: 'null'
title: Kind
value:
anyOf:
- type: string
- type: 'null'
title: Value
url:
anyOf:
- type: string
- type: 'null'
title: Url
sealed_at_block:
anyOf:
- type: integer
- type: 'null'
title: Sealed At Block
new_tree_root:
anyOf:
- type: string
- type: 'null'
title: New Tree Root
seal_reason:
anyOf:
- type: string
- type: 'null'
title: Seal Reason
is_sealed:
type: boolean
title: Is Sealed
default: false
is_retracted:
type: boolean
title: Is Retracted
default: false
retracted_by:
anyOf:
- type: string
- type: 'null'
title: Retracted By
tx_hash:
type: string
title: Tx Hash
block_number:
type: integer
title: Block Number
block_timestamp:
type: string
format: date-time
title: Block Timestamp
registry_address:
anyOf:
- type: string
- type: 'null'
title: Registry Address
verify_url:
type: string
title: Verify Url
machine_url:
type: string
title: Machine Url
children:
anyOf:
- items:
type: object
type: array
- type: 'null'
title: Children
type: object
required:
- ar_id
- manifest_hash
- artifact_type
- descriptor
- registrant
- tx_hash
- block_number
- block_timestamp
- verify_url
- machine_url
title: AnchorRecord
TreeResponse:
properties:
ar_id:
type: string
title: Ar Id
found:
type: boolean
title: Found
nodes:
items:
$ref: '#/components/schemas/AnchorRecord'
type: array
title: Nodes
default: []
total:
type: integer
title: Total
default: 0
truncated:
type: boolean
title: Truncated
default: false
type: object
required:
- ar_id
- found
title: TreeResponse