AsOf / API

Open data and embedding

All AsOf passports are open data. Any website or app can read them, show them, and stay current — no key, no sign-up.

Endpoints

/api/v1/index.jsonList of assets, counters and the time of the last run
/api/v1/passports/{id}.jsonOne passport: facts with quotes and sources, on-chain measurements, archived sources
/api/v1/changes.jsonDetected changes in source documents (short passages)
/api/v1/schema.jsonJSON Schema of the passport format
/feed.xmlChange log as an Atom feed

The files can be read from any website (CORS enabled). They are static, so there are no rate limits on our side.

Example

const r = await fetch("https://asof.pro/api/v1/passports/paxg.json");
const p = await r.json();
console.log(p.name, "as of", p.as_of, p.counts);
// → PAX Gold as of 2026-10-23 { confirmed: 16, claimed: 1, unknown: 0 }

Embed a passport card

Paste two lines into any page. The card updates by itself whenever AsOf republishes. No cookies, no tracking.

<div data-asof="paxg" data-lang="en"></div>
<script src="https://asof.pro/embed.js" async></script>

Where scripts are not allowed, use the iframe:

<iframe src="https://asof.pro/en/embed/paxg/" title="AsOf passport"
        style="width:100%;max-width:560px;height:460px;border:0"></iframe>

Preview

How fresh

Updated after every daily run (05:00 UTC) and when the editor approves facts. Each passport carries as_of; index.json carries generated_at.

Versions

/api/v1 stays compatible: fields may be added, never renamed or removed. A breaking change gets /api/v2, and v1 keeps working for at least six months.

Licence

AsOf data and the format are CC BY 4.0. Credit “AsOf by Diikun LAB” with a link to the passport. Quotes are short excerpts of the issuers' documents and remain the issuers' text.

What we ask

Not a licence condition, a request: show the as-of date, keep Unknown visible, and do not turn the data into scores, ratings or advice.

Read the format specification ↗ GitHub: docs & examples ↗