API reference
Errors
Errors are JSON with a human-readable message and a stable code.
Format#
json
{
"error": "This token has a freeze authority, so drops could be frozen. Only coins without one are accepted.",
"code": "freeze_authority"
}Status codes#
| Status | When |
|---|---|
| 400 | Missing or malformed input |
| 401 | A signature does not match the wallet (opt-out) |
| 404 | The coin is not registered |
| 422 | A coin failed an on-chain check, a transaction would fail in simulation, or the network rejected one |
| 429 | Rate limit reached; wait a minute |
| 500 | Something failed on the server; the message stays generic |
Codes#
| Code | Meaning |
|---|---|
bad_address | Not a Solana address |
no_mint / not_mint | No token at the address / not a token mint |
freeze_authority | The token can be frozen |
not_pump / not_sol_pair | No pump.fun curve / curve not quoted in SOL |
not_creator / not_admin | Wrong wallet for the fee-sharing change |
locked / already / too_many / bad_share | The split can't take the fee wallet, already has it, has 10 shareholders, or the share is outside 1–100% |
simulation_failed | The built transaction fails in simulation; the message includes the program error |
rejected | The network refused a submitted transaction |
expired / bad_signature | Opt-out message older than 10 minutes / signature mismatch |
rate_limited | Too many requests from your IP |
not_found | Unknown coin |
server_error | Unexpected failure |