# Quotes

`GET /assets/{asset}/quote`

A quote gives the price of one unit of an asset in the requested currency. Get the full list of IDs from [Tradable](https://docs.replica.finance/reference/tradable.md), or see [What can you trade?](https://docs.replica.finance/explanation/tradable-assets.md) for examples.

**Request**

```http
GET /assets/US-AAPL/quote?currency=USD
```

To quote the PancakeSwap token, use `GET /assets/crypto-Cake/quote?currency=USD`.

| Input | Meaning and format |
| --- | --- |
| `asset` | US listing: `US-{symbol}`. BNB Smart Chain token: `crypto-{symbol}`. Keep the full symbol, including case and share-class punctuation. Maximum 128 UTF-8 bytes. |
| `currency` | Required. Use `USD` for both listings and tokens. |

A listing requested by Market Identifier Code (`XNGS-AAPL`) or by another recognized market jurisdiction (`GB-VOD`) returns `404`. A forex pair returns `422`.

**Response for `US-AAPL`: `200 OK`**

```json
{
  "meta": {
    "network": "rehearsal",
    "at": "2026-11-27T23:59:59.999999999Z",
    "attribution": [
      {
        "text": "Data provided by Databento",
        "url": "https://databento.com/docs/datasets/equs-mini"
      }
    ]
  },
  "data": {
    "public": {
      "asset": { "id": "US-AAPL", "name": "AAPL" },
      "quote": { "currency": "USD", "price_per_unit": "359.31" }
    }
  }
}
```

| Output | Meaning and format |
| --- | --- |
| `asset.id` | The asset ID from the request. Use it in trades. |
| `asset.name` | The trading symbol for a US listing or the selected token’s name for crypto. This string can change. |
| `quote.currency` | `USD`. |
| `quote.price_per_unit` | Price per asset unit, in `quote.currency`. Positive plain decimal string, up to 18 decimal places; no trailing fractional zeros. Maximum `340282366920938463463.374607431768211455`. |
| `quote.pancake` | Present when a PancakeSwap pool supplies the price. `chain` is `bnb-smart-chain`. `version` is the pool version (`v2`, `v3` or `infinity`). `contract` is the token’s contract address. |
| `network` | Selected network. String. |
| `at` | Time of the source observation used for this price. RFC 3339, UTC (`Z`), with nine fractional digits. |
| `meta.attribution` | Sources for this price. Each entry has credit text (`text`) and a source link (`url`). The HTTP `Link` header carries the same credit with `rel="via"`. See [Attributions](https://docs.replica.finance/about/attributions.md). |

For an individual sale, `meta.at` is the time the feed received it. For a bar close, it is the last instant of the interval. For a liquidity pool price, it is the time of the block that supplied the price. A stored price keeps its timestamp.
