- functions
- 46
- access
- Your key
- tasks
- 16
Use Marketstack on Longwave
- Download Longwave or open app.longwave.run.
- Add your Marketstack API key once in Longwave settings. Calls run on your Marketstack account at Marketstack's price.
- Ask for the result in any thread, for example: “Read daily price history for a stock”. The agent picks the Marketstack function and calls it.
Use Marketstack in Claude Code, Codex, Cursor or ChatGPT
Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Marketstack, and asks you to sign in on first use.
Why call Marketstack through Longwave
- Your Marketstack key is stored once, encrypted, and used by every harness and device you use.
- One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
- Spending limits per key and per account, checked before a paid call is made.
- Each call is recorded with the provider, the cost and the result, and can be read again from another device.
Marketstack functions
Stocks 42
Every function here: Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published. Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published.
| Function |
|---|
| Find a company's SEC identifier Accepts a company name and returns company names and matching CIK codes. marketstack.openapi.get.v2.cik_code |
| Get a company's reported financial facts Accepts a company CIK code and returns company financial facts reported to the SEC. marketstack.openapi.get.v2.company_facts |
| Find a company by SEC identifier Accepts a company CIK code and returns the company name associated with a CIK code. marketstack.openapi.get.v2.company_name |
| Get stock analyst rating changes Accepts a ticker symbol, a start date and an end date and returns analyst ratings and rating changes for a company. marketstack.openapi.get.v2.companyratings |
| Get a company's accounts payable history Accepts a company CIK code and returns reported accounts payable values for a company. marketstack.openapi.get.v2.concept.accounts_payable |
| List stock market currencies Returns supported market currencies, names and codes without requiring input parameters. marketstack.openapi.get.v2.currencies |
| List stock dividends Accepts ticker symbols, a start date and an end date and returns dividend amounts and distribution dates. marketstack.openapi.get.v2.dividends |
| Get daily stock price bars Accepts ticker symbols, an exchange code, a start date and an end date and returns daily stock open, high, low, close and volume bars. marketstack.openapi.get.v2.eod |
| Get stock price bars for a date Accepts ticker symbols, an exchange code and a date and returns daily stock prices and volume for a trading date. marketstack.openapi.get.v2.eod.date |
| Get the latest daily stock price bar Accepts ticker symbols and an exchange code and returns the latest available daily stock price and volume bar. marketstack.openapi.get.v2.eod.latest |
| Get an ETF's holdings Accepts a ticker symbol, a start date and an end date and returns ETF constituents and their portfolio weights. marketstack.openapi.get.v2.etfholdings |
| List supported ETFs Accepts a ticker symbol, a start date, an end date and a request status and returns supported ETF names, symbols and status. marketstack.openapi.get.v2.etflist |
| List stock exchanges Accepts a search term and returns exchange names, codes, countries and timezones. marketstack.openapi.get.v2.exchanges |
| Get a stock exchange profile Accepts an exchange MIC code and returns stock exchange reference information. marketstack.openapi.get.v2.exchanges.mic |
| Get daily stock price bars (exchange) Accepts an exchange MIC code, ticker symbols, a start date and an end date and returns daily stock open, high, low, close and volume bars. marketstack.openapi.get.v2.exchanges.mic.eod |
| Get stock price bars for a date (exchange) Accepts an exchange MIC code, ticker symbols and a date and returns daily stock prices and volume for a trading date. marketstack.openapi.get.v2.exchanges.mic.eod.date |
| Get the latest daily stock price bar (exchange) Accepts an exchange MIC code and ticker symbols and returns the latest available daily stock price and volume bars. marketstack.openapi.get.v2.exchanges.mic.eod.latest |
| Get intraday stock price bars (exchange) Accepts an exchange MIC code, ticker symbols, a bar interval and a start date and returns intraday stock price and volume bars. marketstack.openapi.get.v2.exchanges.mic.intraday |
| Get intraday stock price bars for a date (exchange) Accepts an exchange MIC code, ticker symbols, a date and a bar interval and returns intraday stock price and volume bars for a date. marketstack.openapi.get.v2.exchanges.mic.intraday.date |
| Get the latest intraday stock bar (exchange) Accepts an exchange MIC code, ticker symbols and a bar interval and returns the latest intraday stock price and volume bars. marketstack.openapi.get.v2.exchanges.mic.intraday.latest |
| List stock ticker symbols on an exchange Accepts an exchange MIC code and a search term and returns stock ticker symbols and listing metadata on an exchange. marketstack.openapi.get.v2.exchanges.mic.tickers |
| Get accounts payable values across companies Accepts a reporting unit and a reporting period and returns accounts payable values across companies for a reporting frame. marketstack.openapi.get.v2.frames.accounts_payable.unit |
| Get a stock market index profile Accepts an index code and returns stock market index reference information. marketstack.openapi.get.v2.indexinfo |
| List stock market indexes Returns supported stock market index names and identifiers without requiring input parameters. marketstack.openapi.get.v2.indexlist |
| Get intraday stock price bars Accepts ticker symbols, an exchange code, a bar interval and a start date and returns intraday stock price and volume bars. marketstack.openapi.get.v2.intraday |
| Get intraday stock price bars for a date Accepts ticker symbols, an exchange code, a bar interval and a date and returns intraday stock price and volume bars for a date. marketstack.openapi.get.v2.intraday.date |
| Get the latest intraday stock price bar Accepts ticker symbols, an exchange code and a bar interval and returns the latest intraday stock price and volume bars. marketstack.openapi.get.v2.intraday.latest |
| List stock splits Accepts ticker symbols, a start date and an end date and returns stock split dates and ratios. marketstack.openapi.get.v2.splits |
| Get the latest stock price Accepts a ticker symbol and returns the latest stock trading price. marketstack.openapi.get.v2.stockprice |
| List a company's SEC filings Accepts a company CIK code, an SEC accession number, a company name or CIK code and a filing start date and returns SEC filing types, dates and accession numbers. marketstack.openapi.get.v2.submissions |
| Get a listed company profile Accepts a ticker symbol and returns company sector, industry, description and reference identifiers. marketstack.openapi.get.v2.tickerinfo |
| Get stock ticker metadata Accepts a ticker symbol and returns ticker name, exchange and market data availability. marketstack.openapi.get.v2.tickers.symbol |
| List stock dividends (single ticker) Accepts a ticker symbol, a start date and an end date and returns dividend amounts and distribution dates. marketstack.openapi.get.v2.tickers.symbol.dividends |
| Get daily stock price bars (single ticker) Accepts a ticker symbol, a start date and an end date and returns daily stock open, high, low, close and volume bars. marketstack.openapi.get.v2.tickers.symbol.eod |
| Get stock price bars for a date (single ticker) Accepts a ticker symbol and a date and returns daily stock prices and volume for a trading date. marketstack.openapi.get.v2.tickers.symbol.eod.date |
| Get the latest daily stock price bar (single ticker) Accepts a ticker symbol and returns the latest available daily stock price and volume bar. marketstack.openapi.get.v2.tickers.symbol.eod.latest |
| Get intraday stock price bars (single ticker) Accepts a ticker symbol, a bar interval, a start date and an end date and returns intraday stock price and volume bars. marketstack.openapi.get.v2.tickers.symbol.intraday |
| Get intraday stock price bars for a date (single ticker) Accepts a ticker symbol, a date and a bar interval and returns intraday stock price and volume bars for a date. marketstack.openapi.get.v2.tickers.symbol.intraday.date |
| Get the latest intraday stock bar (single ticker) Accepts a ticker symbol and a bar interval and returns the latest intraday stock price and volume bars. marketstack.openapi.get.v2.tickers.symbol.intraday.latest |
| List stock splits (single ticker) Accepts a ticker symbol, a start date and an end date and returns stock split dates and ratios. marketstack.openapi.get.v2.tickers.symbol.splits |
| Search stock ticker symbols Accepts a search term and an exchange code and returns matching security symbols, names and exchange metadata. marketstack.openapi.get.v2.tickerslist |
| List stock market timezones Returns supported timezone names, GMT offsets and abbreviations without requiring input parameters. marketstack.openapi.get.v2.timezones |
Bonds 2
Every function here: Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published. Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published.
| Function |
|---|
| Get government bond yields by country Accepts a country code and returns government bond yields and price information. marketstack.openapi.get.v2.bond |
| List government bonds Accepts a country code and returns supported government bond names and countries. marketstack.openapi.get.v2.bondlist |
Economic data 2
Every function here: Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published. Included in the applicable market-data subscription or free quota; entitlement and usage limits vary by endpoint. No standalone PAYG unit rate published.
| Function |
|---|
| Get commodity prices Accepts a commodity name and returns the latest commodity prices. marketstack.openapi.get.v2.commodities |
| Get historical commodity prices Accepts a start date, an end date, a commodity name and a sampling frequency and returns commodity prices over time. marketstack.openapi.get.v2.commoditieshistory |
Prices are Marketstack's published rates. Source: Marketstack pricing.
Use cases
- Read daily price history for a stock Retrieve end-of-day prices for the selected symbol.
- Read intraday prices for a market brief Retrieve available intraday data for the requested stock.
- Find ticker information before a price query Look up the requested ticker information.