Send agents over GET.
Every Errand agent is one request away. No key, no wallet. Each answer is a receipt: a request hash, a result hash and the mainnet slot it was read at, so anyone can check it. Every block below calls the real endpoint.
Access-Control-Allow-Origin: *. Call them from any browser.Send one agent
Runs one read-only agent against Solana mainnet and returns its receipt. agent is mint (mint + freeze authority, supply), curve (bonding-curve progress, graduated, creator) or fee (SOL in the creator's pumpfun and PumpSwap fee vaults).
| FIELD | MEANING |
|---|---|
ok | true, or false with code, message and refund |
result | the raw facts the agent read (what the result hash covers) |
lines[] | { label, value, tone, href }, display rows with a Solscan link each |
receipt | { request, result, slot, at, solscanSlot } |
identity | { name, symbol } or null |
notes[] | plain-language caveats for this read |
price | the agent's price in demo credits (the API itself is free) |
Failures: INVALID_MINT (400), UNKNOWN_AGENT (400), NOT_FOUND (404), NOT_PUMP_FUN (404), NOT_A_TOKEN (422), RPC_DOWN (503, retryable: true). Nothing stale is ever returned as live.
How a receipt hash works
Two short hashes make a receipt checkable without trusting Errand. Both are the first 16 hex characters of a SHA-256. The console above recomputes them in your browser after every call.
REQUEST HASH · WHAT WAS ASKED
"errand:v1:" + agent + ":" + mint)[0..16]RESULT HASH · WHAT WAS READ
JSON.stringify(result, Object.keys(result).sort()))[0..16]result object, keys sorted. Change one number and the hash changes.SLOT · WHEN
receipt.solscanSlot to see that block.// Node 20+ or any browser: recompute a receipt const sha = async (s) => [...new Uint8Array(await crypto.subtle.digest("SHA-256", new TextEncoder().encode(s)))].map((b) => b.toString(16).padStart(2, "0")).join("").slice(0, 16); const r = await (await fetch("https://geterrand.xyz/api/errand?agent=curve&mint=MINT")).json(); const request = await sha(`errand:v1:${r.agent}:${r.mint}`); const result = await sha(JSON.stringify(r.result, Object.keys(r.result).sort())); console.log(request === r.receipt.request, result === r.receipt.result); // true true
Global job counter
How many jobs every Errand client has run since the counter went live: completed, failed, and per agent. Counts real jobs only, no sample data.
| FIELD | MEANING |
|---|---|
ok | true, or false with STATS_DOWN / STATS_OFF (503) |
| counts | job totals as returned by the counter (see the live response) |
at | ISO time of this read |
The counter never blocks a receipt: if it is down, agents still run.
The board
Coins Errand tracks, with their latest receipts, as shown on /board. Add ?mint= for one coin's receipt history.
| CALL | RETURNS |
|---|---|
/api/board | tracked coins and their latest receipts |
/api/board?mint= | that coin's history of receipts over time |
Snapshots are taken on a schedule, not on every request, so this is the cheap call for dashboards.
README badge
A shields-style SVG: the receipt mark and “errand” on the left; curve progress (or “graduated”) and the authority state on the right, colored by what the agents found. style=flat (default) or style=dark.
| USE | SNIPPET |
|---|---|
| Markdown | [](https://geterrand.xyz/r/MINT) |
| HTML | <img src="https://geterrand.xyz/api/badge?mint=MINT&style=dark" height="20"> |
The embed builder fills these in for you.
Receipt card
The Open Graph image behind every share link: all three agents on one paper receipt, with each request → result hash and slot, stamped DONE. Agents that fail are stamped FAILED and the rest still show. Without a mint it returns the generic Errand card.
| HEADER | VALUE |
|---|---|
content-type | image/png |
cache-control | s-maxage=600, stale-while-revalidate=3600; 60 s when any agent failed |
Live receipt widget
A compact live receipt for any site. agent=all (default) shows all three agents; mint, curve or fee shows one agent's full receipt. theme=paper (default) or theme=ink. It re-sends its agents every 5 minutes and, if mainnet hiccups, keeps the last good receipt marked stale.
| USE | SNIPPET |
|---|---|
| iframe | <iframe src="https://geterrand.xyz/embed?mint=MINT&theme=paper" width="360" height="260" style="border:0;border-radius:14px" loading="lazy"></iframe> |
Open /embed?builder=1 to paste a mint and copy ready-made snippets.
Rate limits, honestly
Agents read Solana's public mainnet RPC, which rate-limits by IP. There is no Errand quota on top, so under load you'll see RPC_DOWN with retryable: true. Back off and retry; don't hammer.
Cache is your friend
/api/errand is never cached: each call is a fresh read. Cards, badges and share pages are cached for 10 minutes (60 s when an agent failed) and /api/stats for 30 s. Polling one mint more than once a minute buys you nothing.
What it isn't
Errand is read-only. A revoked authority or a graduated curve is a fact, not a safety rating. A fee vault belongs to the creator wallet, so coins from one creator share it. Not financial advice.