## Reference: Quotes

The live book per instrument

**Availability: live** on `https://api.cardog.app`.

### GET /v2/quotes

Multi-quote: one call, up to 20 instruments *Since 2026-07-30.*

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `refs` | string | yes | Comma-separated instrument refs, e.g. "model-year:honda/cr-v/2026,model-year:toyota/rav4/2026". Unknown refs 400, named. |

**Response 200** `MultiQuote`: Quotes in request order

- `quotes` (object[]): Same order as the request
  - `quotes[].ref` (string): Ref of the instrument (the thing being priced: a model year or a squish), e.g. "model-year:honda/cr-v/2026"
  - `quotes[].grain` ("mmy" | "mmy.drive" | "mmy.fuel" | "mmy.body" | "squish"): Level of detail the instrument is priced at: "mmy" (model year), "mmy.drive", "mmy.fuel" or "mmy.body" (model year split by drive type, fuel type, or body style), or "squish" (exact configuration: WMI + VDS + model year, plant-agnostic)
  - `quotes[].liveCount` (integer): Number of live listings the quote is computed from. Treat it as the sample size.
  - `quotes[].bestPrice` (number | null): Lowest live asking price
  - `quotes[].priceP25` (number | null): 25th percentile of live asking prices
  - `quotes[].priceMedian` (number | null): Median live asking price
  - `quotes[].priceP75` (number | null): 75th percentile of live asking prices
  - `quotes[].avgDomDays` (number | null): Average days on market across the live listings
  - `quotes[].cuts30d` (integer | null): Number of price cuts observed in the trailing 30 days
  - `quotes[].avgCutPct30d` (number | null): Average price cut as a percentage, trailing 30 days
  - `quotes[].sightings30d` (integer | null): Number of listing observations in the trailing 30 days
  - `quotes[].asOf` (string): When the quote was last computed (ISO 8601)
  - `quotes[].links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
- `links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

**Errors** (all use the ErrorEnvelope): 400, 401, 402, 429, 500

**Example: cURL**

```bash
curl "https://api.cardog.app/v2/quotes?refs=model-year:honda/cr-v/2026,model-year:toyota/rav4/2026" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"
```

**Example: TypeScript** (`npm install @cardog/api`)

```typescript
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: process.env.CARDOG_API_KEY });

const multiQuote = await client.v2.quotes.getMany(["model-year:honda/cr-v/2026", "model-year:toyota/rav4/2026"]);
console.log(multiQuote.quotes);
```

**Example: Python** (`pip install cardog`)

```python
import os

from cardog import Cardog

client = Cardog(api_key=os.environ["CARDOG_API_KEY"])

multi_quote = client.v2.quotes.get_many(["model-year:honda/cr-v/2026", "model-year:toyota/rav4/2026"])
print(multi_quote.quotes)
```

### GET /v2/quotes/{ref}

The live book for one instrument *Since 2026-07-30.*

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ref` | string | yes | An instrument ref. Slashes in refs must be URL-encoded (%2F). |

**Response 200** `Quote`: NBBO-style quote line: best, percentiles, DOM, cuts

- `ref` (string): Ref of the instrument (the thing being priced: a model year or a squish), e.g. "model-year:honda/cr-v/2026"
- `grain` ("mmy" | "mmy.drive" | "mmy.fuel" | "mmy.body" | "squish"): Level of detail the instrument is priced at: "mmy" (model year), "mmy.drive", "mmy.fuel" or "mmy.body" (model year split by drive type, fuel type, or body style), or "squish" (exact configuration: WMI + VDS + model year, plant-agnostic)
- `liveCount` (integer): Number of live listings the quote is computed from. Treat it as the sample size.
- `bestPrice` (number | null): Lowest live asking price
- `priceP25` (number | null): 25th percentile of live asking prices
- `priceMedian` (number | null): Median live asking price
- `priceP75` (number | null): 75th percentile of live asking prices
- `avgDomDays` (number | null): Average days on market across the live listings
- `cuts30d` (integer | null): Number of price cuts observed in the trailing 30 days
- `avgCutPct30d` (number | null): Average price cut as a percentage, trailing 30 days
- `sightings30d` (integer | null): Number of listing observations in the trailing 30 days
- `asOf` (string): When the quote was last computed (ISO 8601)
- `links`? (object): Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

**Errors** (all use the ErrorEnvelope): 400, 401, 402, 404, 429, 500

**Example: cURL**

```bash
curl "https://api.cardog.app/v2/quotes/model-year:honda%2Fcr-v%2F2026" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"
```

**Example: TypeScript** (`npm install @cardog/api`)

```typescript
import { CardogClient } from "@cardog/api";

const client = new CardogClient({ apiKey: process.env.CARDOG_API_KEY });

const quote = await client.v2.quotes.getByRef("model-year:honda/cr-v/2026");
console.log(quote.ref);
```

**Example: Python** (`pip install cardog`)

```python
import os

from cardog import Cardog

client = Cardog(api_key=os.environ["CARDOG_API_KEY"])

quote = client.v2.quotes.get_by_ref("model-year:honda/cr-v/2026")
print(quote.ref)
```

---

Previous: [Instruments](https://cardog.app/docs/reference/instruments.md) (API reference)
Next: [Tape](https://cardog.app/docs/reference/tape.md) (API reference)
