Skip to main content
GET
/
prices
/
snapshot
/
market
Market Snapshot (Real-Time)
curl --request GET \
  --url https://api.financialdatasets.ai/prices/snapshot/market \
  --header 'X-API-KEY: <api-key>'
{
  "snapshots": [
    {
      "price": 123,
      "ticker": "<string>",
      "day_change": 123,
      "day_change_percent": 123,
      "time": "<string>",
      "time_milliseconds": 123
    }
  ]
}

Overview

The Market Snapshot API returns real-time prices for the entire US market in a single call. Each snapshot includes the current price, day change, and day change percent. Requires an active subscription.

Getting Started

  1. Add your API key to the header of the request as X-API-KEY.
  2. Execute the API request. No query parameters are needed.

Example

Market Snapshot
import requests

headers = {
    "X-API-KEY": "your_api_key_here"
}

url = "https://api.financialdatasets.ai/prices/snapshot/market"

response = requests.get(url, headers=headers)

snapshots = response.json().get("snapshots")

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Response

Market snapshot response

snapshots
object[]