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

Polygon.io Aggregates API

Aggregate (OHLC) bar data.

Polygon.io Aggregates API is one of 8 APIs that Polygon.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Aggregates. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://api.polygon.io.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.polygon.io
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Polygon.io Aggregates API declares 2 security schemes for authenticating requests. An API key is passed in the query as apiKey (apiKeyQuery). It accepts HTTP bearer tokens (API Key) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 1

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

Aggregates 1

Aggregate (OHLC) bar data.

GET
/v2/aggs/ticker/{stocksTicker}/range/{multiplier}/{timespan}/{from}/{to}
Get aggregate (OHLC) bars for a ticker
getAggregateBars 8 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are AggregateBar (9 properties), AggregatesResponse (9 properties). Each schema is shown below with its type and property counts.

AggregatesResponse
object
9 properties
AggregateBar
object
9 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

polygon-io-aggregates-api-openapi.yml Raw ↑

Other APIs Polygon.io publishes across the network.

Polygon.io Stocks API
Polygon.io Options API
Polygon.io Indices API
Polygon.io Forex API
Polygon.io Crypto API
Polygon.io Futures API
Polygon.io Reference API