Quick pre-trade check for a Solana token mint
Quick pre-trade check for a Solana token mint. Returns a SAFE, CAUTION or BLOCK verdict with reasons, a confidence level and a priority-fee estimate, computed from raw chain state (mint/freeze authority, Token-2022 extensions, holder concentration, token age). Typical use: a rug check before a trading agent swaps into an unfamiliar token. 10 free calls per IP per day if you opt in with ?free=1 or X-Free-Tier: 1; otherwise HTTP 402.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://racketeer-botapi.racketeer.workers.dev/v1/pretrade
| Category | Market data |
|---|---|
| Provider host | racketeer-botapi.racketeer.workers.dev |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"mint": "JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"free": {
"description": "Opt into the free tier (also accepted as header X-Free-Tier: 1). Omit to receive the normal x402 402 challenge.",
"enum": [
"1",
"true",
"yes"
],
"type": "string"
},
"mint": {
"description": "SPL / Token-2022 mint address",
"pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$",
"type": "string"
}
},
"required": [
"mint"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Quick pre-trade verdict for a Solana token",
"properties": {
"checks_incomplete": {
"description": "Checks that could not be completed",
"items": {
"description": "Check name",
"type": "string"
},
"type": "array"
},
"confidence": {
"description": "full when every check ran, partial when some checks were unavailable",
"enum": [
"full",
"partial"
],
"type": "string"
},
"disclaimer": {
"description": "Short not-financial-advice disclaimer",
"type": "string"
},
"disclosure": {
"description": "Operator holdings disclosure (conflict-of-interest notice)",
"type": "string"
},
"full_report": {
"description": "Relative URL of the full report for this mint",
"type": "string"
},
"known_as": {
"description": "Well-known alias if the mint is in the built-in list",
"type": [
"string",
"null"
]
},
"mint": {
"description": "Mint address that was checked",
"type": "string"
},
"name": {
"description": "Token name from on-chain metadata",
"type": [
"string",
"null"
]
},
"not_financial_advice": {
"description": "Always true: informational data, not financial advice",
"type": "boolean"
},
"note": {
"description": "Usage note",
"type": "string"
},
"priority_fee": {
"description": "Priority-fee recommendation in microLamports per compute unit",
"properties": {
"basis": {
"description": "What the estimate is based on",
"type": "string"
},
"high": {
"description": "High recommendation",
"type": "number"
},
"low": {
"description": "Low recommendation",
"type": "number"
},
"medium": {
"description": "Medium recommendation",
"type": "number"
},
"unit": {
"description": "Unit of the numbers",
"type": "string"
}
},
"type": "object"
},
"reasons": {
"description": "Human-readable reasons behind a CAUTION or BLOCK verdict",
"items": {
"description": "One reason",
"type": "string"
},
"type": "array"
},
"rules_version": {
"description": "Version of the published rule set",
"type": "string"
},
"symbol": {
"description": "Token symbol from on-chain metadata",
"type": [
"string",
"null"
]
},
"terms": {
"description": "URL of the service terms",
"type": "string"
},
"timestamp": {
"description": "ISO-8601 time the response was generated",
"type": "string"
},
"verdict": {
"description": "Pre-trade verdict",
"enum": [
"SAFE",
"CAUTION",
"BLOCK"
],
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}