# HodlOdds 0.04 means about 4 in 100 tokens like this one lose 90% or more of their price within the next 60 minutes. Higher means riskier. A low number is not a safety signal: smaller or slower drops are not counted, and the odds change minute by minute. ## How to explain a score to a person - Read `p_crash_60m` as "X% chance this token falls 90% or more within the next 60 minutes (about N in 100)"; X and N are 100 times the score. The window starts at `as_of`, not the request time. - Higher = riskier. A score is a reading of risk, not an instruction to trade. - Low odds are not a safety signal: smaller drops (for example −50%) and slower declines are not covered. - A score is valid only until the next minute's update. Re-request immediately before acting; never reuse an older score. For continuous monitoring, request once per minute; `/v1/board` returns many tokens in one paid call. - Always state the confidence level (high/medium/low), or say when it is missing. A missing score, an uncovered token or `stale` data is not a safety signal. - Odds, not guarantees. Not financial advice. ## Freshness Scores are recomputed every 60 seconds, about 20 seconds after each minute closes, from completed one-minute bars up to `as_of`. Each score covers the 60 minutes after its `as_of` time and is valid only until the next update; the odds for the same token can rise sharply from one minute to the next. Scoring starts around :20; computation and publication can delay availability. For decisions, refresh immediately before acting and once per minute for continuous monitoring, checking `as_of` for a new minute. The API freshness cutoff is separate: by default, data becomes `stale` more than 120 seconds after `issued_at` or after `expires_at`. A new request does not restart the forecast window. > A paid x402 v2 API for 60-minute crash odds on covered, active SOL-quoted pump.fun graduates. Data, not advice. Paid access is open only while `/v1/meta` reports `public_beta: true`; a live feed alone does not mean paid access is enabled. A crash is a completed one-minute close in SOL at least 90% below the reference price within the displayed 60-minute window. The forecast ends at `horizon_end`; requesting it later does not start a new hour. This is not a measure of sellability, every kind of loss, or temporary intraminute price drops. Losses can occur without warning. ## Start here - [API docs](https://api.hodlodds.com/docs): Python quickstart, an explicitly unverified-offline TypeScript example, payment policy and response semantics. - [API keys (prepaid)](https://api.hodlodds.com/docs/api-key): the same routes and prices, paid from a prepaid USDC balance with an API key instead of x402; header and error reference. - [OpenAPI 3.1](https://api.hodlodds.com/static/openapi.json): routes, schemas and clearly illustrative response examples. - [Free status](https://api.hodlodds.com/v1/status): live/stale/down feed, issuance age, incidents and observed uptime. - [Free metadata](https://api.hodlodds.com/v1/meta): coverage, model hashes, current prices, accepted payment networks/assets/recipients, confidence evidence and beta/payment readiness. - [Free markets](https://api.hodlodds.com/v1/markets): data markets, model IDs and hashes, routes and their prices. - [Free delayed board](https://api.hodlodds.com/v1/board/delayed): the first 25 rows of the board as it was ten minutes before the newest minute, with no key or payment; odds from that minute, not current odds. - [Terms of Use](https://api.hodlodds.com/terms): refused requests are free; an undelivered paid answer can be redeemed once; USDC added to an account's balance is not refunded; not financial advice. - [Privacy](https://api.hodlodds.com/privacy): no trackers or access logs; accounts are optional, for API keys and, when the website offers plans, for its plans; cookies only keep you signed in; payment rows 90 days (a shortened payer form with its payment count is kept longer). - [Python SDK](https://pypi.org/project/hodlodds/): `pip install hodlodds`; pays each answer with x402 from your own wallet and checks every offer against your limits; no API key. It starts on devnet: for this API pass `network="solana"` or `"base"` and `pay_to`, the recipient from `/v1/meta`, checked independently. Source: https://github.com/hodlodds/hodlodds-sdk - [MCP server](https://pypi.org/project/hodlodds-mcp/): `pip install hodlodds-mcp`; the same answers as tools for AI assistants, with per-call and per-session spending caps. It starts on devnet: for this API set `HODLODDS_NETWORK` to `solana` or `base`, and `HODLODDS_PAY_TO`. - [Public record](https://github.com/hodlodds/track-record): every served prediction, time-stamped, with the pre-registration and the forward-test reports. ## Free routes - GET `/v1/status`, `/v1/meta`, `/v1/markets` and `/v1/coverage/{mint}`: no payment or key. - GET `/v1/board/delayed?sort=riskiest`: the first 25 rows the paid board had for that sort (`riskiest`, `newest` or `active`; default `riskiest`) at the newest minute it keeps that is at least ten minutes before the newest scored minute, with that minute's crash fields. The answer is `hodlodds.board.delayed.v1` with `free: true`, `delay_s` (600 while the feed runs, at most 780 after a pause), `as_of` and `live_board: "/v1/board"`; it has no `expires_at` and no price fields. These are not current odds: request the paid routes before acting. Any other parameter gets a free 400. A stale or down feed gets a free 503 `Feed interrupted`; a server that has no minute from 10 to 13 minutes back (after a restart or a pause in the feed) gets a free 503 with `delay_s` and `Retry-After` until it has seen ten minutes of the feed. The free per-IP limit applies; answers are cacheable for 60 seconds. ## Paid routes - GET `/v1/risk/{mint}`: one covered SOL token; default $0.01 USDC. - GET `/v1/risk/{mint}/last`: explicit opt-in last-known odds from the latest stored snapshot; default $0.002 USDC (2,000 atomic units). Available only when `now - issued_at <= 1800` seconds, including exactly 1800. It also works while the feed is live, at the same lower price; then the odds equal the fresh route's odds but still carry last-known fields. There is no `/v1/board/last`. - GET `/v1/board?limit=50&sort=lowest_risk&min_liquidity_sol=50&max_age_min=1440`: one current fresh board, no pagination or cursors. `limit` is 10..500 (default 50); fewer matching coins may be returned. Each delivered coin costs $0.005 USDC (5,000 atomic units): 37 matches with limit 100 costs $0.185; 500 cost $2.50. Zero matches return free 200 with empty rows and no payment headers. Sort identifiers: `lowest_risk` — lowest predicted odds first (a ranking, not a safety claim). Default: `lowest_risk`; the exact requested sort name is preserved in the offer and must match on retry and redeem. Other sorts: `riskiest`, `liquidity`, `newest`, `active`; ties use mint ascending. Filters: `max_risk`/`min_risk` in [0,1], nonnegative `min_liquidity_sol`, `min_age_min`/`max_age_min`, integer `min_trades_5` in 0..9223372036854775807, and `min_confidence=high|medium|low`. Null values never pass numeric filters; missing confidence never passes a confidence filter. Liquidity is quote-side SOL reserve, not executable sell depth. A paid retry re-evaluates the current fresh snapshot and delivers exactly the priced count if enough matches remain; otherwise free 409 `matches changed; request again` with `code: offer_changed`, with no settlement. Request a new offer. The normalized query and count must match the requirement. Rows may change between challenge and delivery; stale data returns free 503. The server rechecks before settlement. Normal risk and board routes stay fresh or free. The separate last-known route can charge for explicitly labelled older SOL odds within its 30-minute limit; they are never sold as fresh. All eligibility checks run before payment and again before settlement. Payment uses the official x402 v2 `exact` client and authorization flow. When configured, Solana and Base are alternative payment networks at the same USDC prices; they pay for the same covered SOL-token data. This never expands non-SOL model coverage. Base uses EIP-3009 authorization, with no approval transaction or SPL Memo. Read the accepted options in `/v1/meta` and the current challenge; select one explicitly. This API takes mainnet USDC only; there is no public test network. The free way to try it is `GET /v1/board/delayed`. The unpaid eligible request returns 402 with `PAYMENT-REQUIRED`; the client signs locally and retries with `PAYMENT-SIGNATURE`. A settled answer carries `PAYMENT-RESPONSE`. Independently approve the recipient, network, USDC mint/contract and maximum amount before signing. Never provide a private key to HodlOdds. 503 means a stale/down feed on fresh-only routes, no stored snapshot, beta disabled or service unavailable. A fresh risk 503 can include `hint: /v1/risk/{mint}/last` and `last_known_age_s` when eligible: never follow it as an automatic paid fallback. 410 on the last-known route means `Last known odds too old`, with `age_s` and `as_of`; no payment settles. 404 means unknown, uncovered or experimental non-SOL, or a malformed mint (`Invalid mint`), with the free coverage fields. Empty boards return free 200. Non-SOL rankings, if included in the 404, are free, not validated probabilities; mid-range scores historically underpredicted incidence. 400 rejects unknown/invalid board parameters, including duplicates and limits outside 10..500 (1..100 with mints); 429 includes Retry-After. These refused answers do not settle new payments. 409 rejects board match/offer changes without settlement, or a replayed signed payment whose original may already have settled. A 402 after payment or a connection failure can be ambiguous: preserve the receipt/transaction and reconcile on-chain before signing another payment. Do not automatically retry paid requests. Send paid requests one after another: at most two signed requests per client IP may be in flight, and a third gets a free 429 with Retry-After; use /v1/board for many tokens in one call. A refusal before any settlement attempt carries `HodlOdds-Charged: no` and JSON `"charged": false`. After signing, trust this signal only when PAYMENT-RESPONSE has neither success: true nor a transaction; a conflicting or malformed receipt remains ambiguous. The SDK saves no pending payment for a confirmed free refusal, and watch skips that cycle and continues. Other failed authorized requests remain ambiguous and stop watch. Low-risk board defaults: `lowest_risk`, without an explicit `mints` watchlist, apply omitted `min_trades_5=3`, `min_liquidity_sol=5` and `include_crashed=false`. Pass explicit `min_trades_5=0`, `min_liquidity_sol=0` and/or `include_crashed=true` to override the corresponding defaults. The crash filter excludes either `already_crashed` or `crashed_within_24h`; there is only one crash parameter. Other sorts are unchanged unless a filter is explicit. The lowest odds are usually the least-traded tokens; the default filters remove most inactive or recently collapsed tokens, not all. The 402 JSON body and board answer carry `defaults_applied` (the automatic filters and a one-sentence `reason`, or `{}`) and `excluded_by_defaults` (caller-filter matches minus effective-filter matches, before the limit). Response `filters` are effective; the offer binds only the normalized caller-supplied query without implicit defaults. The server applies the defaults deterministically when selecting and pricing rows at both steps. Neither explanatory field is in `extra.hodloddsBoard`, which keeps exactly `version`, `query`, `priced_n` and `nonce`. Pricing and `total_matches` use only matching rows. A board 409 with `code: offer_changed` means the matching set or offer binding changed; nothing is charged, and the client should request a new offer. ## Paying with an API key The paid routes can also be paid from a prepaid USDC balance with an API key, at the same prices and with the same answers: https://api.hodlodds.com/docs/api-key. A person signs in with a Solana wallet on https://hodlodds.com (signing a short text message, not a transaction), adds USDC on Solana from a wallet there (the website builds the transfer and the wallet signs it, in the browser or on a phone by scanning a QR code), and creates a key; the key is shown only once. Each transfer carries a payment reference made for the account, which is how it is credited, so there is no address to copy: USDC sent by hand carries no reference and is not credited automatically. Only USDC counts, credited once the transfer is finalized; transfers are read about once a minute, and Check deposits on the account site (`POST /account/deposits/check`) reads them right away, at most once every 15 seconds. Keys work while `/v1/meta` reports `public_beta: true`; its `prepaid` member then gives the prices, the test credit and the rate limit. - Send `Authorization: Bearer ` to `https://api.hodlodds.com`; there is nothing to sign. A key together with an x402 payment gets 400 `conflicting_credentials`. A malformed, unknown, revoked or expired key gets 401 `invalid_key` and never falls back to x402; another Authorization scheme on a paid route gets 401 `invalid_request`, unless the request carries an x402 payment or redeem header or a partner key (then the Authorization header is not read). Free routes ignore the header. - Only a delivered answer (HTTP 200) is charged; refusals are free. With a key, 402 `insufficient_balance` means the balance and the test credit left are below this call's price. It is not an x402 payment request: there is no `PAYMENT-REQUIRED` header and nothing to sign; top up, then send the request again. 403 `key_daily_cap` means the call would pass the daily spending cap set on that key. - All keys of an account share one balance and one rate limit; more keys do not mean more requests. 429 `rate_limited` and 503 `unavailable` carry `Retry-After`. - Every answer to a key carries `X-Request-Id` and `HodlOdds-Charged-USDC` (`0.000000` for a refusal) and, once the key is known, `HodlOdds-Balance-USDC`, `HodlOdds-Test-Credit-USDC`, `RateLimit-Policy` and `RateLimit`. Amounts are USDC strings with six decimals. Answers to a key are `private, no-store`. - Refusals by the key check are `application/problem+json` (RFC 9457) with `type` = `https://api.hodlodds.com/docs/api-key#`, `title`, `status`, `detail`, `code`, `instance` and `charged: false`; 402 and 403 add `price_usdc` and `balance_usdc`. Refusals of the route itself (an uncovered token, a stale feed, a bad query) keep the bodies described above. - A key spends the balance: keep it on a server, never in a browser, an app shipped to users, a repository or logs. If one leaks, revoke it on the account site and create a new one. ## Watch your own list Use `/v1/board?mints=A,B,C` to track a portfolio in one call (replace A/B/C with valid Solana mint addresses). Supply 1..100 distinct mints; duplicates return free 400. The offer binds `query.mints_sha256` (hex SHA-256 of the sorted, comma-joined ASCII mint list) and `query.mints_count`, without repeating the list. With mints, limit defaults to list size and allows 1..100; all explicit filters apply. Watchlists are exempt from all automatic low-risk filters: no activity or liquidity floor or crash exclusion hides a named holding. Explicit min_trades_5, min_liquidity_sol and include_crashed=false still filter the list; defaults_applied is empty and excluded_by_defaults is zero. Only delivered fresh SOL rows cost 5,000 atomic USDC each, as one exact total. Every requested mint absent from rows appears in the free `not_delivered` array as `{mint, stage, reason}`, using coverage stages and reasons; covered entries excluded by filters or the delivered limit say so. Uncovered entries are free and are not safety signals. Experimental entries contain no odds. Zero deliverable rows return free 200 with rows empty and all omissions listed. Retry and redeem require the same normalized list and query. Ten coins every minute = $0.05/min = $3.00/h. ## Settlement recovery Keep an ambiguous attempt's identical PAYMENT-SIGNATURE private. The server reconciles on-chain evidence in the background. Resend to the same route and normalized board query: 409 with Retry-After means pending verification; final not_settled returns free 409 and requires a new offer. A settled_onchain undelivered payment can be redeemed once within 24 hours of original verification for the current eligible answer, without a second settlement. Undelivered means the server saw the client connection closed before the answer was ready, or confirmed the settlement later; an answer it completed and sent is recorded as delivered and its redeem returns 409, even if it was lost between the edge network and you. Success carries HodlOdds-Redeemed: . Answers outside their route's freshness limit, uncovered answers and boards with fewer than the original priced_n are refused free, preserving the redeem until expiry. Use HodlOdds-Redeem: 1 to require recovery only (unknown claims are refused, never settled). The Python SDK retains HodlOddsError.payment privately and exposes client.redeem(payment). CLI ambiguous failures save a 0600 file under ~/.config/hodlodds/pending/; explicitly run hodlodds redeem . Never log or share that file or signature. Try after ~2 minutes; confirmation can take longer. Neither SDK nor CLI automatically redeems or signs again. ## Interpreting an answer `dd_60` = the last SOL close / maximum completed-minute SOL close in the preceding 60 minutes - 1. Zero is the hour high; -0.996 means a 99.6% fall from it. `already_crashed` is true at `dd_60 <= -0.90`, false when the token is not 90% or more below its high of the trailing 60 minutes; an older collapse reads false — see `crashed_within_24h`. It is null when `dd_60` is null. `crashed_within_24h` records whether an accepted cloud snapshot observed that threshold within 24 hours; `last_crash_as_of` is its latest snapshot timestamp (UTC Unix seconds), or null. This is observation-based: snapshots the cloud did not receive, including outages, are not seen. Both fields are null while the memory cannot vouch for the whole 24 hours: for 23 hours after a snapshot arrives more than an hour after the last one the memory recorded (a feed outage, or a replaced or restored memory file), after it exceeded its size limit (until the tokens it dropped would have expired), and while its store is failing. A new deployment starts with the memory available. If recent-crash memory is unavailable, both memory fields are null, the crash filter falls back to `already_crashed` only and the low-risk defaults reason ends with "recent-crash memory unavailable"; scores remain available. Risk, last-known and board rows include these facts; they do not change coverage or the probability. `close_sol` is the token's last completed one-minute close in SOL that the odds were computed from, so an answer can be checked against the price it was scored at. It is null when the snapshot carries no close for the token, as for minutes published before closes were added. Risk, last-known and board rows carry it after every other field; it does not change the probability, the confidence or coverage. `resq_sol` is the SOL in the token's pool at its last completed minute, to 0.01 SOL (`min_liquidity_sol` filters on it). `age_min` is the minutes since the token graduated to its own pool, null when that time is not known (`min_age_min` and `max_age_min` filter on it). `ret_5` and `ret_60` are the price changes in SOL over the last 5 and 60 minutes, as fractions: the last completed close divided by the last close at or before `as_of` minus 5 or 60 minutes, minus 1 (0.12 is +12%), null when there is none in the hour before that time. `trades_5` counts the trades in the pool over the last 5 minutes (`min_trades_5` filters on it). `metadata_uri` is the token's metadata link as its creator set it at launch, which this API publishes as text and does not fetch. The row's `band` is the historical band the odds fall in: `lo` and `hi` its edges, `historical_observed` the share of its historical predictions followed by a crash, `n` how many there were, and `basis` what that evidence rests on (historical validation, not measured calibration of the serving fit). In `confidence`, `band` is the probability range the score falls in, with its historical evidence: `lo` and `hi` its edges, `n` the historical predictions in it, `pred` their mean, `obs` the share followed by a crash and `positives` about how many were (`n` × `obs`); on experimental rows these evidence fields are null. `cost` is on a fresh answer from `/v1/risk/{mint}` and on `/v1/board` rows when the minute carries it: `fee_rate`, the pool's fee rate in the last completed one-minute bar, and `reserve_min_5` and `reserve_max_5`, the smallest and largest quote-side SOL reserve over the last five bars. A round trip's cost is worked out from them. Last-known answers and the free delayed board have no `cost`. When `already_crashed` is true, `note` says: "This token already fell 90% or more from its high of the last 60 minutes. The odds cover a further 90% drop from the current price; they are not a recovery or safety signal." When only the 24-hour memory is true, it says: "This token fell 90% or more from a recent high within the last 24 hours (last seen