Alpaca · Schema
BarsResponse
FintechTradingStocksCryptocurrencyBrokerageMarket DataOptionsReal-TimeInvestingFinancial Services
Properties
| Name | Type | Description |
|---|---|---|
| bars | array | The array of Bar data |
| symbol | string | the stock ticker or crypto symbol this set of bar data is for |
| next_page_token | stringnull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/alpaca/json-schema/alpaca-bars-response-schema.json",
"title": "BarsResponse",
"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/BarsResponse",
"type": "object",
"properties": {
"bars": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"description": "The array of Bar data",
"items": {
"$ref": "#/$defs/Bar"
}
},
"symbol": {
"type": "string",
"minLength": 1,
"description": "the stock ticker or crypto symbol this set of bar data is for"
},
"next_page_token": {
"type": [
"string",
"null"
],
"minLength": 1
}
},
"required": [
"bars",
"symbol",
"next_page_token"
],
"$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"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alpaca-bars-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
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.
A second provider on the same verified email joins the account you already have.