> ## Documentation Index
> Fetch the complete documentation index at: https://docs.struct.to/llms.txt
> Use this file to discover all available pages before exploring further.

# Token API

> Token metadata, discovery, market data, holders, and audit.

Token endpoints provide metadata, discovery leaderboards, prices and candles, holders, and audit signals for individual tokens or batches.

Most calls need `chain` or `chain_id`. [Trending](https://docs.struct.to/api-reference/trending/trending-snapshot.md), [search](https://docs.struct.to/api-reference/token-discovery/search-tokens.md), and [pulse](https://docs.struct.to/api-reference/pulse/pulse-snapshot.md) also accept `chains` / `chain_ids` to query more than one chain at once.

| Name | `chain` | `chain_id` | Native |
| - | - | - | - |
| Solana | `solana` | `-1` | SOL |
| BNB Chain | `bnb` | `56` | BNB |
| Base | `base` | `8453` | ETH |
| Ethereum | `ethereum` | `1` | ETH |
| Robinhood Chain | `robinhood` | `4663` | ETH |
| Arc | `arc` | `5042` | USDC |

Pass `chain` or `chain_id` on requests that need a chain. Rooms and endpoints with multi-chain support, including Pulse and Trending, also accept `chains` and `chain_ids`; those selectors are combined. Follow the individual endpoint or room reference. Polygon is not a supported onchain chain.

## Token details

* [Token by address](https://docs.struct.to/api-reference/token/token-by-address.md): `GET /v1/token/address` for one token and an optional pool hint.
* [Tokens by address (batch)](https://docs.struct.to/api-reference/token/tokens-by-address-batch.md): `POST /v1/token/batch-address` for 1–100 entries. Each entry takes `token_address`, `chain_id` or `chain`, and an optional `pool_id`. Entries may use different chains.

Omit `pool_id` to select the token's highest-liquidity pool. A bonding pool that has migrated resolves to its linked destination; use the returned pool ID for subsequent requests. Both endpoints support older and inactive pools and return available token, liquidity, holder, creator, protocol, migration, and audit details.

For batches, `include_timeframes` selects the returned metric windows and defaults to `["24h"]`. It accepts `1m`, `5m`, `30m`, `1h`, `6h`, and `24h`; use `[]` to omit timeframe metrics. The batch has no separate `timeframe` parameter. Results match input order, and lookup errors are returned per entry.

## Pulse and Trending

Use [Pulse and Trending](https://docs.struct.to/guides/pulse-and-trending.md) for named lists with independent filters, sorting, pagination, and optional charts. HTTP snapshots use `/v1/pulse` or `/v1/trending`; live updates use the corresponding rooms.

## Discovery

* [Search tokens](https://docs.struct.to/api-reference/token-discovery/search-tokens.md) or resolve a batch of token/pool pairs.
* Tokens that share a [metadata image](https://docs.struct.to/api-reference/token/tokens-reusing-an-image.md) or a [Twitter username](https://docs.struct.to/api-reference/token/tokens-reusing-a-twitter.md).
* [Trending](https://docs.struct.to/api-reference/trending/trending-snapshot.md) ranks pools by volume, transactions, fees, or market cap across one or more chains.
* [Hyped](https://docs.struct.to/api-reference/token-discovery/hyped-tokens.md) lists symbols with multiple new pools in a window.
* [Lighthouse](https://docs.struct.to/api-reference/token-discovery/lighthouse-metrics.md) returns per-protocol activity metrics.

For migrated pool rows, show `migrated_from_protocol` as the name and icon when `is_migration_pool` is true and the origin is available. Otherwise use `protocol`. See [displaying migrated pools](https://docs.struct.to/guides/migrated-pools.md) for examples and the matching live-update fields.

## Market data

* [Current price](https://docs.struct.to/api-reference/token-market/token-price.md) and [batch price](https://docs.struct.to/api-reference/token-market/batch-token-price.md).
* [Price points](https://docs.struct.to/api-reference/token-market/token-price-points-timestamp-+-value.md) and [candlesticks](https://docs.struct.to/api-reference/token-market/token-candlestick-ohlc.md).
* [Trades](https://docs.struct.to/api-reference/token-market/token-transaction-trades.md) and [liquidity pools](https://docs.struct.to/api-reference/token-market/token-liquidity-pools.md). Liquidity pool rows omit `holders` and `dev_data`.

## Holders and traders

* [Holder list](https://docs.struct.to/api-reference/token-holders/token-holders.md), [summary](https://docs.struct.to/api-reference/token-holders/token-holder-summary.md), and [history](https://docs.struct.to/api-reference/token-holders/token-holder-history.md).
* [Top traders](https://docs.struct.to/api-reference/token/token-top-traders.md) for a token or pool.
* [Snipers](https://docs.struct.to/api-reference/token-audit/token-snipers.md).

## Locks

Lock endpoints have their own section: see the [Locks API](https://docs.struct.to/api-reference/token-locks/overview.md).

## Example

```bash cURL theme={null}
curl "https://staging-api.struct.to/v1/token/address?chain=solana&token_address=So11111111111111111111111111111111111111112" \
  -H "X-API-Key: YOUR_API_KEY"
```

```javascript JavaScript theme={null}
const response = await fetch(
  "https://staging-api.struct.to/v1/token/address?chain=solana&token_address=So11111111111111111111111111111111111111112",
  { headers: { "X-API-Key": "YOUR_API_KEY" } },
);
const { data } = await response.json();
```

## Related

* Live streams: [Trades](https://docs.struct.to/websockets/rooms/trades.md), [Address](https://docs.struct.to/websockets/rooms/address.md), [Trending](https://docs.struct.to/websockets/rooms/trending.md), [Price Metrics](https://docs.struct.to/websockets/rooms/price-metrics.md)
* [Trader API](https://docs.struct.to/api-reference/trader/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.