{ "opencollection": "1.0.0", "info": { "name": "Polygon Crypto REST Aggregates API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "apiKey", "value": "{{apiKey}}", "placement": "query" } }, "items": [ { "info": { "name": "Aggregates", "type": "folder" }, "items": [ { "info": { "name": "Get Aggregate Bars For A Crypto Pair", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:cryptoTicker/range/:multiplier/:timespan/:from/:to", "params": [ { "name": "cryptoTicker", "value": "", "type": "path" }, { "name": "multiplier", "value": "", "type": "path" }, { "name": "timespan", "value": "", "type": "path" }, { "name": "from", "value": "", "type": "path" }, { "name": "to", "value": "", "type": "path" } ] }, "docs": "Aggregate bars for a crypto pair (e.g., X:BTCUSD)." }, { "info": { "name": "Get Aggregate Bars For A Forex Pair", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:forexTicker/range/:multiplier/:timespan/:from/:to", "params": [ { "name": "forexTicker", "value": "", "type": "path" }, { "name": "multiplier", "value": "", "type": "path" }, { "name": "timespan", "value": "", "type": "path" }, { "name": "from", "value": "", "type": "path" }, { "name": "to", "value": "", "type": "path" } ] }, "docs": "Aggregate bars (OHLC) for an FX pair (e.g., C:EURUSD)." }, { "info": { "name": "Get Previous Close For A Forex Pair", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:forexTicker/prev", "params": [ { "name": "forexTicker", "value": "", "type": "path" } ] }, "docs": "Get Previous Close For A Forex Pair" }, { "info": { "name": "Get Aggregate Bars For An Index", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:indicesTicker/range/:multiplier/:timespan/:from/:to", "params": [ { "name": "indicesTicker", "value": "", "type": "path" }, { "name": "multiplier", "value": "", "type": "path" }, { "name": "timespan", "value": "", "type": "path" }, { "name": "from", "value": "", "type": "path" }, { "name": "to", "value": "", "type": "path" } ] }, "docs": "Aggregate bars (OHLC) for an index ticker over a date range." }, { "info": { "name": "Get Previous Close For An Index", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:indicesTicker/prev", "params": [ { "name": "indicesTicker", "value": "", "type": "path" } ] }, "docs": "Returns the previous day's open/close/high/low for an index." }, { "info": { "name": "Get Aggregate Bars For An Options Contract", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:optionsTicker/range/:multiplier/:timespan/:from/:to", "params": [ { "name": "optionsTicker", "value": "", "type": "path" }, { "name": "multiplier", "value": "", "type": "path" }, { "name": "timespan", "value": "", "type": "path" }, { "name": "from", "value": "", "type": "path" }, { "name": "to", "value": "", "type": "path" } ] }, "docs": "Aggregate bars (OHLC) for an options contract." }, { "info": { "name": "Get Aggregate Bars For A Stock Ticker", "type": "http" }, "http": { "method": "GET", "url": "https://api.polygon.io/v2/aggs/ticker/:stocksTicker/range/:multiplier/:timespan/:from/:to", "params": [ { "name": "stocksTicker", "value": "", "type": "path", "description": "Case-sensitive stock ticker symbol (e.g., AAPL)." }, { "name": "multiplier", "value": "", "type": "path", "description": "Size of the timespan multiplier." }, { "name": "timespan", "value": "", "type": "path" }, { "name": "from", "value": "", "type": "path", "description": "Start of the aggregate window (YYYY-MM-DD or millisecond timestamp)." }, { "name": "to", "value": "", "type": "path", "description": "End of the aggregate window (YYYY-MM-DD or millisecond timestamp)." }, { "name": "adjusted", "value": "", "type": "query" }, { "name": "sort", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Returns aggregate bars for a stock over a given date range in\ncustom time window sizes (e.g., 5-minute bars between two dates).\n" } ] } ], "bundled": true }