How to Use Marketstack stock exchange directory in ChatGPT
Returns exchange names, MIC codes, locations, and websites from Marketstack’s directory. Use it to identify trading venues or build an exchange lookup; a directory entry does not guarantee price coverage.
Prompts to try with Marketstack stock exchange directory in ChatGPT
Copy an example into ChatGPT, or ask in your own words.
Use Marketstack stock exchange directory to find Nasdaq and show all matching venues with their names, MIC codes, countries, and cities.
Use Marketstack stock exchange directory to look up London Stock Exchange and list the matching names, MIC codes, and websites.
Use Marketstack stock exchange directory to look up XNAS and XNYS and compare the returned names and locations in a table.
Use Marketstack stock exchange directory to collect the complete directory and show records located in Japan, grouped by city.
Use Marketstack stock exchange directory to find Deutsche Boerse records and give me the returned venue names, MIC codes, and websites.
How to set up Marketstack stock exchange directory in ChatGPT
Pick the way that suits you. Each takes about two minutes.
Use the ChatGPT connector
- Add a custom MCP server
In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.
https://api.spiral.ai/mcp
- Click Connect
ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.
- Sign in to Spiral and approve
Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.
Use the Spiral skill
- Send ChatGPT this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Marketstack stock exchange directory
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "marketstack/exchanges/list", "input": { "limit": 1 } }'
Then paste one of the prompts above: ChatGPT finds Marketstack stock exchange directory on Spiral, shows the price and runs it.
Marketstack stock exchange directory providers and prices
Spiral runs Marketstack stock exchange directory through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask ChatGPT for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | Rows per page, from 1 to 100. Default 100. The request costs the same whatever the row count. | |
| Offset | 0 to 1000000 | Rows to skip for the next page. Default 0. |
Every API field of Marketstack · Exchanges is on its tool page: open its card above.
What can you do with Marketstack stock exchange directory in ChatGPT?
Turn an exchange name into a table of matching venues, locations, and MIC codes. A chat app can use Marketstack’s directory to prepare regional exchange references and explain the returned matches.
Build an exchange picker
Populate a searchable trading venue selector with exchange names, MIC codes, and locations.
Check exchange labels in imported data
Compare exchange names in a portfolio import with directory records and flag ambiguous matches for review.
Create a regional venue reference
Collect the directory and organize returned exchanges by country and city for a market research brief.
Enrich market reports
Expand exchange codes in a report into readable venue names and add the returned exchange websites.
Review directory changes
Compare successive directory snapshots to identify added records and changes to names, locations, or websites.
Prepare price coverage checks
Resolve a requested trading venue to candidate MIC codes before separately checking whether its securities have price data.
More on Marketstack stock exchange directory and ChatGPT
Overview
Marketstack stock exchange directory in other agents
Questions about Marketstack stock exchange directory in ChatGPT
Can ChatGPT use Marketstack stock exchange directory?
Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run Marketstack stock exchange directory like any built-in tool.
How much does Marketstack stock exchange directory cost in ChatGPT?
Up to $0.034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.
Do I need an Alexandria account to use Marketstack stock exchange directory in ChatGPT?
No. Spiral runs Marketstack stock exchange directory on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Marketstack stock exchange directory in ChatGPT?
About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.
Does ChatGPT wait while Marketstack stock exchange directory runs?
Marketstack stock exchange directory runs in the background. ChatGPT starts the run, checks on it and gives you the json when it's ready.
How many exchanges does Marketstack’s directory cover?
Marketstack documents more than 2,700 exchange records in its database. That is the directory’s scope, not a count of exchanges with available price data.
What information identifies each exchange?
Records include the exchange name, MIC code, country, city, and website. Marketstack also documents regulatory metadata for exchange records.
How can I tell whether I retrieved the complete directory?
Marketstack returns a total result count in its pagination metadata. Compare the records collected across pages with that total before treating the retrieval as complete.
Does Marketstack guarantee that every exchange record is accurate?
APILayer’s master agreement expressly disclaims warranties and liability for inaccuracies, errors, and omissions in licensed data. The directory therefore does not carry an unconditional accuracy guarantee.
Does access give me unrestricted rights to republish the directory?
APILayer’s master agreement grants only rights expressly provided in the agreement. Access alone should not be read as an unrestricted republication license.
Start using Marketstack stock exchange directory in ChatGPT
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into ChatGPT:
set up https://spiral.ai/SKILL.md


