upkeep
BUILD ON UPKEEP · FREE · READ-ONLY

Creator fees, as an API.

Every number Upkeep shows is one GET away. No key, no wallet. Pull the JSON, drop a badge in your README, or embed the live widget. Each block below runs against 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 move funds.
LIMITSReads go to public Solana RPC. Poll gently; see the notes at the bottom.
GET/api/upkeep?mint=application/json · cached 15 s

One coin, read live

Finds the coin's creator, reads both creator-fee vaults (pumpfun bonding curve and PumpSwap) on mainnet, converts SOL to machine-hours at the posted rate (0.0002 SOL/h) and fills the job queue by priority.

FIELDMEANING
oktrue, or false with code + message
stateALL_RUNNING · PARTIAL · VAULT_EMPTY
identity{ name, symbol } or nulls if unknown
vaultspump, pumpswap (each with Solscan link), totalSol
hoursmachine-hours funded: totalSol ÷ 0.0002
jobs[]id, name, needs, hours, pct, status, why; status is RUNNING · PARTIAL · PAUSED
creatorcreator wallet that owns the vaults
checkedAtISO time of the read

Failures: INVALID_MINT (400), NOT_PUMP_FUN (404), RPC_DOWN (503, retryable: true). Nothing stale is ever returned as live.

GET/api/boardapplication/json · cached 60 s

Every tracked coin, ranked

The Upkeep Board: the latest snapshot per coin (ranked by machine-hours), recent vault events and totals. Add ?mint= for that coin's last 72 hours of snapshots, for sparklines.

CALLRETURNS
/api/boardcoins[] (mint, symbol, name, totalSol, hours, state, runwayDays, rank, at…), events[], stats, definitions
/api/board?mint={ mint, hours: 72, history: [{ at, totalSol, hours, state }] }

Snapshots are taken on a schedule, not on every request, so this is the cheap call for dashboards. It returns DB_DOWN (503) if the board database is unreachable.

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

README badge

A shields-style SVG: the gauge mark and “upkeep” on the left, machine-hours and state on the right, colored by state. style=flat (default) or style=dark.

USESNIPPET
Markdown[![upkeep](https://getupkeep.xyz/api/badge?mint=MINT)](https://getupkeep.xyz/c/MINT)
HTML<img src="https://getupkeep.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

Share card

The Open Graph image behind every share link: coin, machine-hours, the three jobs and the vault balance, rendered from a live read. Failures get their own honest card. Without a mint it returns the generic Upkeep card.

HEADERVALUE
content-typeimage/png
cache-controls-maxage=600, stale-while-revalidate=3600 (60 s for transient RPC errors)
GET/c/<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 big card; people get the numbers plus “Post on X”, “Copy link” and “Get the embed”.

TAGVALUE
og:title“LURK funds 7,336 machine-hours · Upkeep”
og:imagehttps://getupkeep.xyz/api/card?mint=MINT
twitter:cardsummary_large_image

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

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

Live widget

A compact live readout for any site: name, machine-hours, state and the three job bars. It re-reads mainnet every 5 minutes, keeps the last good read if the RPC hiccups (marked as such), and links back with “via Upkeep ↗”. theme=dark (default) or theme=light.

USESNIPPET
iframe<iframe src="https://getupkeep.xyz/embed?mint=MINT&theme=dark" width="360" height="220" style="border:0;border-radius:16px" loading="lazy"></iframe>

Open /embed?builder=1 to paste a mint and copy ready-made snippets.

Rate limits, honestly

Live reads hit Solana's public mainnet RPC, which rate-limits by IP. Under load you'll get RPC_DOWN with retryable: true. Back off and retry; don't hammer.

Cache is your friend

/api/upkeep is edge-cached for 15 s, the board for 60 s, badges and cards for 10 min. Polling one mint more than once a minute buys you nothing.

What it isn't

Upkeep is read-only. A creator vault belongs to the creator wallet, so coins from one creator share a balance. Machine-hours come from a posted rate card, not real hardware. Not financial advice.