Skip to main content
Glama

Marketstack MCP Server

by matteoantoci

get_end_of_day_data

Retrieve end-of-day stock market data for specified tickers, filter by exchange, date range, and sort. Supports up to 100 symbols per request, pagination, and exact date/time queries for precise analysis.

Instructions

Obtain end-of-day data for one or multiple stock tickers.

Input Schema

NameRequiredDescriptionDefault
date_fromNoFilter results based on a specific timeframe by passing a from-date in `YYYY-MM-DD` format. You can also specify an exact time in ISO-8601 date format, e.g. `2020-05-21T00:00:00+0000`.
date_toNoFilter results based on a specific timeframe by passing an end-date in `YYYY-MM-DD` format. You can also specify an exact time in ISO-8601 date format, e.g. `2020-05-21T00:00:00+0000`.
exchangeNoFilter your results based on a specific stock exchange by specifying the MIC identification of a stock exchange. Example: `XNAS`
limitNoSpecify a pagination limit (number of results per page) for your API request. Default limit value is `100`, maximum allowed limit value is `1000`.
offsetNoSpecify a pagination offset value for your API request. Example: An offset value of `100` combined with a limit value of 10 would show results 100-110. Default value is `0`, starting with the first available result.
sortNoBy default, results are sorted by date/time descending. Use this parameter to specify a sorting order. Available values: `DESC` (Default), `ASC`.DESC
symbolsYesSpecify one or multiple comma-separated stock symbols (tickers) for your request, e.g. `AAPL` or `AAPL,MSFT`. Each symbol consumes one API request. Maximum: 100 symbols

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "date_from": { "description": "Filter results based on a specific timeframe by passing a from-date in `YYYY-MM-DD` format. You can also specify an exact time in ISO-8601 date format, e.g. `2020-05-21T00:00:00+0000`.", "type": "string" }, "date_to": { "description": "Filter results based on a specific timeframe by passing an end-date in `YYYY-MM-DD` format. You can also specify an exact time in ISO-8601 date format, e.g. `2020-05-21T00:00:00+0000`.", "type": "string" }, "exchange": { "description": "Filter your results based on a specific stock exchange by specifying the MIC identification of a stock exchange. Example: `XNAS`", "type": "string" }, "limit": { "default": 100, "description": "Specify a pagination limit (number of results per page) for your API request. Default limit value is `100`, maximum allowed limit value is `1000`.", "maximum": 1000, "minimum": 1, "type": "integer" }, "offset": { "default": 0, "description": "Specify a pagination offset value for your API request. Example: An offset value of `100` combined with a limit value of 10 would show results 100-110. Default value is `0`, starting with the first available result.", "minimum": 0, "type": "integer" }, "sort": { "default": "DESC", "description": "By default, results are sorted by date/time descending. Use this parameter to specify a sorting order. Available values: `DESC` (Default), `ASC`.", "enum": [ "DESC", "ASC" ], "type": "string" }, "symbols": { "description": "Specify one or multiple comma-separated stock symbols (tickers) for your request, e.g. `AAPL` or `AAPL,MSFT`. Each symbol consumes one API request. Maximum: 100 symbols", "type": "string" } }, "required": [ "symbols" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matteoantoci/mcp-marketstack'

If you have feedback or need assistance with the MCP directory API, please join our Discord server