Polygon.ioDonnées boursièresMarket data

Stock OHLCV bars by ticker and date range, any interval

polygon.aggs.range

OHLCV bars for a ticker at any granularity (minute to year) over a date range — Polygon's workhorse endpoint

Price
Prix à venirAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentLast 30 days · 0 calls
Latency p50
——
Last verified
15 août 2026Verified working
GEThttps://toolswitch.dev/v1/tools/polygon.aggs.range?to=2026-08-14&from=2026-08-01&limit=5&ticker=AAPL&timespan=day&multiplier=1Preview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
tochaîneObligatoirepath parameter — YYYY-MM-DD2026-08-14
fromchaîneObligatoirepath parameter — YYYY-MM-DD2026-08-01
sortchaîneFacultatifasc | desc
limitentierFacultatifmax 500005
tickerchaîneObligatoirepath parameterAAPL
adjustedbooléenFacultatif
timespanchaîneObligatoirepath parameter — minute | hour | day | week | month | quarter | yearday
multiplierentierObligatoirepath parameter — bar size multiplier1
  • Paramètres de requête
  • tochaîneObligatoire

    path parameter — YYYY-MM-DD

    Exemple : 2026-08-14

  • fromchaîneObligatoire

    path parameter — YYYY-MM-DD

    Exemple : 2026-08-01

  • sortchaîneFacultatif

    asc | desc

  • limitentierFacultatif

    max 50000

    Exemple : 5

  • tickerchaîneObligatoire

    path parameter

    Exemple : AAPL

  • adjustedbooléenFacultatif
  • timespanchaîneObligatoire

    path parameter — minute | hour | day | week | month | quarter | year

    Exemple : day

  • multiplierentierObligatoire

    path parameter — bar size multiplier

    Exemple : 1

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/polygon.aggs.range?to=2026-08-14&from=2026-08-01&limit=5&ticker=AAPL&timespan=day&multiplier=1' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives.