# Marketstack EOD Stock Data via gateway.apiosk.com

> Marketstack EOD Stock Data via gateway.apiosk.com is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-13).

Returns end-of-day (EOD) stock price data for one or more ticker symbols over a specified date range, proxied through gateway.apiosk.com to Marketstack.

## Facts

- Endpoint: GET https://gateway.apiosk.com/marketstack/eod
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketstack-eod-stock-data-via-gateway-apiosk-com-51f8cfba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Kbx5aGY7lId4PdV6dS5od

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability marketstack-eod-stock-data-via-gateway-apiosk-com-51f8cfba
```

Example prompt: Can you pull the end-of-day stock prices for AAPL and MSFT from January 1 to January 31, 2024 using Marketstack?

## When to prefer this

Use this endpoint when you need historical end-of-day stock price data (OHLCV) for one or more equity ticker symbols, especially when you want a pay-per-call model via x402 without managing a Marketstack subscription directly. Prefer over real-time quote endpoints when daily granularity is sufficient.

## Known failure modes

- Invalid or unrecognized ticker symbol returns empty or error response
- Date range exceeds allowed lookback window for the pricing tier
- Missing required 'symbols' parameter returns 400-level error
- Upstream Marketstack API unavailable causes 502 or timeout
- Malformed date format in date_from or date_to causes validation error

## How this service works

End-of-day stock prices. Also /eod/latest.

## Output

Returns end-of-day OHLCV (open, high, low, close, volume) price records for each requested ticker symbol across the specified date range, sourced from Marketstack's EOD dataset.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketstack-eod-stock-data-via-gateway-apiosk-com-51f8cfba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
