Welcome
Welcome
The PirateCrew Blockchain API is the unified HTTP layer that powers every on-chain action across the PirateCrew ecosystem (piratecrew.fun). One Bearer token, one base URL, every Solana / Anchor / Meteora / Jupiter / Metaplex primitive you need to ship.
If you've ever stitched together raw @solana/web3.js, @coral-xyz/anchor, the Meteora DBC and CP-AMM SDKs, Metaplex token-metadata, Jupiter quote routing, and a Privy signer just to launch a token and split its fees — this API is for you.
Who it's for
Developers building on top of PirateCrew, or running adjacent integrations:
- Frontend apps that need to launch pools, claim fees, run airdrops, or stake NFTs without bundling six SDKs.
- Backend services that need to settle creator/KOL/treasury cuts atomically.
- Bots, indexers, and automation that need to derive PDAs, read program state, or submit transactions through Jito.
- Anyone who wants the same blessed implementation the first-party PirateCrew apps use.
What you can build
- Token launches — create SPL + Metaplex metadata in one tx; launch a DBC pool; revoke authorities.
- Fee splits — atomically claim DBC or DAMM v2 partner fees and route them N-ways to creators, KOLs, and treasury.
- Airdrops — build the merkle tree, persist it, initialize the airdrop account, fetch proofs, and let users claim.
- NFT minting — mint / burn through the Pirates Anchor program.
- Gold staking — lock GOLD for veGOLD, unlock on schedule.
- Swaps — Jupiter quote + swap-transaction, ready to sign.
- Direct submission — submit, simulate, Jito-bundle, and poll any Solana transaction.
The API surface
Everything ships under /v2/* — noun-based REST URLs, a { data, meta } response envelope, cursor pagination on every list, explicit status lifecycles on every long-lived resource, webhooks, snake_case everywhere, and u64-safe string amounts.
The root https://api.piratecrew.fun/ redirects to /v2/docs.
Start here
If you learn best by doing, jump into a recipe:
- Create and launch a token — SPL mint + Metaplex metadata + DBC pool + first buy, atomically.
- Claim and split partner fees — read accrued fees, claim, route N-ways in one transaction.
- Run a merkle airdrop end-to-end — build the tree, persist it, claim per wallet.
If you prefer a guided walkthrough:
- Getting Started — five-minute walkthrough from
/v2/healthto a signed transaction. - Authentication — generate an API key, scope it, and learn the rate-limit model.
- SDK Quickstart — drop-in client, no manual base64 handling.
Production host: https://api.piratecrew.fun. Interactive reference: /v2/docs.