market

Get Quotes Batch

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:

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

Python requests example:

import requests
resp = requests.post(
    "http://localhost:8000/api/quotes/batch",
    json={"symbols": ["AAPL", "MSFT", "GOOGL"]},
)
quotes = resp.json()
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

Request body

symbolsstring[] required

List of ticker symbols to fetch quotes for

Response

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

object required

Changes

No recorded changes to this operation across all 1 revision of this API.