Skip to main content

Polygon Stock API

Sync overview

This source can give information about stocks data available on PolygonStocksApi. It currently only supports Full Refresh syncs.

Output schema

This source is capable of syncing the following streams:

  • stock_api

Features

FeatureSupported? (Yes/No)Notes
Full Refresh SyncYes
Incremental SyncNo

Performance considerations

Polygon Stocks API allows only 5 API Calls/Minute on the free plan. Use of this connector may require a paid plan based upon your requirements.

Getting started

Requirements

  1. Obtain an API key from PolygonStocksApi.
  2. Find out the exchange symbol of the stock also known as Ticker Symbol of the stock you can google it out and find it (E.x. : Exchange symbol for Microsoft is MSFT)
  3. Choose and verify other options you required for fetching the stock details. here.

Setup guide

The following fields are required fields for the connector to work:

  • apiKey: Your Polygon Stocks API key.
  • stocksTicker: The ticker symbol of the stock/equity.
  • multiplier: The size of the timespan multiplier.
  • timespan: The
  • from: The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.
  • to: The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.
  • (optional) adjusted: determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits.
  • (optional) sort: Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top).
  • (optional) limit: Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on Aggregate Data API Improvements Find-more.

Reference

Config fields reference

Field
Type
Property name
string
apiKey
string
end_date
string
timespan
integer
multiplier
string
start_date
string
stocksTicker
string
sort
integer
limit
string
adjusted

Changelog

Expand to review
VersionDatePull RequestSubject
0.1.132024-07-2042317Update dependencies
0.1.122024-07-1341897Update dependencies
0.1.112024-07-1041391Update dependencies
0.1.102024-07-0640912Update dependencies
0.1.92024-06-2540360Update dependencies
0.1.82024-06-2139938Update dependencies
0.1.72024-06-0639302[autopull] Upgrade base image to v1.2.2
0.1.62024-04-2837230Make connector compatible with Builder
0.1.52024-04-1937230Updating to 0.80.0 CDK
0.1.42024-04-1837230Manage dependencies with Poetry.
0.1.32024-04-1537230Base image migration: remove Dockerfile and use the python-connector-base image
0.1.22024-04-1237230schema descriptions
0.1.12023-02-1322908Specified date formatting in specificatition
0.1.02022-11-0218842New source