For Agents
Pull end-of-day and intraday stock prices, list tickers and exchanges, and look up dividends or splits across 70+ global stock exchanges in normalized JSON.
Get started with Marketstack API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"get end of day stock price"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with Marketstack API API.
Retrieve end-of-day OHLCV data for one or more tickers across global exchanges
Pull intraday quotes at minute-level granularity for supported markets
Look up ticker metadata including exchange, name, and symbol mappings
Fetch dividend history and stock split events for any listed ticker
GET STARTED
Use for: Get the closing price for AAPL on the last 30 trading days, Retrieve intraday quotes for TSLA at 1-minute intervals for today, Find all dividend payments for MSFT in 2025, List every ticker traded on NASDAQ that matches 'micro'
Not supported: Does not handle order placement, brokerage execution, or options chains — use for historical and intraday equity price lookups only.
Jentic publishes the only available OpenAPI document for Marketstack API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for Marketstack API, keeping it validated and agent-ready. Marketstack provides historical and real-time stock market data covering 70+ global exchanges, including end-of-day prices, intraday quotes, ticker metadata, dividends, splits, and currency or timezone reference data. The API is designed for finance applications, research notebooks, and AI agents that need normalized OHLCV data without scraping individual exchange feeds. Authentication uses a single `access_key` query parameter on every request.
List supported exchanges, currencies, and timezones for normalisation
Query historical end-of-day prices on a specific date for backtesting
Patterns agents use Marketstack API API for, with concrete tasks.
★ Quantitative Backtesting
Quant researchers and individual traders need clean OHLCV data for backtesting strategies. Marketstack returns normalized end-of-day prices in JSON for tickers across 70+ exchanges, removing the need to maintain per-exchange ingestion code. A typical backtest pulls 5-10 years of EOD bars for a basket of tickers in a single batch request loop.
Call `GET /eod` with `symbols=AAPL,MSFT,GOOG` and `date_from=2024-01-01&date_to=2024-12-31` and return a daily close-price series.
Portfolio Dashboard Refresh
Personal finance dashboards and fintech apps display the latest closing price and daily change for each holding. Marketstack's `/eod/latest` endpoint returns the most recent EOD bar across requested symbols in a single call, and `/intraday/latest` handles same-day moves during market hours. Dashboards typically refresh every 5-15 minutes.
Call `GET /eod/latest?symbols=NVDA,AMD` and compute the percentage change vs the previous close.
Corporate Actions Tracking
Investment platforms need to adjust positions for dividends and splits to keep cost basis correct. Marketstack exposes dedicated `/dividends` and `/splits` endpoints filtered by symbol and date range so reconciliation jobs can detect new corporate actions and apply adjustments to historical price series.
Call `GET /dividends?symbols=KO&date_from=2025-01-01` and reconcile the dividend payments against the holdings ledger.
AI Agent Market Research
An AI investment assistant can use Jentic to call Marketstack on demand when a user asks about a stock's recent performance or dividend history. Jentic stores the `access_key` securely and exposes Marketstack operations behind intent-based search, so the agent never embeds the key in a prompt or source file.
Search Jentic for 'get latest stock price', load the Marketstack `/eod/latest` schema, and execute it for symbol 'TSLA' to answer the user's question.
18 endpoints — jentic publishes the only available openapi specification for marketstack api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/eod
End-of-day OHLCV data for one or more tickers
/eod/latest
Latest available end-of-day bar
/intraday
Intraday minute-level quotes
/tickers
List or search tickers
/dividends
Dividend history for tickers
/splits
Stock split history for tickers
/exchanges
List supported stock exchanges
/eod
End-of-day OHLCV data for one or more tickers
/eod/latest
Latest available end-of-day bar
/intraday
Intraday minute-level quotes
/tickers
List or search tickers
/dividends
Dividend history for tickers
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Marketstack `access_key` is stored encrypted in the Jentic vault (MAXsystem) and appended to each request's query string at execution time. Agents receive scoped tokens — the raw key never enters the agent's context.
Intent-based discovery
Agents search by intent (e.g., 'get end of day stock price' or 'list ticker dividends') and Jentic returns the matching Marketstack operation with its query parameter schema.
Time to first call
Direct Marketstack integration: 2-4 hours for sign-up, key wiring, and pagination handling. Through Jentic: under 15 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Polygon.io API
Polygon.io is a higher-throughput market data API with full real-time NBBO feeds.
Choose Polygon when the agent needs real-time tick data or options chains rather than EOD or delayed intraday.
Finnhub API
Finnhub provides stock market data plus fundamentals and alternative data feeds.
Choose Finnhub when the agent also needs fundamentals, news sentiment, or earnings data.
Alpha Vantage API
Alpha Vantage offers free historical and intraday stock data with technical indicators.
Choose Alpha Vantage when the agent needs server-side technical indicators or FX/crypto coverage.
Tiingo API
Tiingo provides end-of-day equity prices alongside news feeds.
Pair Tiingo when you also need news articles tagged to tickers for narrative context.
Specific to using Marketstack API API through Jentic.
Why is there no official OpenAPI spec for Marketstack API?
Marketstack does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call the Marketstack API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the Marketstack API use?
Marketstack uses an `access_key` query-string parameter on every request. Through Jentic, the key is stored encrypted in the MAXsystem vault and injected at execution time so the agent never sees the raw value.
Can I get intraday stock prices with the Marketstack API?
Yes. The `GET /intraday` endpoint returns minute-level quotes for supported tickers, and `GET /intraday/latest` returns the most recent intraday bar. Intraday coverage depends on your Marketstack plan tier.
What are the rate limits for the Marketstack API?
Marketstack rate-limits by plan: the Free tier allows 100 requests per month, with paid plans extending to 10,000-1,000,000+ requests per month. The API does not enforce a strict per-second limit but reuses the apilayer infrastructure pattern.
How do I fetch end-of-day prices through Jentic?
Run `pip install jentic`, then use Jentic's search with the query 'get end of day stock price'. Jentic loads the `/eod` operation schema and your agent executes it with the desired tickers and date range — no manual auth wiring required.
Does the Marketstack API cover non-US exchanges?
Yes. Marketstack covers 70+ global stock exchanges. Use `GET /exchanges` to enumerate them and pass the appropriate MIC code via the `exchange` parameter on price queries.
/splits
Stock split history for tickers
/exchanges
List supported stock exchanges