---
title: "Get Quotes Batch"
method: POST
path: "/api/quotes/batch"
tags: ["market"]
---

# Get Quotes Batch

`POST /api/quotes/batch`

## Request

- Base URL: `https://api.halalterminal.com`
- URL: `https://api.halalterminal.com/api/quotes/batch`
- Auth: API key in header `X-API-Key`

Fetch quotes for multiple symbols in a single request.

Returns a dictionary keyed by symbol, where each value is either the
quote object or null if the symbol could not be resolved.

**curl example**:
```bash
curl -X POST "http://localhost:8000/api/quotes/batch"          -H "Content-Type: application/json"          -d '{"symbols": ["AAPL", "MSFT", "GOOGL"]}'
```

**Python requests example**:
```python
import requests
resp = requests.post(
    "http://localhost:8000/api/quotes/batch",
    json={"symbols": ["AAPL", "MSFT", "GOOGL"]},
)
quotes = resp.json()
```

## Request body

- BatchQuoteRequest
  - `symbols` string[], required: List of ticker symbols to fetch quotes for

## Response `200`

Mapping of each requested symbol to its quote (or null if unavailable)

- object

## Other responses

- `401`: API key required or invalid
- `422`: Validation Error
- `429`: Quota exceeded

---

[API](https://skmtc.dev/halalterminal/apis/halal-terminal-api.md) · [All operations](https://skmtc.dev/halalterminal/apis/halal-terminal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/halalterminal/apis/halal-terminal-api/revisions/78768b250943?raw)
