# Marketstack Stock Exchanges Lookup via APIOSK Gateway

> Marketstack Stock Exchanges Lookup via APIOSK Gateway 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-16).

Returns a list of stock exchanges available through the Marketstack API, with optional result count limiting

## Facts

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

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-stock-exchanges-lookup-via-apiosk-gateway-bef920d1
```

Example prompt: Can you pull the first 20 stock exchanges available from Marketstack so I can see which ones I can query for ticker data?

## When to prefer this

Use this endpoint when you need to discover or enumerate the stock exchanges supported by Marketstack, particularly to obtain exchange MIC codes needed for subsequent market data queries. Prefer this over direct Marketstack API access when using the APIOSK gateway with x402 micropayment billing.

## Known failure modes

- Invalid limit parameter type returns validation error
- Missing or invalid x402 payment header causes 402 Payment Required
- Exceeding rate limits may return 429 Too Many Requests
- Marketstack upstream unavailability causes 502 or 503 errors
- Negative or zero limit value may return empty results or error

## How this service works

Supported stock exchanges.

## Output

A list of stock exchange records from Marketstack, limited to the requested count, including exchange names, MIC codes, country, and other identifying metadata for each exchange.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketstack-stock-exchanges-lookup-via-apiosk-gateway-bef920d1/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)
