Skip to main content
Financial market data platform (powered by Polygon.io) providing real-time and historical data for stocks, options, forex, and crypto. Best for quantitative analysis, portfolio tracking, or trading workflows that need tick-level market data with broad asset coverage. Requires a user-provided API key. 2 example endpoints available through Lava’s AI Gateway.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://api.polygon.io is supported. Any GET or POST to https://api.polygon.io/* — pass the full Polygon API URL. The endpoints below are curated examples.

Endpoints

Get previous day close for a ticker

GET https://api.polygon.io/v2/aggs/ticker/AAPL/prev — Free
const data = await lava.gateway('https://api.polygon.io/v2/aggs/ticker/AAPL/prev', { method: 'GET' });

Post data to the Polygon API

POST https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2026-01-01/2026-03-31 — Free
const data = await lava.gateway('https://api.polygon.io/v2/aggs/ticker/AAPL/range/1/day/2026-01-01/2026-03-31', { method: 'POST' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests