Skip to main content
The latest prices endpoint returns the most recent trade data for a batch of symbols. You must specify at least one symbol — the request returns a 400 error otherwise. Results are keyed by symbol and include price, volume, and any additional fields captured from the last trade event. GET https://app.stratalerts.com/api/market/v1/prices/latest
Requires scope: prices:read

Request parameters

symbols
string
required
Comma-separated list of ticker symbols (e.g., AAPL,MSFT,SPY). Symbols are normalized to uppercase. Maximum 250. At least one symbol is required — omitting this parameter returns a 400 error.

Response fields

items
object[]
required
Array of price objects, one per symbol that has a recent trade on record. Symbols with no recorded trade are omitted from the response.
Symbols in the response array follow the same order as your symbols parameter. Symbols with no recent trade data are silently excluded — check that all expected symbols appear in the response if completeness matters to your use case.

Code examples

curl -G "https://app.stratalerts.com/api/market/v1/prices/latest" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "symbols=AAPL,MSFT,SPY"

Example response

{
  "items": [
    {
      "symbol": "AAPL",
      "price": 214.32,
      "volume": 1200
    },
    {
      "symbol": "MSFT",
      "price": 415.88,
      "volume": 850
    },
    {
      "symbol": "SPY",
      "price": 532.10,
      "volume": 3400
    }
  ]
}

Error codes

HTTP statusError codeMeaning
400missing_symbolsThe symbols query parameter was not provided or is empty.
401missing_api_keyNo API key was provided or the key format is invalid.
403inactive_entitlementYour account does not have an active API entitlement.
403missing_scopeYour API key does not have the prices:read scope.
Error responses use the following shape:
{
  "error": {
    "code": "missing_symbols",
    "message": "missing symbols"
  }
}