Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · Finance

How to Use Marketstack stock exchange directory in OpenClaw

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 OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Every Monday, use Marketstack stock exchange directory to retrieve Nasdaq matches and report any changes in names, MIC codes, locations, or websites since the previous check.

Marketstack stock exchange directoryOpenClaw
Try asking
  • Once a month, use Marketstack stock exchange directory to collect all pages and report added or removed records located in Japan.

  • Each Friday, use Marketstack stock exchange directory to look up London Stock Exchange and summarize changes to the returned names and websites.

  • Every Monday, use Marketstack stock exchange directory to retrieve XNAS and XNYS and flag changes to their returned names or locations.

  • Once a month, use Marketstack stock exchange directory to retrieve Deutsche Boerse matches and compare their MIC codes and websites with the previous results.

How to set up Marketstack stock exchange directory in OpenClaw

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send OpenClaw this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: OpenClaw 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.

AlexandriaFinance
Marketstack · Exchanges
marketstack/exchanges/list

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 100

Rows per page, from 1 to 100. Default 100. The request costs the same whatever the row count.

Offset0 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 OpenClaw?

Produce a weekly report of changes in Marketstack’s exchange directory. A scheduled agent can compare saved results and flag changes to venue names, MIC codes, locations, and websites.

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.

Questions about Marketstack stock exchange directory in OpenClaw

Can OpenClaw use Marketstack stock exchange directory?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run Marketstack stock exchange directory like any built-in tool.

How much does Marketstack stock exchange directory cost in OpenClaw?

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 OpenClaw plan is separate.

Do I need an Alexandria account to use Marketstack stock exchange directory in OpenClaw?

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 OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while Marketstack stock exchange directory runs?

Marketstack stock exchange directory runs in the background. OpenClaw 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.

Get started

Start using Marketstack stock exchange directory in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options