Live US stock market data

You can get live data of stocks in US Markets with this API.


US Live Price

Provides a low-latency real-time price stream for US equities. Clients may subscribe to specific symbols via the filter parameter or receive updates for all symbols by omitting it.

curl --request GET \
  --url 'https://api.getlaplace.com/api/v2/stock/price/live?filter=AAPL,MSFT&region=us&stream=c1cab622-c6db-4fa2-b6f7-102ce000e41f' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
filter
Comma-separated list of stock symbols. if not provided, all stocks will be returned. (Optional)
AAPL,MSFTquerystring
region
Region code
usquerystring
stream
This is the unique identifier for your connection
c1cab622-c6db-4fa2-b6f7-102ce000e41fquerystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : { 2 items … }
▼"d" : { 5 items … }
"d" : int1770806243187
"p" : float273.15
"s" : string"AAPL"
"ac" : float-0.53
"pc" : float-0.194
}
"t" : string"pr"
}

© 2024 Laplace API. All rights reserved.