Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Alpaca Crypto Pricing Data API API

The Crypto Pricing Data API API from Alpaca — 17 operation(s) for crypto pricing data api.

Alpaca Crypto Pricing Data API API is one of 23 APIs that Alpaca publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Crypto Pricing Data API. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.

This API exposes 17 operations across 17 paths, and defines 21 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against 2 base URLs: https://broker-api.sandbox.alpaca.markets, https://broker-api.alpaca.markets.

17 operations 17 paths 21 schemas 17 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://api.alpaca.markets/v2
Authentication
HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 1

Alpaca Crypto Pricing Data API API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (BasicAuth). By default, every request must be authenticated.

Paths & Operations 17

Across 17 paths, the API surfaces 17 operations — 17 GET. Each is listed below with its method, path, parameters, and response codes.

Crypto Pricing Data API 17
GET
/v1beta1/crypto/trades
Get Trade data for multiple crypto symbols
getTradesForMultipleCryptoSymbols 6 params → 200
GET
/v1beta1/crypto/trades/latest
Get Latest Trade data for multiple Crypto symbols
getLatestTradesForMultipleCryptoSymbols 2 params → 200
GET
/v1beta1/crypto/{symbol}/trades
Get Trade data for a crypto symbol
getTradesForCryptoSymbol 6 params → 200
GET
/v1beta1/crypto/{symbol}/trades/latest
Latest Trades
getLatestTradesForCryptoSymbol 2 params → 200
GET
/v1beta1/crypto/bars
Get Bars for multiple Crypto symbols
getBarsForMultipleCryptoSymbols 7 params → 200
GET
/v1beta1/crypto/bars/latest
Get Latest Bars for multiple Crypto symbols
getLatestBarsForMultipleCryptoSymbols 2 params → 200
GET
/v1beta1/crypto/{symbol}/bars
Get Bar data for a crypto symbol
getBarsForCryptoSymbol 7 params → 200
GET
/v1beta1/crypto/{symbol}/bars/latest
Get Latest Bar data for a Crypto symbol
getLatestBarsForCryptoSymbol 2 params → 200
GET
/v1beta1/crypto/quotes
Get Quotes for multiple crypto symbols
getQuotesForMultipleCryptoSymbols 6 params → 200
GET
/v1beta1/crypto/quotes/latest
Get Latest Quotes for multiple Crypto symbols
getLatestQuotesForMultipleCryptoSymbols 2 params → 200
GET
/v1beta1/crypto/{symbol}/quotes
Get Quotes for crypto symbol
getQuotesForCryptoSymbol 6 params → 200
GET
/v1beta1/crypto/{symbol}/quotes/latest
Latest Quote
getLatestQuoteForCryptoSymbol 2 params → 200
GET
/v1beta1/crypto/snapshots
Get Snapshots for multiple crypto symbols
getSnapshotsForMultipleCryptoSymbols 2 params → 200
GET
/v1beta1/crypto/{symbol}/snapshot
Get a Snapshot for a crypto symbol
getSnapshotForCryptoSymbol 2 params → 200
GET
/v1beta1/crypto/xbbos/latest
Get Latest XBBO for multiple crypto symbols
getLatestXBBOForMultipleCryptoSymbols 2 params → 200
GET
/v1beta1/crypto/{symbol}/xbbo/latest
Get Latest XBBO for a single crypto symbol
getLatestXBBOForCryptoSymbol 2 params → 200
GET
/v1beta1/crypto/meta/spreads
Get list of crypto spreads per exchange
getCryptoMetaSpreads → 200

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are Quote (10 properties), Bar (9 properties), Trade (8 properties), XBBO (7 properties). Each schema is shown below with its type and property counts.

Trade
object
A model representing a trade
8 properties 2 required
LatestMultiTradesResponse
object
1 property 1 required
BarsResponse
object
3 properties 3 required
CryptoSpreadsResponse
object
1 property 1 required
XBBO
object
XBBO or Cross Best Bid and Offer represents the Best Bid and Offer for an exchange
7 properties 7 required
LatestXBBOResponse
object
Represents the Latest XBBO for a crypto symbol that calculates the Best Bid and Offer across multiple exchanges.
2 properties 2 required
LatestBarResponse
object
A model representing the result of hitting one of the Latest Bar api endpoints. Represents a single Bar that should be the latest Bar data for a given ticker s…
2 properties 2 required
Bar
object
The bars API returns aggregate historical data for the requested securities.
9 properties 6 required
Snapshot
object
The Snapshot API for one ticker provides the latest trade, latest quote, minute bar daily bar and previous daily bar data for a given ticker symbol.
5 properties
Quote
object
The Quotes API provides NBBO quotes for a given ticker symbol at a specified date.
10 properties 1 required
MultiQuotesReponse
object
A model representing the result of hitting the Multi Quotes api; represents multiple Quotes for multiple symbols. Returned results are sorted by symbol first t…
2 properties 1 required
LatestTradeResponse
object
A model representing the result of hitting the Latest Trade api. Represents a single Trade that should be the latest trade data for a given ticker symbol
2 properties 1 required
TradesResponse
object
A model representing the result of hitting the Trades api. Represents multiple Trades for a single symbol with support for paging.
3 properties 2 required
MultiTradesResponse
object
A model representing the result of hitting the Multi Trades api; represents multiple trades for multiple symbols. Returned results are sorted by symbol first t…
2 properties 1 required
MultiSnapshotResponse
object
A model representing the result of hitting the Multi Snapshots api; represents Snapshots for multiple symbols. The result is an object whose keys are the reque…
LatestMultiXBBOResponse
object
1 property 1 required
LatestQuoteResponse
object
A model representing the result of hitting the Latest Quote api. Represents a single Quote that should be the latest quote data for a given ticker symbol
2 properties 2 required
QuotesResponse
object
The Quotes API provides NBBO quotes for a given ticker symbol at a specified date.
3 properties 2 required
LatestMultiBarsResponse
object
A model representing the result of hitting the Latest Multi Bars api; represents the latest Bars for multiple symbols.
1 property 1 required
MultiBarsResponse
object
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…
2 properties 1 required
LatestMultiQuotesResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

alpaca-crypto-pricing-data-api-api-openapi.yml Raw ↑

Other APIs Alpaca publishes across the network.

Alpaca Trading API
Alpaca OAuth API
Alpaca Account Activities API
Alpaca Account Configurations API
Alpaca Accounts API
Alpaca Assets API
Alpaca Calendar API
Alpaca Clock API
Alpaca Corporate Actions API
Alpaca Documents API
Alpaca Events API
Alpaca Funding API