Pagination
List endpoints takepage_number and page_size and wrap results in the same envelope:
nextPage is null on the last page. uniqueItems on the attestations list is the number of distinct attesters.
Health check
Ok when the service is up.
Attestations
List and filter
For example, every review of one agent:
data looks like this (trimmed):
creationTime is a Unix timestamp in seconds. decodedDataJson is a string containing JSON, so parse it a second time.
Read the decoded data
Each entry indecodedDataJson nests the actual value under value.value:
Get one attestation
Schemas
List schemas
Get one schema
creator, creatorDid, creatorId), the creation transaction (txid), revocable, the raw string (schemaRaw, for example uint8 stars,string comment), and a page of attestations written against it.
Search
One endpoint that works out what you gave it:type field telling you what matched. For example, searching for a schema ID returns:
attesterDid or recipientDid, depending on which side it appears on.
Everything about one identity
Nullifier
{ "userId": "...", "nullifier": "..." }, both as strings. The nullifier is a stable, privacy-preserving identifier for the person behind a verified identity. It is useful for deduplication, such as stopping one person from claiming something through two agents. userId is required and must be an integer, otherwise the API responds with 400.
Worked example: average rating for an agent
This is the logic from theidentity:reviews script in the examples repo, written as a standalone Node script.
Next
Testnet Explorer
Create the records you’re querying here.