Del via


Polygon (Independent Publisher) (Preview)

The Polygon.io Stocks API provides REST endpoints that let you query the latest market data from all US stock exchanges.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Contact
Name Itransition Group Ltd
URL https://www.itransition.com/
Email v.sumar@itransition.com
Connector Metadata
Publisher Itransition Group Ltd
Website https://polygon.io/
Privacy policy https://polygon.io/privacy
Categories Data;Finance

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
apiKey securestring The apiKey for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Daily Open Close

Get the open, close and afterhours prices of a stock symbol on a certain date.

Dividends

Get a list of historical cash dividends.

Exchanges

Get a list of exchanges including stocks, options, crypto, and more.

Stock Financials

Returns financial data for a given ticker or company based on various filters.

Stock Splits

Get a list of historical stock splits.

Ticker Details

Get a single ticker details.

Ticker Events

Get a timeline of events for the entity associated with the given ticker.

Tickers

Query all ticker symbols.

Daily Open Close

Get the open, close and afterhours prices of a stock symbol on a certain date.

Parameters

Name Key Required Type Description
Ticker
stocksTicker True string

Specify a case-sensitive ticker symbol.

Date
date True string

The date of the requested open/close in the format YYYY-MM-DD.

Adjusted
adjusted boolean

Whether or not the results are adjusted for splits.

Returns

Name Path Type Description
status
status string

status

from
from string

from

symbol
symbol string

symbol

open
open float

open

high
high float

high

low
low float

low

close
close float

close

volume
volume float

volume

afterHours
afterHours float

afterHours

preMarket
preMarket float

preMarket

Dividends

Get a list of historical cash dividends.

Parameters

Name Key Required Type Description
Ticker
ticker True string

Specify a case-sensitive ticker symbol.

Ex dividend date
ex_dividend_date string

Query by ex-dividend date with the format YYYY-MM-DD.

Record date
record_date string

Query by record date with the format YYYY-MM-DD.

Declaration date
declaration_date string

Query by declaration date with the format YYYY-MM-DD.

Pay Date
pay_date string

Query by pay date with the format YYYY-MM-DD.

Frequency
frequency integer

Query by the number of times per year the dividend is paid out.

Cash amount
cash_amount number

Query by the cash amount of the dividend.

Dividend Type
dividend_type string

Query by the type of dividend.

Returns

Name Path Type Description
next_url
next_url string

URL for the next page of results

results
results array of object

List of historical dividends

cash_amount
results.cash_amount float

The cash amount of the dividend

declaration_date
results.declaration_date string

The date when the dividend was declared

ex_dividend_date
results.ex_dividend_date string

The date when the stock starts trading without the value of the dividend

frequency
results.frequency integer

The frequency of the dividend payments

id
results.id string

Unique identifier for the dividend record

pay_date
results.pay_date string

The date when the dividend is paid to shareholders

record_date
results.record_date string

The date when the shareholder must own the stock to receive the dividend

ticker
results.ticker string

Ticker symbol of the stock

status
status string

Status of the API response.

Exchanges

Get a list of exchanges including stocks, options, crypto, and more.

Parameters

Name Key Required Type Description
Asset class
asset_class string

Filter by asset class, e.g., stocks, options, crypto, fx

Locale
locale string

Filter by locale

Returns

Name Path Type Description
count
count integer

The total number of results for this request.

request_id
request_id string

A request id assigned by the server.

results
results array of object

List of exchange data

acronym
results.acronym string

The acronym of the exchange

asset_class
results.asset_class string

The asset class the exchange supports (e.g., stocks)

id
results.id integer

The exchange id

locale
results.locale string

The locale (country/region) of the exchange

mic
results.mic string

The MIC (Market Identifier Code) of the exchange

name
results.name string

The full name of the exchange

operating_mic
results.operating_mic string

The operating MIC of the exchange

participant_id
results.participant_id string

The participant id of the exchange

type
results.type string

The type of the exchange

url
results.url string

The URL of the exchange's website

status
status string

The status of the request

Stock Financials

Returns financial data for a given ticker or company based on various filters.

Parameters

Name Key Required Type Description
Ticker
ticker string

The ticker symbol to filter financial data.

Cic
cik string

The central index key (CIK) number to filter financial data.

Company name
company_name string

The company name to filter financial data.

Sic
sic string

Standard industrial classification to filter financial data.

Filing Date
filing_date string

Filter financial data by the filing date (YYYY-MM-DD).

Period of report date
period_of_report_date string

The period of report for the filing with financial data (YYYY-MM-DD).

Timeframe
timeframe string

Filter by timeframe (e.g., annual or quarterly).

Indlude sources
include_sources boolean

Whether to include xpath and formula attributes for financial data points.

Order
order string

Order results based on the sort field.

Limit
limit integer

Limit the number of results. Default is 10, max is 100.

Sort
sort string

Sort field for ordering.

Returns

Name Path Type Description
count
count integer

The total number of results.

next_url
next_url string

URL for the next page of results.

request_id
request_id string

A request ID assigned by the server.

results
results array of object
cik
results.cik string

Central Index Key (CIK).

company_name
results.company_name string

Company name.

end_date
results.end_date string

End date of the financial report.

filing_date
results.filing_date string

Date when the filing was submitted.

fiscal_period
results.fiscal_period string

Fiscal period (e.g., Q1).

fiscal_year
results.fiscal_year string

Fiscal year.

start_date
results.start_date string

Start date of the financial report.

source_filing_file_url
results.source_filing_file_url string

URL for the source filing file.

label
results.financials.balance_sheet.assets.label string
unit
results.financials.balance_sheet.assets.unit string
value
results.financials.balance_sheet.assets.value float
label
results.financials.balance_sheet.liabilities.label string
unit
results.financials.balance_sheet.liabilities.unit string
value
results.financials.balance_sheet.liabilities.value float
label
results.financials.balance_sheet.equity.label string
unit
results.financials.balance_sheet.equity.unit string
value
results.financials.balance_sheet.equity.value double
label
results.financials.income_statement.revenue.label string
unit
results.financials.income_statement.revenue.unit string
value
results.financials.income_statement.revenue.value float
label
results.financials.income_statement.net_income.label string
unit
results.financials.income_statement.net_income.unit string
value
results.financials.income_statement.net_income.value float
label
results.financials.cash_flow_statement.net_cash_flow.label string
unit
results.financials.cash_flow_statement.net_cash_flow.unit string
value
results.financials.cash_flow_statement.net_cash_flow.value float

Stock Splits

Get a list of historical stock splits.

Parameters

Name Key Required Type Description
Ticker
ticker True string

The ticker symbol of the asset.

Execution date
execution_date string

Query by execution date with the format YYYY-MM-DD.

Reverse split
reverse_split boolean

Query for reverse stock splits.

Order
order string

Order results based on the sort field.

Limit
limit integer

Limit the number of results returned

Sort
sort string

Sort field used for ordering.

Returns

Name Path Type Description
next_url
next_url string

URL for the next page of results

results
results array of object

List of historical stock splits

execution_date
results.execution_date string

Date of stock split execution

id
results.id string

Unique identifier for the stock split record

split_from
results.split_from integer

Split ratio from

split_to
results.split_to integer

Split ratio to

ticker
results.ticker string

Ticker symbol of the asset

status
status string

Status of the API response.

Ticker Details

Get a single ticker details.

Parameters

Name Key Required Type Description
Ticker
ticker True string

The ticker symbol of the asset.

Date
date date

Specify a date to get information about the ticker.

Returns

Name Path Type Description
count
count integer

The total number of results for this request.

request_id
request_id string

A request ID assigned by the server.

active
results.active boolean

Whether the ticker is active.

address1
results.address.address1 string

The company's address.

city
results.address.city string
postal_code
results.address.postal_code string
state
results.address.state string
icon_url
results.branding.icon_url string
logo_url
results.branding.logo_url string
cik
results.cik string

The company's CIK (Central Index Key).

composite_figi
results.composite_figi string
currency_name
results.currency_name string
description
results.description string
market_cap
results.market_cap number

Market capitalization of the company.

market
results.market string
name
results.name string
primary_exchange
results.primary_exchange string
ticker
results.ticker string
sic_code
results.sic_code string
sic_description
results.sic_description string
total_employees
results.total_employees integer
type
results.type string
weighted_shares_outstanding
results.weighted_shares_outstanding number

The number of weighted shares outstanding.

Ticker Events

Get a timeline of events for the entity associated with the given ticker.

Parameters

Name Key Required Type Description
Id
id True string

Identifier of an asset (Ticker, CUSIP, or Composite FIGI)

Types
types string

A comma-separated list of the types of events to include.

Returns

Name Path Type Description
status
status string

The status of the request

request_id
request_id string

A unique request ID assigned by the server

events
results.events array of object
date
results.events.date string

Date of the event

ticker
results.events.ticker_change.ticker string

The new ticker after the change

Tickers

Query all ticker symbols.

Parameters

Name Key Required Type Description
Ticker
ticker string

Specify a ticker symbol. Defaults to empty string which queries all tickers.

Type
type string

Specify the type of the tickers (e.g., stock, crypto).

Market
market string

Filter by market type. Defaults to all markets.

Exchange
exchange string

Specify the primary exchange of the asset in ISO code format.

CUSIP
cusip string

Specify the CUSIP code of the asset you want to search for.

CIK
cik string

Specify the CIK code of the asset you want to search for.

Date
date string

Specify a date to retrieve tickers (YYYY-MM-DD format).

Search
search string

Search for terms within the ticker and/or company name.

Active
active boolean

Specify if the tickers returned should be actively traded on the queried date.

Order
order string

Order results based on the sort field.

Sort
sort string

Sort field used for ordering.

Limit
limit integer

Limit the number of tickers returned in the result..

Returns

Name Path Type Description
status
status string

Status of the response

count
count integer

Number of results

results
results array of object
active
results.active boolean

Whether the ticker is active

cik
results.cik string

The CIK (Central Index Key) of the asset

composite_figi
results.composite_figi string

The composite FIGI of the asset

currency_name
results.currency_name string

The currency of the asset

market
results.market string

The market type (e.g., stock, crypto)

name
results.name string

The name of the asset

primary_exchange
results.primary_exchange string

The primary exchange of the asset

ticker
results.ticker string

The ticker symbol

type
results.type string

The type of the asset