A model representing the result of hitting the Multi Bars api; represents multiple Bars for multiple symbols. Returned results are sorted by symbol first then by Bar timestamp. This means that you are likely to see only one symbol in your first response if there are enough Bars in the duration you specified for that symbol to hit the limit you requested on that request. In these situations if you keep requesting again with the next_page_token you will eventually reach the next symbols if any Bars were found for them in the timeframe.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-multi-bars-response-schema.json",
"title": "MultiBarsResponse",
"description": "A model representing the result of hitting the Multi Bars api; represents multiple Bars for multiple symbols.\n\nReturned results are sorted by symbol first then by Bar timestamp. This means that you are likely to see only one symbol in your first response if there are enough Bars in the duration you specified for that symbol to hit the limit you requested on that request.\n\nIn these situations if you keep requesting again with the next_page_token you will eventually reach the next symbols if any Bars were found for them in the timeframe.\n",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/alpaca-crypto-pricing-data-api-api-openapi.yml#/components/schemas/MultiBarsResponse",
"type": "object",
"properties": {
"bars": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/$defs/Bar"
}
}
},
"next_page_token": {
"type": [
"string",
"null"
]
}
},
"required": [
"bars"
],
"$defs": {
"Bar": {
"title": "Bar",
"type": "object",
"description": "The bars API returns aggregate historical data for the requested securities.\n",
"properties": {
"t": {
"type": "string",
"description": "Timestamp in RFC-3339 format with nanosecond precision.",
"format": "date-time"
},
"x": {
"type": "string",
"description": "Exchange. Only present on Bars for Crypto symbols",
"enum": [
"FTXU",
"ERSX",
"CBSE"
]
},
"o": {
"type": "number",
"description": "Open price"
},
"h": {
"type": "number",
"description": "High price."
},
"l": {
"type": "number",
"description": "Low price.\n"
},
"c": {
"type": "number",
"description": "Close price."
},
"v": {
"description": "Volume.",
"type": "number"
},
"n": {
"type": "integer",
"description": "Number of trades.",
"format": "int64"
},
"vw": {
"description": "Volume weighted average price.",
"type": "number"
}
},
"required": [
"t",
"o",
"h",
"l",
"c",
"v"
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.