> For the complete documentation index, see [llms.txt](https://fourohtwo.gitbook.io/fourohtwo-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fourohtwo.gitbook.io/fourohtwo-docs/reference/fourohtwo-apis.md). Agents can also search and read this documentation through its [MCP server](https://fourohtwo.gitbook.io/fourohtwo-docs/~gitbook/mcp).

# Fourohtwo APIs

APIs run by Fourohtwo on Robinhood Chain data. Call them at `https://fourohtwo.xyz/x/<name>`.

| Name               | What it returns                                                                                                                                       | Price (USDG) | Parameters                                                                 |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | -------------------------------------------------------------------------- |
| `rug-check`        | Risk score for a Robinhood Chain token: verified source, owner controls, holder concentration and age.                                                | 0.02         | `address`                                                                  |
| `swap-quote`       | Best price to swap one Robinhood Chain token for another, with price impact and route sources.                                                        | 0.01         | `sell`, `buy`, `amount`                                                    |
| `wallet-portfolio` | ETH and token balances for any address, with USD values where a price is known.                                                                       | 0.005        | `address`                                                                  |
| `tx-explain`       | Plain-language summary of a transaction: who called what, value moved, token transfers and fee.                                                       | 0.005        | `hash`                                                                     |
| `address-activity` | The most recent transactions sent or received by an address.                                                                                          | 0.005        | `address`, `limit` (optional)                                              |
| `token-info`       | Name, symbol, supply, holder count and market data for a token.                                                                                       | 0.005        | `address`                                                                  |
| `token-holders`    | Top holders of a token and how much of the supply the top 10 control.                                                                                 | 0.005        | `address`, `limit` (optional)                                              |
| `top-tokens`       | The largest tokens on Robinhood Chain by holders and market data.                                                                                     | 0.005        | `limit` (optional)                                                         |
| `contract-info`    | Verification status, compiler, proxy implementation and callable methods of a contract.                                                               | 0.005        | `address`                                                                  |
| `gas`              | Current gas price and the cost of a plain transfer and a token swap on Robinhood Chain.                                                               | 0.002        | none                                                                       |
| `chain-stats`      | Network totals for Robinhood Chain: transactions, addresses, block time and ETH price.                                                                | 0.002        | none                                                                       |
| `stock-price`      | Live price of a Robinhood stock token like TSLA or NVDA on Robinhood Chain, with 24h change, volume, market cap and its deepest pools.                | 0.005        | `ticker`                                                                   |
| `stock-tokens`     | Every Robinhood stock token traded on Robinhood Chain, with price, 24h change, volume and market cap, busiest first.                                  | 0.01         | `limit` (optional)                                                         |
| `trending-pools`   | The pools traders are piling into on Robinhood Chain right now, with price moves, volume, liquidity and buy/sell counts.                              | 0.005        | `duration` (optional), `limit` (optional)                                  |
| `new-pools`        | The newest liquidity pools on Robinhood Chain, so an agent can spot fresh launches early. Pair it with rug check.                                     | 0.005        | `limit` (optional)                                                         |
| `token-price`      | USD price, 24h change, volume and market cap for up to 30 Robinhood Chain tokens in one call.                                                         | 0.002        | `addresses`                                                                |
| `pool-info`        | Everything about one DEX pool on Robinhood Chain: both tokens, price, price moves, volume, liquidity, FDV and trades.                                 | 0.005        | `address`                                                                  |
| `ohlcv`            | OHLCV candles for any Robinhood Chain pool by minute, hour or day, ready for charting or technical analysis.                                          | 0.01         | `pool`, `timeframe` (optional), `aggregate` (optional), `limit` (optional) |
| `stock-premium`    | How far a Robinhood stock token's on-chain price sits above or below the real stock, with US market session and next open. Up to 10 tickers per call. | 0.01         | `tickers`                                                                  |
| `market-hours`     | Whether the US stock market is open, in pre-market, after-hours or closed right now, with the next open and close times.                              | 0.001        | none                                                                       |
| `stock-movers`     | The Robinhood stock tokens that rose and fell most in the last 24 hours on Robinhood Chain, and the most traded, skipping thin pools.                 | 0.005        | `limit` (optional), `min_volume_usd` (optional)                            |
| `whale-trades`     | Recent large swaps of a token on Robinhood Chain: who bought or sold, how much in USD and in which pool, with buy and sell totals.                    | 0.01         | `token` or `pool`, `min_usd` (optional), `limit` (optional)                |
| `dex-volume`       | 24-hour trading volume on Robinhood Chain by exchange, with each DEX's share, liquidity and busiest pool.                                             | 0.005        | none                                                                       |

## Market data

`stock-price`, `stock-tokens`, `trending-pools`, `new-pools`, `token-price`, `pool-info` and `ohlcv` read live DEX data for Robinhood Chain from GeckoTerminal, with DexScreener as a backup for prices. Prices are in USD and refresh every 15 to 60 seconds.

`stock-price` and `stock-tokens` cover the Robinhood stock tokens traded on Robinhood Chain, such as TSLA, NVDA, AAPL and SPY. A ticker that isn't listed returns `400`, and nothing is charged.

## Stock token premium and market hours

`stock-premium` compares a stock token's on-chain price with the real stock price from Yahoo Finance (Nasdaq as a backup). A positive `premiumPct` means the token costs more on chain than the stock. Stock tokens trade around the clock, so when the US market is closed the comparison uses the last trade, and gaps are normal. Private companies listed as tokens, such as ANT and SPCX, have no public stock price to compare.

`market-hours` tells an agent whether the US market is in pre-market, open, after-hours or closed, and when it next opens.

## Example

```bash
curl -i "https://fourohtwo.xyz/x/stock-premium?tickers=TSLA,NVDA"
# 402 Payment Required with the price. Any x402 client pays and retries.
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://fourohtwo.gitbook.io/fourohtwo-docs/reference/fourohtwo-apis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
