# Docs

Dosidal holds the regulator's own record of each prescription medicine (prescription drug) as a signed card. Fetch a card by its address or by any one of three codes: the barcode on the pack (Global Trade Item Number, GTIN), the national pack code, or the authorisation number. You get the card; or a list of cards where several share the code; or an empty list. Every card shows a stamp: the date it was last checked against the regulator. Every fetch leaves a signed receipt. Dosidal identifies a medicine; it does not advise on its use. Cards follow the open standard DOSE-10060.


## The card

Dosidal holds the regulator's own record of each prescription medicine as a card: one pack, one authorisation or one substance in one market, complete and signed, at its own permanent address. Every market uses the same card.

| Part of the card | What it holds |
|---|---|
| Address | The card's own permanent address on dosidal.ai. It never changes. |
| Identity | Name as the regulator publishes it, substance, strength, form, pack size and market. |
| Codes | Pack barcode, national pack code and authorisation number, whichever of the three the regulator publishes. |
| Standing | Status with the regulator. A withdrawn medicine says withdrawn, with the date. |
| Holder | The authorisation holder as the regulator publishes it. |
| As published | What the regulator publishes that is none of the above, under the regulator's own label. On a card only where there is such a field. |
| Source | For every value on the card: the regulator's page it was read from and the date it was read. |
| Standard | The DOSE-10060 version the card follows. |
| Signature | One signature covering the whole card. |
| Stamp | The date of the last check. It is attached when the card is served and is not inside the signed card. |

## The fetch

There is one way to get a card: the fetch. Give the card's address or any one of the three codes. You do not say which kind of code you hold.

- **One card** — the signed card itself, with its stamp. Nothing around it.
- **Several cards share the code** — all of them, as a plain list of signed cards.
- **No card** — an empty list.

Spaces at the ends are removed, case is ignored and a barcode is padded to 14 digits. The regulator's own punctuation is kept. After that the match is exact.

## Three codes

A card is found by the barcode on the pack (a Global Trade Item Number, GTIN, with a valid check digit), by the regulator's own number for the pack (the national pack code), or by the regulator's number for the authorised medicine (the authorisation number), whichever the regulator publishes. All three are on the card. A code the regulator publishes that is none of the three stays on the card under the regulator's own label; a card is not found by it.

## The stamp

Every card shows a stamp: the date it was last checked against the regulator. Dosidal reads every market once a day. Each full read of a market gives that market one signed stamp, and every card of the market shows it. The stamp is a date. Nothing expires.

A stamp's sig is elliptic-curve signature on the P-256 curve with SHA-256 (ES256) over the JSON Canonicalization Scheme (JCS) form of the stamp without its "sig" member, under the record key its kid names. It states the market, the day of the market's last full read (checked) and the point of the market's chain of changes it covers.

## The receipt

Each fetch leaves a signed receipt: which card was read, and when. The answer carries the receipt's id, in the header `x-dosidal-receipt` and, over the Model Context Protocol, in `_meta.receipt`. The receipt is written after the answer has gone; read it by its id on the receipts server. Reading a card's page is a fetch and leaves a receipt too.

A receipt names the cards read, each as <record id>@<version>, and when (cleared_at). answer_hash is the Secure Hash Algorithm, 256 bits (SHA-256) (hex) of the JCS (Request for Comments (RFC) 8785) form of the answer exactly as served: the card with its stamp, or the list of cards, or the empty list. query_hash is the SHA-256 (hex) of the JCS form of {"tool": "fetch", "code": what was asked, with the spaces at its ends removed and in capitals}; what was asked is the code, or the card's address, or, for a card read at its own address, the path of that address. A receipt holds the hash of what was asked and never the text. A receipt's hash is the SHA-256 of the JCS form of the receipt without hash, kid and sig. Its sig is ES256 (raw r||s, base64url) over the JCS form of the receipt without sig, under the key its kid names in this keyring. prev_hash is the hash of the receipt before it on the same chain. From 18 November 2026 (v 4) the receipt id is rco-dosidal/<uuid> and the chain is the receipt's own "chain" field; the id is given with the answer (header x-dosidal-receipt; _meta.receipt over Model Context Protocol (MCP)) and is the receipt's own id whichever region signs. The receipt is written after the answer has gone and is read by that id; get_receipt answers found false until it is written. Earlier receipts keep their ids. v 3 (18 November 2026): rco-dosidal:<chain>:<uuid>; where the region named could not write, another region wrote the receipt under its own chain name and the same uuid. v 2 (16 to 18 November 2026): they carry subject_type and no cards, and their answer_hash is over the whole response without its receipt member. The chains fr, wus2 and sea are closed: each ends with a signed closing entry naming the chain that follows it, and their receipts are answered by id, hash, signature and place on the chain only; they cannot be recomputed from what is served.

## Read limit

Read limit: 2,000 fetches a day for each caller address, and 2,000 a day across every address of the network that owns it. The day is the day in Coordinated Universal Time (UTC); the count starts again at 00:00 UTC. There is no hourly limit.

Counted, each as one: a fetch of a card through the Model Context Protocol (MCP) server, the web application programming interface (API) or the card's page; a signature check; a call to the list of changes. Not counted: the landing page, the country nodes, the Book of DOSE, the standard, the sitemaps and every machine file.

At the limit the answer is Hypertext Transfer Protocol (HTTP) 429: it says the daily limit is reached, what the limit is, and when the count starts again. No payment is offered or asked for. Come back the next day.

No caller and no crawler is exempt.

## The auditor's view

A caller can show an outside auditor exactly what its agents read and when. A caller that holds a caller token may carry it with a fetch, in the header `x-dosidal-caller`; the fetch is then recorded on that caller's statement. Carrying it is optional, raises no limit and unlocks nothing. A caller token is issued with a voluntary test payment. On the receipts server, `get_statement` returns the caller's receipts and a count by day, and `issue_auditor_key` gives a read-only key, limited in time, for the auditor. Every receipt on a statement is on a public chain and can be checked there without taking Dosidal's word.

## Tools

- **fetch** — Fetch a medicine's card. Give the card's address or any one of three codes: the barcode on the pack (Global Trade Item Number, GTIN), the national pack code, or the authorisation number. Returns the signed card with its stamp; or a list of cards where several share the code; or an empty list. Each fetch leaves a signed receipt. Fields: `code`. Servers: `mcp.dosidal.ai/mcp`, `mcp.dosidal-api.ai/mcp`, `mcp.dosidal-gtin.ai/mcp`, `mcp.dosidal-registry.ai/mcp`.
- **verify_card** — Check a card's signature against Dosidal's public keys. Fields: `card`. Servers: `mcp.dosidal.ai/mcp`, `mcp.dosidal-api.ai/mcp`, `mcp.dosidal-gtin.ai/mcp`, `mcp.dosidal-registry.ai/mcp`.
- **changes** — List the real changes to a country's cards since a date. Fields: `market`, `since`, `after`, `limit`, `reissues`. Servers: `mcp.dosidal.ai/mcp`, `mcp.dosidal-api.ai/mcp`, `mcp.dosidal-gtin.ai/mcp`, `mcp.dosidal-registry.ai/mcp`.
- **get_chain_head** — Get the latest receipt on a chain, and the names of the chains. Fields: `chain`. Servers: `mcp.rco-dosidal.ai/mcp`.
- **get_receipt** — Read one receipt, by its id or by its place in a chain. Fields: `id`, `chain`, `seq`. Servers: `mcp.rco-dosidal.ai/mcp`.
- **get_statement** — Read one caller's statement: what its agents fetched and when, over a period, as a list of receipts and a count by day. Give your caller token, or an auditor's key. Fields: `token`, `from`, `to`. Servers: `mcp.rco-dosidal.ai/mcp`.
- **issue_auditor_key** — Issue an auditor's key: a read-only key, limited in time, that reads your statement and nothing else. Give your caller token. Fields: `token`, `days`. Servers: `mcp.rco-dosidal.ai/mcp`.
- **list_receipts** — Read a chain of receipts from a point you name. Fields: `chain`, `since_seq`, `limit`. Servers: `mcp.rco-dosidal.ai/mcp`.
- **verify_receipt** — Check a receipt: its hash, its signature and its place in the chain. Needs no key and writes nothing. Fields: `receipt`, `response`, `answer`. Servers: `mcp.rco-dosidal.ai/mcp`.

## Web addresses

- `GET https://dosidal-api.ai/v1/fetch/{code}` — The fetch. Give a card's address or any one of three codes: the pack barcode, the national pack code or the authorisation number. Returns the signed card with its stamp; or a list of cards where several share the code; or an empty list. Also /v1/fetch?code=.
- `POST https://dosidal-api.ai/v1/verify` — Check a card's signature against the keyring. Send the card as the body.
- `GET https://dosidal-api.ai/v1/changes/{market}` — The real changes to a market's cards since a date: ?since=YYYY-MM-DD, then ?after=<next> to read on. ?reissues=true also lists reissues.
- `POST https://dosidal-api.ai/v1/verify/receipt` — Check a receipt. Send {"receipt": ..., "answer": ...}; the answer is optional. Writes nothing.
- `GET https://dosidal.ai/pack/<market>/<code>` for a pack, `GET https://dosidal.ai/record/<record id>` for an authorisation or a substance: a card's own address. A browser gets the card's page, an agent the card itself. Both are a fetch.
- [Every card: the sitemaps](https://dosidal.ai/sitemap.xml)
- [The markets and their stamps](https://dosidal.ai/markets.json)
- [Keyring](https://dosidal-registry.ai/.well-known/jwks.json)

## Check a card

A card's signature.sig is ES256 (raw r||s, base64url) over the JCS (RFC 8785) form of the card without its "signature" and "stamp" members, under the key signature.kid names in the keyring.

Each entry's hash is the SHA-256 of the JCS form of the entry without its "hash" member; prev_hash is the hash of the entry before it on the market's chain. Entries are not signed one by one: the checkpoint returned with the list signs the chain's head (seq and head_hash) with the record key, ES256 over the JCS form of the checkpoint without its "sig" member.

## Why now.

The question has moved. People ask an assistant about a medicine before they ask anyone else, and the assistant answers from what it has read.

The channel is moving. Makers are opening direct routes to patients. Wholesalers, pharmacies and telehealth services are building agents of their own.

Every one of them needs the same fixed point: which product is this, and where does it stand with the regulator today.

## What you get.

- **The record.** Identity, authorisation status and the authority that published it. Every field carries the page it was read from and the date.
- **The receipt.** Each fetch leaves a signed receipt bound to the answer. Anyone can check it without a key.
- **The list of changes.** Every real change to a card is published as an entry an agent can follow.

## Who it's for.

Authorisation holders and makers. Wholesalers and distributors. Pharmacies. Telehealth services. Assistants and the teams that build agents.

Dosidal never holds, sells, ships or dispenses a medicine.

## A code in, the card out.

A medicine's name is loose. One name covers several strengths, forms, pack sizes and markets. A code is exact.

Give Dosidal a Global Trade Item Number (GTIN), a national pack code or an authorisation number, and receive the card.

The pack code identifies the product, never the individual box. Serial and lot stay with the maker and the official verification systems.

## The MCP.

One Model Context Protocol server, dosidal, at mcp.dosidal.ai/mcp. Reads are open. No sign-in. Every fetch leaves a receipt.

## The API.

The same record over plain Hypertext Transfer Protocol Secure (HTTPS) and JavaScript Object Notation (JSON), at dosidal-api.ai. The API and the MCP return the same card for the same ask.

## The record.

A shared ingredient does not make two records the same product.

Unknown is returned as unknown. A value is never filled by inference. Every field carries the page it was read from and the date it was read.

## The standard.

Records follow DOSE-10060, Drug Object Signed Electronic, an open standard under the MIT licence. The text and the schema are at dose-10060.org. Receipts follow RCO-10060, the Record of Cleared Orders.

Each market is its own instance of the standard, in that market's own legal terms, named country first: US-DOSE-10060, EU-DOSE-10060.

## Machine kit

- [/llms.txt](/llms.txt)
- [/index.md](/index.md)
- [/robots.txt](/robots.txt)
- [/sitemap.xml](/sitemap.xml)
- [/.well-known/agent-card.json](/.well-known/agent-card.json)
- [/.well-known/mcp.json](/.well-known/mcp.json)
- [/.well-known/jwks.json](/.well-known/jwks.json)
- [/.well-known/security.txt](/.well-known/security.txt)
- [/.well-known/poppy.json](/.well-known/poppy.json)
- [/dose.json](/dose.json)
- [/nodes.json](/nodes.json)
- [/markets.json](/markets.json)

## Contact

Contact: the form at the bottom of https://dosidal.ai/#contact

---
Dosidal powers the agentic era of pharma.
The centre beam of pharmaceutical data for AI.

Dosidal is a product record. It identifies a medicine and its regulatory status. It does not advise on use.
Artificial intelligence makes mistakes. Dosidal is an information source, not a recommendation. Read the regulator.

FOR AGENTS: [llms.txt](/llms.txt) · [MCP server card](/.well-known/mcp/server-card.json) · [Agent card](/.well-known/agent-card.json) · [Keyring](https://dosidal-registry.ai/.well-known/jwks.json) · [security.txt](/.well-known/security.txt)
FOR BUILDERS: [Agent tools and SDKs](https://dosidal.ai/agent-tools) · [fetch](https://dosidal.ai/docs#tool-fetch) · [verify_card](https://dosidal.ai/docs#tool-verify_card) · [changes](https://dosidal.ai/docs#tool-changes)
FOR HUMANS: [Contact](#contact) · [Standard](https://dose-10060.org/) · [Library](https://book-of-dose.org/) · [Docs](https://dosidal.ai/docs) · [Setup](https://dosidal.ai/setup) · [Status](https://dosidal.ai/status) · [Terms of Use](https://dosidal.ai/terms) · [Privacy](https://dosidal.ai/privacy) · [Disclaimer](https://dosidal.ai/disclaimer) · [Legal](https://dosidal.ai/legal)
Dosidal AI Corp. · 260-4611 Viking Way, Richmond, BC V6V 2K9, Canada · © 2027 Dosidal AI Corp.
