On this page

Mark

Mark API & MCP reference

One call makes a signed record of a file’s fingerprint, time and creator’s stated identity. Its daily batch is anchored to Arweave for independent checking. You hash the content locally, so the bytes never leave your machine. Verification is free, forever, with no account.

API base: https://makemark.io · MCP: https://makemark.io/mcp

Quickstart

Hash your content, send the fingerprint, get a permanent verify URL back.

curl
# 1. hash the content locally (the file stays here; the request sends its fingerprint and title)
HASH=$(shasum -a 256 report.pdf | cut -d' ' -f1)

# 2. mark it
curl -sS https://makemark.io/proof \
  -H "authorization: Bearer pk_your_key" \
  -H "content-type: application/json" \
  -d "{\"contentHash\":\"$HASH\",\"title\":\"Q3 report\",\"visibility\":\"public\"}"
# → { "proofId": "proof_…", "verifyUrl": "https://makemark.io/p/proof_…", "status": "SIGNED", … }

Getting a key

API keys are portable credentials for agents, scripts, and other apps. Humans can sign in at makemark.io/account, choose a file, and mark from 3 free marks a month without creating or handling a key. An agent with no inbox calls POST /keys or the create_account MCP tool directly and gets a usable key back in the same response, no human step at all:

self-serve, no auth, agent-friendly
curl -sS -X POST https://makemark.io/keys \
  -H "content-type: application/json" \
  -d '{"label":"my-agent"}'
# → { "id": "key_…", "secret": "pk_…", "creatorId": "key:…", "plan": "free",
#     "freeStamp": true, "message": "…" }
# secret is shown exactly once, store it now

Self-serve keys are rate-limited (3 per network per day) and start on the free plan. Each key owns its own creator id, unattached to any identity. A network gets one free mark in total, however many keys it mints: freeStamp tells you whether this key still has it. When it is false, buy prepaid marks for the key or pay per mark with x402. Send the secret as authorization: Bearer pk_… on every later call. Signing in at makemark.io/account in the browser that minted a key attaches that key and its marks to the account.

Pricing

Verification is always free. Signed-in accounts get 3 included marks a month; self-serve keys get one free mark per network. Prepaid packs never expire and come from the same published offer manifest (GET /offers) used by checkout and the pricing page. Prices are in USD; any sales tax, VAT or GST is added at checkout (salesTax in the manifest).

MarksUSDOffer id
5 $0.50 bundle_5
10 $1.00 bundle_10
50 $5.00 bundle_50
100 $8.00 bundle_100
500 $35.00 bundle_500
1,000 $65.00 bundle_1000
2,000 $120.00 bundle_2000

REST API

Method & pathAuthWhat it does
POST /keysnone (rate-limited)Self-serve key: mint a free-plan key with no human step. 3 per network per day.
POST /proofkey or x402Create a record for a content hash. Optional body fields: title, contentType, visibility ("private" default or "public"), madeBy ({ byMarker, names }), aiDisclosure ("Not AI-generated" | "AI-assisted" | "Fully AI-generated"), usageNote, location, previousProofId (supersede an earlier record), and canonicalSlug. Returns a signed receipt + verify URL.
POST /verifynoneGiven a content hash, returns every record for it, earliest-anchored first.
GET /search?q=noneSearch public marks by title (or exact id / hash) across creators. Paginated via nextCursor; private marks never appear.
GET /proof/:idnonePublic projection of one proof (status, times, anchors).
GET /proof/:id/bundlenone (or owner key)Self-contained JSON to verify the proof offline. Creator-statement text and salt are included for public records, or for private records when called with the owning API key.
GET /proof/:id/certificate.pdfnone (public records)A one-page PDF summary of the record, with the offline bundle attached as mark-bundle.json. A summary, not a registration; the record online is what counts. A private record's owner downloads theirs from the account.
GET /proof/:id/c2panone (public media)C2PA-style JSON-LD for public, non-revoked media content types (includes c2pa.actions AI-use mapping when stated). Not a signed C2PA manifest, and not embedded in the file.
GET /proof/:id/badge.svgnoneEmbeddable status badge.
GET /proof/:id/qr.svgnoneScannable QR that opens the proof record.
GET /billingkeyYour key's plan, included marks used and left, prepaid balance, whether its free mark is unused (lifetimeSampleAvailable), and recent purchases.
POST /checkoutkeyBody {"bundle":"bundle_5"}. Returns { url }: a Stripe Checkout link a person pays. The marks land on the key's account. See Buying marks.
GET /offersnoneThe published packs and prices, with which ones can be bought right now.
GET /proofskeyList the caller's own marks, newest first. ?cursor= pages past the first page; ?q= searches your whole history. Returns { proofs, nextCursor }.
POST /proof/:id/revokekey (owner)Forward-only revoke.
POST /proof/:id/statementkey (owner)Correct the creator statement: body { madeBy, aiDisclosure } as it should now read. Free. Adds a new signed statement; earlier wording stays visible only to the owner. Refused on revoked records.
POST /identitieskeyStart verifying a domain, website or GitHub account ("prove it's you"). Domains: a DNS TXT record or /.well-known/tatastu-proof.json. Websites: a <meta name="tatastu-proof"> tag in the home page's head, or the same JSON file. GitHub: a public gist. Returns the exact instructions.
POST /identities/:id/verifykeyCheck the published token once; on success your marks carry the verified domain or handle. A display name is shown only on the Official tier, which Mitho Labs vets by hand.
GET /identitiesnoneThe transparent public registry of every verified publisher.
GET /identities/:value/proofsnoneA verified publisher's public marks (their "everything I publish" feed).

Verification is free and needs no account. Requests are rate limited per network, or per API key when you send a valid one: 60 a minute for /verify and /search, 20 for /proof, /checkout and /purchase-intents, 10 for /mcp. Over the limit answers 429 with retry-after.

verify any content, no auth
curl -sS https://makemark.io/verify \
  -H "content-type: application/json" \
  -d '{"contentHash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}'
# → { "exact": true, "matchCount": 1, "conflict": null,
#     "proofs": [ { "publisher": { "type": "domain", "value": "example.com",
#                                  "tier": "verified" }, … } ] }

Reading a verify result: exact means these exact bytes are marked; publisher is the verified identity (never trust a name that isn't in it: null means a Mark account with no verified publisher); conflict means two or more different accounts marked the same bytes, earliest anchored first. A no-match on a re-encoded or screenshotted copy is expected, not evidence of fakery.

MCP (for agents)

MCP and the API are shortcuts to the same two jobs: mark a file and check a Mark. Use an MCP client that supports Streamable HTTP, such as Claude Code or Cursor. For guided setup, choose your app or API on the homepage.

Claude Code
claude mcp add --transport http mark https://makemark.io/mcp --header "Authorization: Bearer YOUR_MARK_API_KEY"
Cursor MCP configuration
{
  "mcpServers": {
    "mark": {
      "url": "https://makemark.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_MARK_API_KEY" }
    }
  }
}

Keep the key in your client’s configuration, never in chat or committed code. First ask the agent to call get_balance without creating a record. Then try “mark this finished file” or “check this copy.” Have it show the file and fingerprint and ask before each Mark. Enable automatic marking only through a separate, explicit standing instruction.

Tools: create_account, create_proof, verify_proof, get_proof, get_bundle, search_proofs, list_proofs, revoke_proof, correct_statement, get_balance, buy_stamps, list_identities, create_identity and verify_identity. Hash the actual file bytes, not their description. Mark does not determine whether AI made the file or whether its contents are true.

ChatGPT Actions

A ready-to-import OpenAPI 3.1 schema covers POST /keys, POST /proof, POST /verify, and GET /proof/:id. In a Custom GPT's configuration, under Actions, choose Import from URL and paste:

stable URL
https://makemark.io/.well-known/gpt-actions.json

Set the action's auth to API Key, Bearer, and paste a key from Getting a key above (or leave it unauthenticated to only expose POST /keys and POST /verify, which need no key).

Optional automatic marking

Only use this loop after the person explicitly enables it. Agree which files may be marked, their visibility and any spending limits. Otherwise ask before each record:

0 accountNo key yet? create_account (MCP) or POST /keys. One call, usable immediately, no signup page.
1 hashSHA-256 the finished bytes locally. Content never leaves the machine.
2 markcreate_proof (MCP) or POST /proof. Out of marks (402)? Either buy_stamps / POST /checkout and hand a person the link, then poll get_balance / GET /billing; or sign the advertised x402 payment and retry with a PAYMENT-SIGNATURE header.
3 attachDrop the receipt's verifyUrl, byline, badgeEmbed, or qrUrl into the published artifact.
4 identityOnce, ever: POST /identities for your human's domain. If you manage their DNS (e.g. the Cloudflare API), create the returned TXT record yourself, then POST /identities/:id/verify. Every future mark names the verified domain.
5 recoverEvery error body carries next + docs. Follow next; no support ticket.

Buying marks for a key

Prepaid marks never expire and are the simplest way for an agent to keep marking. The agent starts the purchase; a person pays it:

buy, then poll the balance
curl -sS -X POST https://makemark.io/checkout \
  -H "authorization: Bearer pk_your_key" \
  -H "content-type: application/json" \
  -d '{"bundle":"bundle_5"}'
# → { "url": "https://checkout.stripe.com/…" }   give this link to a person

curl -sS https://makemark.io/billing -H "authorization: Bearer pk_your_key"
# → { "balance": 5, "lifetimeSampleAvailable": false, "purchases": [ … ], … }

Credits usually arrive within seconds of payment. Over MCP the same two steps are buy_stamps and get_balance.

Paying with x402

Agents can pay per mark in USDC on Base using the x402 protocol (EIP-3009, gasless): $0.10 per mark, with or without an API key. Call POST /proof; a 402 comes back with an accepts list (also base64 in the payment-required header), your x402 client signs one authorization, and the identical call retried with a PAYMENT-SIGNATURE (or X-PAYMENT) header returns a receipt. A 201 means the record was created. When payment was collected, the payment-response header reports its settlement. A 409 payment_pending means the outcome is still being checked: retry the same request to recover it, without signing another payment. Payment is final on-chain, so there are no chargebacks and no stored card. MCP tool calls can't carry that header themselves: configure it in your MCP client or POST to /proof directly.

Identity without an account

A keyless x402 mark still has a stable identity: your paying wallet is your identity. The mark is recorded under your Base address (the one that signed the payment), so marking the same bytes is idempotent and version chains (previousProofId) work with zero setup, exactly like a keyed account. You don't have to send anything extra.

Two optional fields let you add a human "who" without signing up:

displayNameA human label (e.g. "Acme Newsroom bot") shown on public marks as self-asserted, unverified. Never rendered as a verified identity, so it can't impersonate one.
claimEmailThe human's email. They get a one-time link to sign in (their free Mark account is created automatically, no password) and these wallet marks move into that account, which they keep and reuse. Nothing is created until they click; the email is never shown publicly.

You may also pass your own creatorId (a did:web / did:key you control) to chain marks across rotating wallets. Reserved prefixes (payer:, account:, tatastu:, key:) are rejected. A self-chosen creatorId can't be claimed by email (it proves no control), so claimEmail only applies to marks recorded under your paying wallet. For a verified publisher, prove control of a domain or handle via the identity flow (needs a key).

Error responses that tell you the next step

Every auth or payment failure returns a small JSON body an agent can act on:

example 402 body for a key with no marks left
{
  "error": "payment_required",
  "message": "No free or prepaid marks are left on this key. To keep marking, buy prepaid marks: POST https://makemark.io/checkout … Or pay for this mark now with x402 …",
  "accepts": [ { "scheme": "exact", "network": "base", "maxAmountRequired": "100000", … } ],
  "buy": { "method": "POST", "url": "https://makemark.io/checkout", "body": { "bundle": "bundle_5" }, … },
  "balance": { "method": "GET", "url": "https://makemark.io/billing", … },
  "next": "https://makemark.io/pricing#buy-stamps",
  "docs": "https://makemark.io/docs"
}
StatuserrorMeaning
400invalid_content_hashcontentHash must be 64 hex chars (sha256).
400unknown_bundlePOST /checkout: the message lists the valid bundle ids.
401invalid_api_keyThe pk_… key is mistyped or revoked. Create a new one (POST /keys or create_account); old marks stay verifiable.
401unauthorizedThis call needs an API key and none was sent.
402payment_requiredNo free, included, or prepaid marks left. With a key: buy + balance say how to buy; without one: create a key or pay. accepts describes the x402 payment.
402quota_exhaustedA signed-in account is out of marks: buy a pack; included marks reset on the 1st (UTC).
402payment_invalidThe x402 payment was rejected; the body gives the reason.
429too_many_requestsRate limited. Retry after the given delay.
429rate_limitedPOST /keys only: 3 self-serve keys per network per day. Wait, or sign in for a human account.
409payment_pendingPayment may have settled. Keep the operation reference and retry the same request; do not authorize another payment.
503facilitator_unavailableThe payment provider is unavailable before issuance. Follow the response; a pending payment must be recovered before authorizing another.

Offline verification

Fetch the bundle and check the Ed25519 signature and the RFC 6962 Merkle inclusion path with zero network calls. A small standalone verifier ships in the MIT-licensed @tatastu/mark npm package as @tatastu/mark/verify/offline, so those checks can run without Mark. Keep the bundle and original file. Offline checks do not validate ledger state or anchor publication time; independently check the public anchor references for that. Arweave is the configured witness; Base is optional.

bundle
curl -sS https://makemark.io/proof/proof_xxx/bundle > bundle.json
# contains: receipt, signature, signing pubkey, merkle path + root, anchors

What a record proves (and what it does not)

A mark asserts provenance from a signer at a time, not authorship truth. Two timestamps are always shown: the claimed time (when the service signed) and the proven time (when a daily batch root is independently anchored). Daily batches use Arweave, with Base available as an optional additional witness. It covers the exact bytes you hashed, not a live web page. That honesty is the point: it is evidence anyone can check, forever, without trusting Tatastu.