How to hit the Marketstack API

Marketstack's v2 API at https://api.marketstack.com/v2 serves stock market data across global exchanges.

Authentication

Sign up at marketstack.com for an access key, passed as access_key in the query string. In the examples it's written {{MARKETSTACK_ACCESS_KEY}}. The free plan has a monthly call limit.

Full reference: https://marketstack.com/documentation_v2

End-of-day prices

curl "https://api.marketstack.com/v2/eod?access_key={{MARKETSTACK_ACCESS_KEY}}&symbols=AAPL,MSFT&limit=5"
Run in PostTaco

Latest end-of-day

curl "https://api.marketstack.com/v2/eod/latest?access_key={{MARKETSTACK_ACCESS_KEY}}&symbols=AAPL"
Run in PostTaco

Ticker info

curl "https://api.marketstack.com/v2/tickers/AAPL?access_key={{MARKETSTACK_ACCESS_KEY}}"
Run in PostTaco