Public API

For trading terminals and tools (Proxima, Axiom, Photon, bots). Read launches and marketplaces with exactly-once stats, quote, and build unsigned transactions that your user signs. Ecosystem coins trade atomically through their parent chain inside the one transaction. Machine-readable spec: /api/public/openapi.json.

MethodPathWhat
get/api/public/v1/launchesList launches (newest first) with stats
get/api/public/v1/launches/{mint}One launch by mint
get/api/public/v1/marketplacesList marketplaces with stats ($PAYGRAM root first)
get/api/public/v1/marketplaces/{idOrSlug}One marketplace (id, slug or parent mint) with its child tree
get/api/public/v1/statsDaily protocol stats (exactly-once ledgers) and all-time totals
get/api/public/v1/stats/dayStats for one UTC day (for indexers)
get/api/public/v1/quoteQuote a buy (solAmount) or sell (percent)
post/api/public/v1/tx/buyBuild an unsigned buy
post/api/public/v1/tx/sellBuild an unsigned sell
post/api/public/v1/tx/create-launchPrepare a launch: returns the unsigned create tx (mint already co-signed)
post/api/public/v1/tx/create-launch/submitSubmit the signed create tx

Example

curl -s https://usepaygram.com/api/public/v1/tx/buy \
  -H 'content-type: application/json' -H 'x-api-key: <optional>' \
  -d '{"mint":"<coin mint>","userWallet":"<your pubkey>","solAmount":0.1}'
# → { "unsignedTransaction": "<base64>", "encoding": "base64", "routedViaParent": true }
# Deserialize (VersionedTransaction), sign with userWallet, send to any RPC.

Limits and keys

  • read: 120/min per IP, 1200/min with an API key.
  • quote: 60/min per IP, 600/min with an API key.
  • build: 20/min per IP, 200/min with an API key.
  • An API key is optional (header x-api-key); an unknown key is 401. Ask the team for one.
  • 429 carries Retry-After. 503 with retryable: true means the RPC was busy and nothing was built.
  • CORS is open. The API never signs for the caller and has no access to admin routes.