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

> ## Agent Instructions
> The Financial Datasets API is served at https://api.financialdatasets.ai. Authenticate with the `X-API-KEY` header; create keys at https://financialdatasets.ai. Agents can open and fund their own account without a dashboard: see https://docs.financialdatasets.ai/agents.md.
> Tool-using agents can call Financial Datasets without writing code through the hosted MCP server at https://mcp.financialdatasets.ai/.
> The OpenAPI spec at https://financialdatasets.ai/openapi.json is the source of truth for request and response schemas.
> The index of every docs page is at https://docs.financialdatasets.ai/llms.txt. Append .md to any docs URL to get that page as Markdown.

# Tokenized Stock Market Snapshot API

> The latest price of every stock token on Base in one request, each with its last trade, its pool, the price of the stock, and the gap between the two in percent.

### Overview

This endpoint returns every stock token on Base that has a price, in one call. Each token comes with its own price from its USDC pool, the price of the stock, and the gap between the two in percent.

Use it to find the tokens with the widest gap, to value a wallet of tokens, or to fill a board of all tokens. For one token, call the [Price Snapshot](https://docs.financialdatasets.ai/api/tokenized-stocks/prices/snapshot.md).

You can call it with an API key, or pay per request with [x402](https://docs.financialdatasets.ai/x402.md), with no account.

### Coverage

| Coinbase tokens on Base | Tokens | Updated |
| - | - | - |
| With a price | 50+ | Every 15 seconds |

A token has a price when it has a USDC pool on Aerodrome that holds \$10,000 or more of USDC. A token with no such pool is not in the response. [`GET /tokenized-stocks`](https://docs.financialdatasets.ai/api/tokenized-stocks/prices/snapshot#available-tokens) lists every token, free and with no key.

### Example

```python Python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
import requests

headers = {
    "X-API-KEY": "your_api_key_here"
}

response = requests.get(
    "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market",
    headers=headers,
)
snapshots = response.json()["snapshots"]

# The five tokens that are cheapest against their stock.
with_gap = [snapshot for snapshot in snapshots if snapshot["gap_percent"] is not None]
cheapest = sorted(with_gap, key=lambda snapshot: snapshot["gap_percent"])[:5]
```

```bash cURL theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
curl -H "X-API-KEY: your_api_key_here" \
  "https://api.financialdatasets.ai/tokenized-stocks/prices/snapshot/market"
```

No query parameters are needed.

### Example Response

```json theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
{
  "snapshots": [
    {
      "ticker": "AAPLc",
      "chain": "base",
      "address": "0xb200000000000000000000c2e324d24d7eecd1fb",
      "price": 354.56,
      "time": "2026-11-30T16:29:06Z",
      "time_milliseconds": 1796056146000,
      "last_trade": {
        "price": 354.48,
        "size_usd": 631.94,
        "side": "sell",
        "transaction": "0x3970c59ceb1f9c32ffa2046c7459cf667f05bb91fc050767af64a298faadcef8",
        "time": "2026-11-30T16:29:06Z"
      },
      "pool": {
        "address": "0xf5fcb9cdafce67d50afef298f88e709d2b946ba6",
        "usdc": 190115.2,
        "fee_percent": 0.0275
      },
      "shares_per_token": 1.0005003893019802,
      "price_per_share": 354.38,
      "stock": {
        "ticker": "AAPL",
        "price": 353.99,
        "time": "2026-11-30T16:29:17Z"
      },
      "gap_percent": 0.11
    },
    ...
  ]
}
```

The response has one snapshot for each token, sorted by `ticker`. There are no pages.

Each snapshot has the same fields as the response of the [Price Snapshot](https://docs.financialdatasets.ai/api/tokenized-stocks/prices/snapshot.md#example-response). The two that you compare most often:

| Field | Value |
| - | - |
| `gap_percent` | The gap between the token's price for one share and the stock's price, in percent. Below zero, the token is cheaper than the stock. It is `null` when we have no price for the stock. |
| `pool.usdc` | The USDC the token's pool holds. A larger pool takes a larger trade with less change in the price. |

When the stock market is closed, `stock.price` is the stock's last price. Compare `time` with `stock.time` before you read the gap.

### When there is no price

| Case | Response |
| - | - |
| Our last read of one token's pool is more than 5 minutes old. | The token is not in the response. |
| Our last read of every pool is more than 5 minutes old. | `503` with the error `Price not fresh`. Send the request again after the seconds in the `Retry-After` header. The request is not charged, with a key or with x402. |

### Related

> [card] [Price Snapshot](https://docs.financialdatasets.ai/api/tokenized-stocks/prices/snapshot.md)
>
> The price of one stock token, and the free list of all tokens.

> [card] [Market Snapshot](https://docs.financialdatasets.ai/api/prices/market-snapshot.md)
>
> The real-time price of every US stock in one call.


## OpenAPI

````yaml GET /tokenized-stocks/prices/snapshot/market
openapi: 3.0.1
info:
  title: Financial Datasets API
  description: >-
    Stock market API with real-time and historical financial data for 27,000+
    tickers over 30+ years. Financial statements, equity prices, insider trades,
    SEC filings, and more.
  version: 1.0.0
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  contact:
    name: API Support
    url: mailto:support@financialdatasets.ai
    email: support@financialdatasets.ai
  termsOfService: https://financialdatasets.ai/terms-of-use
servers:
  - url: https://api.financialdatasets.ai/
    description: Production server
security:
  - X-API-KEY: []
tags:
  - name: Financial Statements
    description: Access to income statements, balance sheets, and cash flow statements
  - name: Market Data
    description: Real-time and historical price data
  - name: Tokenized Stocks
    description: The price of a stock token on Base
  - name: Company Information
    description: Company facts like ticker, name, and description
  - name: Earnings
    description: Earnings data and related information
  - name: News
    description: Real-time and historical news articles
  - name: SEC Filings
    description: SEC filings and regulatory documents
  - name: Insider Sale Notices
    description: SEC Form 144 notices of proposed insider stock sales
  - name: Insider Trades
    description: Insider trading activity and transactions
  - name: Politician Trades
    description: Stock trades disclosed by members of Congress
  - name: Activist Ownership
    description: Activist stakes from SEC Schedule 13D filings, in real time
  - name: Beneficial Ownership
    description: >-
      Holders of more than 5% of a company's shares, from SEC Schedules 13D and
      13G
  - name: Insider Ownership
    description: Insider ownership statements from SEC Forms 3 and 5
  - name: Institutional Holdings
    description: SEC-direct 13F equity holdings of institutional investment managers
  - name: IPOs
    description: >-
      Upcoming IPOs from SEC registration statements (Form S-1), with extracted
      pre-IPO financial statements
  - name: Index Funds
    description: >-
      ETF and index-fund holdings, weights, and the funds that hold a given
      security
  - name: Financial Metrics
    description: Financial ratios, metrics, and key performance indicators
  - name: Macroeconomics
    description: Real-time and historical macroeconomic data like interest rates
  - name: KPIs
    description: Sector-specific operational KPIs extracted from earnings releases.
  - name: Agent Account
    description: Self-serve account creation and funding for AI agents.
  - name: Search
    description: Search financial documents with one question and get cited passages back
paths:
  /tokenized-stocks/prices/snapshot/market:
    get:
      tags:
        - Tokenized Stocks
      summary: Tokenized Stock Market Snapshot (Real-Time)
      description: >-
        Get the latest price of every stock token on Base that has a price, in
        one request. Each snapshot has the fields of `GET
        /tokenized-stocks/prices/snapshot`: the price from the token's USDC
        pool, the last trade, the pool's USDC and fee, the price of the stock,
        and the gap between the two in percent. The snapshots are sorted by
        `ticker`. A token whose pool we did not read in the last 5 minutes is
        left out.
      operationId: getTokenizedStockPriceSnapshotMarket
      parameters: []
      responses:
        '200':
          description: Tokenized stock market snapshot response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenPriceSnapshotMarketResponse'
              example:
                snapshots:
                  - ticker: AAPLc
                    chain: base
                    address: '0xb200000000000000000000c2e324d24d7eecd1fb'
                    price: 354.56
                    time: '2026-11-30T16:29:06Z'
                    time_milliseconds: 1796056146000
                    last_trade:
                      price: 354.48
                      size_usd: 631.94
                      side: sell
                      transaction: >-
                        0x3970c59ceb1f9c32ffa2046c7459cf667f05bb91fc050767af64a298faadcef8
                      time: '2026-11-30T16:29:06Z'
                    pool:
                      address: '0xf5fcb9cdafce67d50afef298f88e709d2b946ba6'
                      usdc: 190115.2
                      fee_percent: 0.0275
                    shares_per_token: 1.0005003893019802
                    price_per_share: 354.38
                    stock:
                      ticker: AAPL
                      price: 353.99
                      time: '2026-11-30T16:29:17Z'
                    gap_percent: 0.11
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/PaymentRequiredError'
        '503':
          description: >-
            Our last read of every token pool is more than 5 minutes old, so the
            prices can be wrong. The request is not charged. Send it again after
            the wait in `Retry-After`.
          headers:
            Retry-After:
              description: The number of seconds to wait before the next request.
              schema:
                type: integer
                example: 30
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Price not fresh
                message: >-
                  Our last read of the token pools is more than 5 minutes old.
                  You were not charged. Send the same request again in 30
                  seconds.
components:
  schemas:
    TokenPriceSnapshotMarketResponse:
      type: object
      properties:
        snapshots:
          type: array
          description: One snapshot for each token that has a price, sorted by `ticker`.
          items:
            $ref: '#/components/schemas/TokenPriceSnapshot'
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: A short error message.
        message:
          type: string
          description: A more detailed error message.
    TokenPriceSnapshot:
      type: object
      properties:
        ticker:
          type: string
          description: The token's symbol.
        chain:
          type: string
          description: The blockchain the token is on.
        address:
          type: string
          description: The token's contract address, in lower case.
        price:
          type: number
          description: >-
            The price of one token in US dollars: the price in the token's USDC
            pool after its last trade. 1 USDC counts as 1 dollar.
        time:
          type: string
          nullable: true
          description: >-
            The time the price last changed, in UTC: the time of the last swap
            in the token's pool, of any size. Empty until we have seen a swap of
            the token.
        time_milliseconds:
          type: number
          nullable: true
          description: The time the price last changed in milliseconds since epoch.
        last_trade:
          type: object
          nullable: true
          description: >-
            The token's last trade of $1 or more in the pool. A smaller swap
            also moves the price, so `time` can be later than the time of this
            trade. Empty until we have seen such a trade.
          properties:
            price:
              type: number
              description: >-
                The dollars the trader paid (a buy) or got (a sell) for one
                token, the pool's fee included.
            size_usd:
              type: number
              description: The size of the trade in US dollars.
            side:
              type: string
              enum:
                - buy
                - sell
              description: >-
                `buy` when the trader bought the token, `sell` when the trader
                sold it.
            transaction:
              type: string
              description: The hash of the trade's transaction on Base.
            time:
              type: string
              description: The time of the trade, in UTC.
        pool:
          type: object
          description: >-
            The USDC pool the price comes from: the token's Aerodrome pool that
            holds the most USDC.
          properties:
            address:
              type: string
              description: The pool's contract address, in lower case.
            usdc:
              type: number
              description: The USDC the pool holds.
            fee_percent:
              type: number
              description: 'The pool''s fee on a trade, in percent: 0.05 is 0.05%.'
        shares_per_token:
          type: number
          description: How many shares of the stock one token stands for.
        price_per_share:
          type: number
          description: >-
            The token's price for one share: `price` divided by
            `shares_per_token`.
        stock:
          type: object
          nullable: true
          description: >-
            The stock the token stands for, with its latest price. Empty when we
            have no price for the stock.
          properties:
            ticker:
              type: string
              description: Our ticker for the stock.
            price:
              type: number
              description: The latest price of the stock.
            time:
              type: string
              description: The time of the stock's price, in UTC.
        gap_percent:
          type: number
          nullable: true
          description: >-
            The gap between `price_per_share` and the stock's price, in percent
            of the stock's price. Below zero, the token is cheaper than the
            stock. Empty when `stock` is empty.
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Unauthorized
            message: Invalid API key provided
    PaymentRequiredError:
      description: The request requires a paid subscription
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Payment Required
            message: >-
              This endpoint requires a paid subscription. Please upgrade your
              plan.
  securitySchemes:
    X-API-KEY:
      type: apiKey
      name: X-API-KEY
      description: API key for authentication.
      in: header

````

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