Docs
API https://api.orblivion.com Home Agents

Tokens and risks

Any token with a route can be traded. Orblivion doesn't decide what you may trade: it screens each token, tells you what it found, and asks for your explicit acceptance before a trade with a severe finding.

Any token with a route#

  • The core assets go by symbol: ETH, WETH, USDG, cbBTC, ORBIO, and the stock tokens NVDA and SPY. Their addresses are pinned in the SDKs and published in GET /api/v1/config.
  • Every other token goes by its contract address, in every request and answer. A symbol means nothing on chain: there are many fake USDGs, and popular Orbio agent tokens have dozens of copies. A request that names any other token by symbol is refused (TOKEN_NOT_ALLOWED).
  • A token is tradable when Orblivion can build a trade through at least one venue: a Uniswap v2, v3 or v4 pool (through WETH, USDG or ORBIO), or its Pons bonding curve while it is still on one. The only refusal about a token itself is NO_ROUTE.
  • A token Orblivion hasn't seen is screened on demand when you first name it (within about 8 seconds). Screening is rate-limited per caller and overall: 429 RATE_LIMITED or 503 SCREEN_UNAVAILABLE, each with Retry-After.

GET /api/v1/tokens/<address> returns a token's record: its tier, kind, venues, liquidity, price reference, flags, taxes and disclosures, plus plain-language warnings.

Tiers#

Every token gets a tier. A tier is a risk class and the defaults a token trades with, never a permission:

TierWhich tokensPrice referenceDeviation allowed from it
Aa Chainlink feed and $1M or more of liquidityChainlink, or the reference pool's time-weighted average while the feed is stalethe asset's own cap (60 bps by default)
B$100k to $1M, or a usable independent reference without a feedChainlink, a 30-minute pool average, or a median of distinct pools150 bps
Canything else with a route, Orbio agent tokens includedthe venue's own price, or none300 bps, plus the curve's or hook's fee and the creator's tax

A record's limits also carries a size hint: where price impact may start. A trade above it is not refused; its impact is disclosed.

Disclosures#

Every token record, quote, plan, simulation and session trade answers, at its top level (here, a plan that buys a long-tail token with ETH):

JSON
"risks": [
  {"code": "TRANSFER_TAX", "severity": "severe", "detail": "..."},
  {"code": "LOW_LIQUIDITY", "severity": "info", "detail": "..."}
],
"fee_bps": 50,
"fee_class": "other",
"fee_tier": 50

risks is always present (an empty list when there are none), severe first. It holds the tokens' own findings and the trade's own: its price impact, an unknown hook on the route, a stale price reference.

fee_bps is Orblivion's fee for the trade. A quote, plan, simulation or session trade also says its fee_class (major when both tokens are majors, else other) and fee_tier. A trade with any token outside the majors (ETH, WETH, USDG, cbBTC, ORBIO and Robinhood stock tokens) is other, so it pays 0.50%. See Fees and gas.

The full table#

CodeSeverityMeaning
HONEYPOTseverethe sell leg of Orblivion's buy-then-sell simulation failed: you may not be able to sell
TRANSFER_TAXseverea plain transfer delivers less than was sent
LOOKALIKEsevereimitates a core asset's name or symbol at another address
AMOUNT_HOOKseverea v4 hook on the route can change swap amounts (the minimum output still holds)
HIGH_PRICE_IMPACTseverethe trade moves the price more than 10%
UNSCREENEDsevereOrblivion's screen couldn't finish for this token, so a honeypot or tax can't be ruled out
PRICE_IMPACTinfothe trade moves the price at least 3% and less than 10% (detail: the impact)
LOW_LIQUIDITYinfounder Orblivion's liquidity floor for its tier
NO_REFERENCEinfono independent price reference; the exact simulation and the minimum output protect the trade
STALE_REFERENCEinfothe token's price reference is older than its maximum age
UPGRADEABLEinfothe token is a proxy whose code its admin can change
PAUSABLEinfoan admin can pause transfers
PAUSEDinfotransfers are paused now, so trades will fail simulation
BLOCKLISTinfoan admin can block addresses from transferring
ADMIN_BURNinfoan admin can burn or seize balances
SCALED_BALANCEinfobalances are scaled (ERC-8056 multiplier or rebasing)
CREATOR_TAXinfothe creator takes a tax on curve trades
CURVEinfostill on its launch curve
NEW_TOKENinfolaunched in the last 24 hours
HOOKinfoa v4 hook outside Orblivion's known list is on the route; it can't change amounts

The same table is risks in GET /api/v1/config ({code: severity}), and the SDKs pin it: a server that publishes anything else, or answers with a code they don't know or a severity other than this table's, is refused (CONFIG_MISMATCH, RISK_CODES).

What a screen does and doesn't tell you#

A record says what Orblivion's screen saw: the address is an ERC-20 contract read on chain; a small buy and its sale back in simulation, from a fresh address, at the time of the screen; which hooks sit in its pools and what their permissions allow; how much liquidity it confirmed on chain; whether the token imitates a core asset; and what its code can do (upgrade, pause, block addresses, burn balances).

It does not say that the token is worth anything, that it belongs to the project whose name it carries, that its deployer won't change it after the screen, that a sale will work for every wallet and every size, or that its pool isn't being pushed. A proxy whose code changes is screened again before it trades (TOKEN_CHANGED until then), and every trade is simulated again just before it is signed, but a token can behave differently for your wallet than for the screen's.

Hooks#

Uniswap v4 pools can carry a hook, a contract that runs around each swap. A hook Orblivion knows (none, the Pons graduation hook, and a short list of dynamic-fee hooks) passes silently. Any other hook is still a venue, disclosed from the permission bits in its own address:

  • AMOUNT_HOOK (severe) when it can change the swap's amounts: beforeSwapReturnDelta or afterSwapReturnDelta, or beforeSwap on a dynamic-fee pool, where it can set the fee as the swap executes;
  • HOOK (informational) otherwise.

The SDKs and the co-signer read the class from the address themselves and refuse a plan whose hook Orblivion didn't disclose, an AMOUNT_HOOK you didn't accept, and any hook data. The minimum output holds either way.

Accepting risks#

A severe disclosure stops an executable plan unless the request names it:

JSON
{"wallet": "0x...", "token_in": "ETH", "token_out": "0x...", "notional_usd": 5, "accept_risks": ["TRANSFER_TAX"]}

Without it, the plan is refused:

JSON
{"error": {"code": "RISK_NOT_ACCEPTED",
  "message": "this trade carries severe risk the request doesn't accept: TRANSFER_TAX (pass accept_risks to trade anyway)",
  "unaccepted": ["TRANSFER_TAX"],
  "risks": [{"code": "TRANSFER_TAX", "severity": "severe", "detail": "..."}],
  "terms": {"accept_risks": [], "source": "request", "...": "..."}}}
  • accept_risks takes severe codes only. An informational code there or an unknown code is 400 BAD_REQUEST.
  • A quote never refuses for risk: it only discloses. Acceptance matters for prepare, build, simulate with your wallet, and session grants.
  • The SDKs never accept anything on their own, and check again before they sign: a plan or a token record whose severe risks you didn't accept is refused locally (RISK_NOT_ACCEPTED), whatever the server said.
  • Accepting a risk loosens no check that protects the trade. The exact call, the minimum output, the price references and the SDKs' own floors stay the same. Accepting HIGH_PRICE_IMPACT lets a trade with high impact be planned; it doesn't widen your slippage. Set slippage_bps yourself if you mean to trade through it.
  • For sessions and hosted agents the owner accepts, not the agent. The accepted risks are part of what the owner signs (see Sessions); a session trade that names other terms is refused (SESSION_TERMS).

Past a recommended limit: BEYOND_DEFAULTS#

Your limits are your choice. Orblivion's recommended limits stay low, and moving one past them is a severe risk of its own, BEYOND_DEFAULTS: it goes through only when the request's, the live agent's or the session's accept_risks names it. A paper agent trades no funds, so its limits may go past them with neither the code nor the acknowledgement; going live, it takes both, as a live create does. The recommended limits:

Recommended limitPast it
a live hosted agent's trade, and a session's: $1,000max_trade_usd above it (the day stays within 100 times a trade)
a live Solana agent or chain: $100 a trade, $500 a day, $1,000 held (with no limits given: $10, $50 and $1,000)any of them above it, its session's too
an own-wallet trade: $10,000a larger trade
an approval budget: $10,000a larger budget, or an unlimited approval (with allow_unlimited_approval too)
slippage: the pair's cap for the size, at most 3%more, under 100%; a session's own most is signed in its binding (max_slippage_bps)
a session trading a tier C token (an agent's, or your own wallet's): 24 hoursa longer one (a token by address with no Chainlink feed stays at 24 hours; ORBIO may run longer while the co-signer reads its reference pool's TWAP)
Solana fast mode: SOL, USDC, USDT, USDG, PYUSD and JUPany other token: outside a bundle, a trade can be front-run up to its slippage

Naming BEYOND_DEFAULTS takes the account's one-time risk acknowledgement first, signed once ever by its owner key (else 409 RISK_ACK_NEEDED); an earlier version still counts. A plan that goes past a recommended limit discloses BEYOND_DEFAULTS, saying which. The minimum output and the price references stay. Past 3% of slippage, though, the co-signer's price floor follows the slippage you choose: a trade may then fill that far under the co-signer's own price, which is the loss you accept. A session's own cap under 3% is held by Orblivion's engine, and the co-signer's floor stays at 3%. The code isn't in /config's table, so older SDKs keep working; newer SDKs know it.

Stock tokens#

NVDA, SPY and Robinhood Chain's other stock tokens are tokenized equities.

  • They are issued by a third party under its own terms, and may be restricted in some places. See the Terms of Use.
  • They can be paused, and their registry can block wallets: Orblivion checks both before building (STOCK_PAUSED, WALLET_BLOCKED).
  • Pools trade around the clock while the stock price feeds stop for the weekend, so a weekend price may be stale (STALE_REFERENCE).
  • Balances are scaled by a share multiplier (SCALED_BALANCE). The price feeds already include it.
  • A hosted agent trades them only when it is live, and only while the US stock-token session is open. See Hosted agents.