Alpaca · Schema

MultiBarsResponse

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.

FintechTradingStocksCryptocurrencyBrokerageMarket DataOptionsReal-TimeInvestingFinancial Services

Properties

Name Type Description
bars object
next_page_token stringnull
View JSON Schema on GitHub

JSON Schema

alpaca-multi-bars-response-schema.json Raw ↑
{
  "$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"
      ]
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alpaca-multi-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.