# Get latest prices

Endpoint reference for the 1delta API. Index: https://docs.1delta.io/llms.txt · every endpoint: https://docs.1delta.io/llms-full.txt

---

### GET /v1/data/prices/latest

- operationId: `get-latest-prices`
- docs: https://docs.1delta.io/1delta-api/get-latest-prices/
- markdown: https://docs.1delta.io/1delta-api/get-latest-prices.md
- tags: Prices

Get latest prices

Returns latest USD prices for tracked assets.

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `assets` | query | string[] | no | Asset group keys (repeatable) |
| `asOf` | query | string | no | ISO date anchor; defaults to latest hour |

**Response `200`** — Latest price data

| Field | Type | Description |
| --- | --- | --- |
| `success` | true |  |
| `data` | object |  |
| `data.asOf` | string | Timestamp the data was measured at. |
| `data.count` | integer | Number of entries in `items`. |
| `data.items` | object | Map of asset_group → priceUsd |
| `data.debug` | object |  |
| `data.debug.rows` | object[] |  |
| `actions` | null |  |

**Example response**

```json
{
  "success": true,
  "data": {
    "asOf": "2026-01-01T00:00:00Z",
    "count": 1,
    "items": {
      "USDC": 1.0001,
      "WBTC": 67432.12
    },
    "debug": {
      "rows": [
        {}
      ]
    }
  }
}
```

**Response `429`** — Rate limited. Unauthenticated callers share a per-IP budget; send an `x-api-key` header to lift it. Retry with exponential backoff.

**Response `500`** — Unexpected server error. Safe to retry with backoff.

**Response `502`** — An upstream data source or protocol origin failed (`error.code` is `ORIGIN_FAILED`). `error.details` carries the per-origin status. This is also what a missing or malformed required parameter currently returns, rather than a 400.
