# Polygon API

> Historical stock market data.

Polygon is a finance API from polygon.io. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 10 endpoints.

## At a glance

- Category: [Finance](https://www.openparable.com/apis/category/finance)
- Provider: polygon.io
- Authentication: API key
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://api.polygon.io
- Documentation: https://polygon.io/
- OpenAPI description: https://api.apis.guru/v2/specs/polygon.io/1.0.0/swagger.json
- Version: 1.0.0
- Specification updated: 2017-11-27

## Example request

```bash
curl -X GET "https://api.polygon.io/v1/companies" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `GET /v1/companies` — Available Companies
- `GET /v1/currencies` — Available Currencies
- `GET /v1/historic/agg/{size}/{symbol}/{date}` — Historic Aggregates
- `GET /v1/historic/forex/{from}/{to}/{date}` — Historic Forex Ticks
- `GET /v1/historic/quotes/{symbol}/{date}` — Historic Quotes
- `GET /v1/historic/trades/{symbol}/{date}` — Historic Trades
- `GET /v1/last/currencies/{from}/{to}` — Last Trade for a Currency Pair
- `GET /v1/last/stocks/{symbol}` — Last Trade for a Symbol
- `GET /v1/last_quote/currencies/{from}/{to}` — Last Quote for a Currency Pair
- `GET /v1/last_quote/stocks/{symbol}` — Last Quote for a Symbol

## Questions

### Does the Polygon API need an API key?

Yes. The Polygon API uses API key authentication; the documentation explains how to get credentials.

### Does the Polygon API support HTTPS?

Yes, the Polygon API is served over HTTPS.

### How many endpoints does the Polygon API have?

Its OpenAPI description lists 10 endpoints in version 1.0.0. All of them are shown on this page.

### What are alternatives to the Polygon API?

Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.

## Similar finance APIs

- [Stripe](https://www.openparable.com/apis/stripe): Payment processing, subscriptions, and financial management
- [SEC EDGAR Data](https://www.openparable.com/apis/sec-edgar-data): API to access annual reports of public US companies
- [Plaid](https://www.openparable.com/apis/plaid): Connect with user's bank accounts and access transaction data
- [Fed Treasury](https://www.openparable.com/apis/fed-treasury): U.S. Department of the Treasury Data
- [Razorpay IFSC](https://www.openparable.com/apis/razorpay-ifsc): Indian Financial Systems Code (Bank Branch Codes)
- [Klarna](https://www.openparable.com/apis/klarna): Klarna payment and shopping service
- [Citi](https://www.openparable.com/apis/citi): All Citigroup account and statement data APIs
- [Zoho Books](https://www.openparable.com/apis/zoho-books): Online accounting software, built for your business
- [FRED](https://www.openparable.com/apis/fred): Economic data from the Federal Reserve Bank of St. Louis
- [MercadoPago](https://www.openparable.com/apis/mercadopago): Mercado Pago API reference - all the information you need to develop your integrations
- [Open Banking - Payments initiation service](https://www.openparable.com/apis/open-banking-payments-initiation-service): Open Banking - Payments initiation service
- [GOV.UK Pay API](https://www.openparable.com/apis/gov-uk-pay): GOV.UK Pay API (This version is no longer maintained. See openapi/publicapi_spec.json for latest API specification)

Listed from: public-apis (MIT), public-apis database (MIT), APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/polygon (OpenParable). Cite the canonical URL above.
