Claim FundOpenAPI

Developer docs

Find claimable Solana fees and rewards. Integrate the Claim Fund REST API, remote MCP server, and agent skill.

Quickstart

Use a public Solana mainnet address. Server-to-server requests need no API key. Start with an indexed estimate, then run a live scan for claim targets.

Shell · indexed wallet lookup
WALLET='YOUR_SOLANA_WALLET_ADDRESS'
curl -sS https://api.claim.fund/api/v1/wallets \
  -H 'Content-Type: application/json' \
  --data "{\"addresses\":[\"$WALLET\"]}"
Shell · live opportunities
curl -sS --get \
  https://api.claim.fund/api/v1/opportunities \
  --data-urlencode "wallet=$WALLET"

REST endpoints

Base URL https://api.claim.fund. Use the OpenAPI 3.1 contract for request parameters, target variants, and response schemas.

POST /api/v1/wallets
Look up indexed wallet balances
GET /api/v1/opportunities
Find live claim opportunities
POST /api/v1/claims/prepare
Prepare an unsigned claim
POST /api/v1/claims/submit
Submit a wallet-signed claim
GET /api/v1/claims/status
Check a Solana transaction signature
GET /api/v1/stats
Read indexed platform statistics

Interpret results

  • Indexed lookups. Send up to 10 public addresses. Use finishedAt to report freshness. found: false means the main index has no positive balance for that address. Some venue snapshots appear in separate fields.
  • Live opportunities. Read groups[].positions[] and keep each selected actions[].target intact. Positions may combine the balances of several actions. The preparation response gives the executable quote for one target.
  • Partial scans. Read partial, warnings, and sources before reporting an empty or complete result. Follow nextCursor with the same wallet and optional mints to continue Pump.fun discovery. The first page carries other venue results. Some venue-specific pages and recovery flows are available on the Claim Fund app.
  • Amounts. Use the asset mint to identify an asset. raw is an integer string in atomic units. Format it using decimals. solRaw is in lamports and usdRaw is in millionths of a US dollar.

Sign and submit

  1. Send { wallet, target } to the preparation endpoint. It returns an unsigned base64 transaction, a fixed fee quote, notes, and an authorization bound to the transaction.
  2. Show the wallet owner serviceFee.amounts, the estimated network fee in feeLamports when available, and notes. Ask the wallet to sign after approval. Keep the signing key in that wallet. Use a fresh quote if expiresAt (Unix milliseconds) or lastValidBlockHeight has passed.
  3. Derive and save the Solana signature from the signed transaction. POST the base64 signed transaction and its authorization to the submission endpoint. Supply originalTransaction with the original unsigned base64 bytes if a compatible wallet updates the blockhash or compute budget.
  4. Check the status endpoint with the signature. finalized indicates final success. confirmed and processed can still change. unknown means RPC has no record. If the submit request times out, check your saved signature and quote expiry before preparing a replacement.
JavaScript · prepare and review a claim
// wallet is the public address. selectedAction comes from discovery.
const response = await fetch("https://api.claim.fund/api/v1/claims/prepare", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ wallet, target: selectedAction.target }),
});
const quote = await response.json();
if (!response.ok) throw new Error(quote.error ?? "Could not prepare claim");

showQuoteToWalletOwner(quote.serviceFee, quote.feeLamports, quote.notes);
// After review, give quote.transaction to the user's wallet to sign.

Use the site for forwarding payouts, fee sponsorship, or wallet signing when your integration only has read access.

MCP server

Connect an MCP client over Streamable HTTP at https://api.claim.fund/mcp. The endpoint uses the standard initialize handshake and responds to POST requests with JSON. It supports the 2025-11-25 protocol and compatible handshake clients.

Codex · add Claim Fund
codex mcp add claim-fund --url https://api.claim.fund/mcp
Codex · config.toml
[mcp_servers.claim-fund]
url = "https://api.claim.fund/mcp"
lookup_wallets
Get indexed estimates for up to 10 addresses.
find_claim_opportunities
Scan a wallet for live positions, claim targets, and source warnings.
prepare_claim
Generate an unsigned transaction and fee quote for wallet review.
get_transaction_status
Check a Solana mainnet signature.
get_platform_stats
Read the published platform index and its timestamp.

Use an external wallet for signing and the REST submission endpoint for broadcasting.

Agent skill

Add Claim Fund’s SKILL.md to your agent’s skills directory. It tells the agent when to run a live scan, how to interpret partial results, and how to review a quote with the wallet owner. The llms.txt file links to the integration entry points.

Shell · install for a Codex project
mkdir -p .agents/skills/claim-fund
curl -fsS https://claim.fund/skills/claim-fund/SKILL.md \
  -o .agents/skills/claim-fund/SKILL.md

Limits and errors

Use the API from your server or agent runtime. Browser origins are restricted. Indexed wallet checks are limited to 60 requests per minute per IP. Live discovery, claim preparation, signed submission and signature status each allow 12. MCP admits 90 requests per minute per IP and each tool call also uses the applicable REST quota. Shared RPC capacity can impose tighter limits.

On 429, wait for Retry-After when present. MCP returns tool failures with isError and may include retryAfterSeconds. Retry temporary read failures with backoff. For claim errors, log the requestId if supplied and keep claim authorizations and signed bytes out of logs.