Proof of Stock Connect an agent

API · v0.10.1

Every call, with its price

One read-only service, three ways in: an HTTP API for code, an MCP server for agents, and a pass over x402 for when the free minute is not enough. No key, no account, no cookies. Every answer carries its time and its source.

Free60 unitsa minute per client (one IP address; IPv6 by its /56), HTTP and MCP together. A call costs 1 unit, a passport 3, a batch of n addresses ⌈n/10⌉ (50 addresses: 5 units).
Pass · x4020.01 USDCon Base for 10 minutes at 600 units a minute. Version 1 or 2, no account.
MCP11 toolsread-only (one quotes live and runs a dry run, signing nothing), on the same limit and the same pass, at https://proofofstock.com/mcp.

HTTP API

free

Read-only JSON over GET at https://proofofstock.com; only the agent test and /api/simulate with a wallet take a POST. A refused request costs nothing; over the limit the answer says when to come back.

GET/verify1 unit

Is this exact contract the issuer's token on this chain? Listed or not, a look-alike or not, with the issuer list it was decided against.

params chain address

curl -s 'https://proofofstock.com/verify?chain=base&address=0xb20000000000000000000078ee7ce2fe4908108c'
Reference
GET/verifybatch⌈n/10⌉ units

The same check for up to 50 addresses in one call, under one issuer list and one proof.

params chain addresses

curl -s 'https://proofofstock.com/verify?chain=base&addresses=0xb20000000000000000000078ee7ce2fe4908108c,0xb200000000000000000000397293cb8cda9a10c5'
Reference
GET/api/find1 unit

The issuer's tokens matching a ticker, a company name or an ISIN, with their contract addresses.

params q chain

curl -s 'https://proofofstock.com/api/find?q=nvda'
Reference
GET/api/passport3 units

A token's whole passport: the listing, the issuer's price and its age, the on-chain premium and 24 hours of its history.

params chain address hours

curl -s 'https://proofofstock.com/api/passport?chain=base&address=0xb20000000000000000000078ee7ce2fe4908108c'
Reference
GET/api/simulate10 units

What a dollar amount of a listed stock token would get right now, for that exact size: the verdict first (a look-alike gets no quote), then a live quote, the effective premium over the issuer's price against your limit, the sell-back and the market's state. Nothing is signed; no transaction is returned.

params chain token usd slippage_bps max_premium

curl -s 'https://proofofstock.com/api/simulate?chain=base&token=0xb20000000000000000000078ee7ce2fe4908108c&usd=25'
Reference
POST/api/simulate15 units

The same with your public wallet address, in a JSON body only (a URL is written to the web server's log): that swap run as a dry run by eth_call for your wallet, and whether it would revert, and why. Never send a private key.

params chain token usd wallet

curl -sS -X POST https://proofofstock.com/api/simulate -H 'content-type: application/json' -d '{"chain": "base", "token": "0xb20000000000000000000078ee7ce2fe4908108c", "usd": 25, "wallet": "0x..."}'
Reference
GET/api/overview1 unit

Per chain, the tokens whose on-chain price sits furthest from the issuer's, as of the latest reading (every 15 minutes, not a live quote).

params chain

curl -s 'https://proofofstock.com/api/overview?chain=base'
Reference
GET/api/impostors1 unit

Look-alikes (impostors): tokens that copy an issuer token's symbol or name, first seen in the last 7 days, each with the issuer's real address.

params chain limit

curl -s 'https://proofofstock.com/api/impostors?chain=base&limit=5'
Reference
GET/api/matrix1 unit

Shares listed on both chains we cover: each chain's premium over its own issuer, and the gap between the two premiums (not a price difference to trade on).

curl -s 'https://proofofstock.com/api/matrix'
Reference
GET/api/history/cases1 unit

The case log of the last 7 days, up to 50 events: each look-alike opened, changed, listed or gone, dated. Older cases are kept and given on request.

params chain event since limit

curl -s 'https://proofofstock.com/api/history/cases?chain=base&limit=5'
Reference
GET/api/history/registry1 unit

The issuer list as it changed, or the one in force at the end of a given day.

params chain date

curl -s 'https://proofofstock.com/api/history/registry?chain=base'
Reference
GET/api/archive/at1 unit

What one address was on a given day, from what was recorded that day. Today is answered too, marked partial: true until midnight UTC.

params chain address date

curl -s 'https://proofofstock.com/api/archive/at?chain=base&address=0xb20000000000000000000078ee7ce2fe4908108c&date=2026-11-15'
Reference
GET/api/list/<hex>1 unit

The exact issuer list a verdict names. <hex> is registry_hash from its list_proof without "sha256:"; the SHA-256 of what this returns must equal <hex>. /api/list/<hex>/addresses gives the addresses alone.

curl -fsS https://proofofstock.com/api/list/<hex> | sha256sum    # must print <hex>
Reference
GET/api/status1 unit

Is the data fresh: each issuer list's age, the newest price reading, the impostor list.

curl -s 'https://proofofstock.com/api/status'
Reference
GET/api/exam1 unit

The latest public exam, run daily: questions whose right answers come from the issuers' own lists, and how many we got wrong.

curl -s 'https://proofofstock.com/api/exam'
Reference
GET/badge.svgoutside the limit

A badge for your own page: issuer-listed, a look-alike, not listed. Cached at the edge and outside the limit. Every token's passport offers its badge to copy: see docs/how-to/embed-a-badge.md.

params chain address

<img src="https://proofofstock.com/badge.svg?chain=base&address=0xb20000000000000000000078ee7ce2fe4908108c" alt="Proof of Stock">
Reference
GET/anchors/outside the limit

A daily record of our data files, timestamped in Bitcoin (OpenTimestamps) so it cannot be rewritten later: the manifests and their proofs; /anchors/<file> serves each one.

curl -s 'https://proofofstock.com/anchors/'
Reference
GET/tokenlist.jsonoutside the limit

The issuer-listed tokens that trade in a pool, as a Uniswap token list for a wallet or DEX front end to import. Never an impostor; no list at all when an issuer list is stale.

curl -s 'https://proofofstock.com/tokenlist.json'
Reference
GET/denylist.jsonoutside the limit

Every look-alike we flag right now, on both chains, in one file: the address, the issuer token it imitates and its own contract, and the evidence. For a wallet, a DEX or a security API to warn before a swap. Not a token list.

curl -s 'https://proofofstock.com/denylist.json'
Reference
POST/api/agent-testoutside the limit

Start the agent test: six buying tasks for your agent, graded against the issuers' own lists frozen now. Nothing is bought. No body starts a test with no label. Outside the free minute, with limits of its own: six starts an hour.

params label

curl -sS -X POST https://proofofstock.com/api/agent-test
Reference
POST/api/agent-test/<id>/answersoutside the limit

Your agent's six answers, each a contract address or a refusal, graded once: passed or not, one sentence per task and the result page's URL.

params answer_key answers

curl -sS -X POST https://proofofstock.com/api/agent-test/<test_id>/answers -H 'content-type: application/json' -d '{"answer_key": "ak_...", "answers": [{"n": 1, "address": "0x..."}, {"n": 2, "refuse": true}]}'
Reference
POST/api/agent-test/<id>/hideoutside the limit

Hide a result, for the holder of its answer key only.

params answer_key

curl -sS -X POST https://proofofstock.com/api/agent-test/<test_id>/hide -H 'content-type: application/json' -d '{"answer_key": "ak_..."}'
Reference
GET/api/agent-test/<id>outside the limit

A test's record: once graded, the receipt itself, which scripts/agent-test-check.mjs checks against us and replays.

curl -sS https://proofofstock.com/api/agent-test/<test_id> -o receipt.json && node scripts/agent-test-check.mjs receipt.json
Reference
GET/agent-test/<id>outside the limit

A graded test's result page: Passed or Not passed, each task with the answer and the right one. Never indexed; we list results nowhere.

https://proofofstock.com/agent-test/<test_id>
Reference
GET/agent-test/<id>/badge.svgoutside the limit

The result's badge for your README, grey after 30 days. See docs/how-to/test-your-agent.md.

[![Proof of Stock agent test](https://proofofstock.com/agent-test/<test_id>/badge.svg)](https://proofofstock.com/agent-test/<test_id>)
Reference
GET/api/status/paymentsoutside the limit

The state of paid passes, for monitoring: on or off, who settles them, and the latest settlement.

curl -s 'https://proofofstock.com/api/status/payments'
Reference

MCP tools

free

The same answers for an agent: a public MCP server over streamable HTTP at https://proofofstock.com/mcp, no key. Every POST costs 1 unit; the tools below say where a call costs more. Connect an agent.

TOOLfind_stock_token1 unit

Find the issuer's tokens on one chain by ticker, company name or ISIN.

title Find a stock token · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_stock_token","arguments":{"chain":"base","query":"nvda"}}}'
Reference
TOOLlist_stock_tokens1 unit

The whole issuer list for one chain, in one answer.

title List an issuer registry · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_stock_tokens","arguments":{"chain":"base"}}}'
Reference
TOOLstock_passport3 units

One token's passport: listing, the issuer's price and its age, the premium and its history.

title Stock token passport · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"stock_passport","arguments":{"chain":"base","address":"0xb20000000000000000000078ee7ce2fe4908108c"}}}'
Reference
TOOLverify_stock_tokens⌈n/10⌉ units

Check up to 50 addresses before a buy, against the issuer's own list.

title Verify stock token addresses · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verify_stock_tokens","arguments":{"chain":"base","addresses":["0xb20000000000000000000078ee7ce2fe4908108c"]}}}'
Reference
TOOLrecent_impostors1 unit

Look-alikes (impostors) first seen in the last 7 days, each with the token it imitates.

title Recent impostors · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recent_impostors","arguments":{"chain":"base"}}}'
Reference
TOOLcompare_venues1 unit

The same share on both chains we cover: each chain's premium over its own issuer, and the gap between the two.

title Compare one share across venues · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compare_venues","arguments":{"symbol":"NVDA"}}}'
Reference
TOOLverify_anchor1 unit

Proof that a day's record has not changed: its Bitcoin proof and the mirror transactions.

title Verify a day anchor · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verify_anchor","arguments":{}}}'
Reference
TOOLlargest_gaps1 unit

The landing board: the listed tokens whose on-chain price sits furthest from the issuer's, with when each was read.

title Largest price gaps now · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"largest_gaps","arguments":{"chain":"base"}}}'
Reference
TOOLdata_freshness1 unit

When each issuer list and pool price was last read, and whether it is late: the facts of /status.

title Data freshness · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"data_freshness","arguments":{}}}'
Reference
TOOLaddress_on_date1 unit

What an address was on a past UTC day, from the archive recorded then; UNKNOWN when nothing was.

title An address on a past day · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"address_on_date","arguments":{"chain":"base","address":"0xb20000000000000000000078ee7ce2fe4908108c","date":"2026-11-20"}}}'
Reference
TOOLsimulate_buy10 units

What a dollar amount would get right now for that exact size, after the verdict: the quote, the effective premium against your limit, the sell-back and, with a public wallet, a dry run of that swap. Nothing is signed. 15 units with a wallet.

title Size-aware dry run of a swap into a stock token · read-only

curl -s https://proofofstock.com/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"simulate_buy","arguments":{"chain":"base","token":"0xb20000000000000000000078ee7ce2fe4908108c","usd":25}}}'
Reference

What a free minute buys

60single checks: /verify, /api/find and the other 1-unit reads
20passports, at 3 units each
600addresses checked, in batches of 50 at ⌈50/10⌉ = 5 units

The window slides by the second: any 60 seconds, wherever a minute begins. The limit is per client address, HTTP and MCP share it, and a pass raises it for that client alone.

v0.10.1 · the full reference: HTTP API, MCP tools, fields and units, openapi.json · facts with their time and source, not investment advice.