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

Grok · Finance

How to Use Polymarket tag directory in Grok

Returns a paginated list of Polymarket topic tags with IDs, labels, and slugs. Use it to discover categories and collect the IDs needed for topic filters.

Prompts to try with Polymarket tag directory in Grok

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

Use Polymarket tag directory to find topics whose labels mention Bitcoin or Ethereum. Show their returned IDs, labels, and slugs.

Polymarket tag directoryGrok
Try asking
  • Use Polymarket tag directory to find basketball and NBA topic labels, checking successive pages before summarizing the matches.

  • Use Polymarket tag directory to prepare a reference table of labels mentioning US elections, including the returned topic IDs and slugs.

  • Use Polymarket tag directory to look this up and give me the result as a table.

  • Pull the latest numbers from Polymarket tag directory and tell me what changed since last week.

How to set up Polymarket tag directory in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 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 Polymarket tag 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": "polymarket/tags/list",
        "input": {
          "limit": 1
        }
      }'

Then paste one of the prompts above: Grok finds Polymarket tag directory on Spiral, shows the price and runs it.

Polymarket tag directory providers and prices

Spiral runs Polymarket tag directory through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Polymarket · Tags list
polymarket/tags/list

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 100

Number of records to return (1 to 100); required to keep each response bounded.

Offseta number from 0

Number of records to skip; increment by the page size.

Ascendingon or off

Whether to sort in ascending order.

Every API field of Polymarket · Tags list is on its tool page: open its card above.

What can you do with Polymarket tag directory in Grok?

Produce a topic reference for a Polymarket research brief with the exact labels, slugs, and IDs returned by the source. A chat app can find candidate categories and explain the metadata attached to a selected topic.

Build topic filters

Populate category choices with Polymarket tag labels and IDs, then refresh the metadata for saved choices.

Prepare NBA research

Establish the NBA label, slug, and tag ID before using that topic in a separate event search.

Check saved topic mappings

Compare stored tag IDs, labels, and slugs with returned metadata to identify mappings that need review.

Monitor tag metadata changes

Compare successive tag records to report changed labels, slugs, display flags, and update timestamps.

Review category display metadata

Inspect the hide and carousel flags attached to topics selected for a Polymarket category menu.

Maintain an editorial topic index

Keep a reference table of Polymarket topics for an NBA, cryptocurrency, or election research brief, using returned IDs and labels.

Questions about Polymarket tag directory in Grok

Can Grok use Polymarket tag directory?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Polymarket tag directory like any built-in tool.

How much does Polymarket tag directory cost in Grok?

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

Do I need an Alexandria account to use Polymarket tag directory in Grok?

No. Spiral runs Polymarket tag 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 Polymarket tag directory in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while Polymarket tag directory runs?

Polymarket tag directory runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

What kinds of topics do Polymarket tags cover?

Tags categorize Polymarket events and markets by categories, leagues, people, and themes. Their scope includes specific sports leagues as well as broader topics.

What freshness information comes with a tag?

Tag records expose creation and last-update timestamps. Both can be null, so a timestamp is not available for every record.

Does every tag have a readable label and slug?

Polymarket defines both the label and slug as nullable strings. A returned tag ID can therefore lack either value.

Does one directory response establish complete tag coverage?

The tag directory supports pagination using a nonnegative offset. A single page should not be presented as the complete directory.

What is the Polymarket tag ID for the NBA?

Polymarket's documentation shows NBA with tag ID 745 and slug nba. That provides a concrete reference for checking an NBA topic mapping.

Get started

Start using Polymarket tag directory in Grok

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

Paste this into Grok:

Set up Grok

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