errand
BUILD ON ERRAND · FREE · READ-ONLY

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.

CORS *JSON endpoints send Access-Control-Allow-Origin: *. Call them from any browser.
NO KEYNo sign-up, no API key. Reads only; nothing here can sign or move funds.
LIMITSAgents read public Solana RPC. Poll gently; see the notes at the bottom.
GET/api/errand?agent=&mint=application/json · not cached

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).

FIELDMEANING
oktrue, or false with code, message and refund
resultthe 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
pricethe 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.

VERIFYreceipt = request + result + slot

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

request = sha256("errand:v1:" + agent + ":" + mint)[0..16]
Same agent + same mint → same request hash, every time. It names the job.

RESULT HASH · WHAT WAS READ

result = sha256(JSON.stringify(result, Object.keys(result).sort()))[0..16]
The result object, keys sorted. Change one number and the hash changes.

SLOT · WHEN

The mainnet slot the data was read at. Open 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
GET/api/statsapplication/json · cached 30 s

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.

FIELDMEANING
oktrue, or false with STATS_DOWN / STATS_OFF (503)
countsjob totals as returned by the counter (see the live response)
atISO time of this read

The counter never blocks a receipt: if it is down, agents still run.

GET/api/boardapplication/json

The board

Coins Errand tracks, with their latest receipts, as shown on /board. Add ?mint= for one coin's receipt history.

CALLRETURNS
/api/boardtracked 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.

GET/api/badge?mint=&style=image/svg+xml · cached 10 min

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.

USESNIPPET
Markdown[![errand](https://geterrand.xyz/api/badge?mint=MINT)](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.

GET/api/card?mint=image/png · 1200 × 630 · cached 10 min

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.

HEADERVALUE
content-typeimage/png
cache-controls-maxage=600, stale-while-revalidate=3600; 60 s when any agent failed
GET/r/<mint>text/html · cached 10 min

Share link

A page made to be posted. Crawlers read its Open Graph and twitter:card=summary_large_image tags and unfurl the receipt card; people get the three receipts plus “Run the agents yourself”, “Post on X”, “Copy link” and “Embed / badge”.

TAGVALUE
og:title“LURK · 3 receipts · graduated, authorities revoked · Errand”
og:imagehttps://geterrand.xyz/api/card?mint=MINT
twitter:cardsummary_large_image

Same page is served at /api/r?mint=.

GET/embed?mint=&agent=&theme=text/html · iframe 360 × 260

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.

USESNIPPET
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.