cURL
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 } ] }
Get a real-time price snapshot for every actively traded US stock in a single request.
X-API-KEY
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")
API key for authentication.
Market snapshot response
Show child attributes