[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Polymarket tag directory](https://spiral.ai/integrations/n8n/polymarket-tag-directory)

# How to Use Polymarket tag directory in n8n

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.

|  |  |
| --- | --- |
| Model | Polymarket tag directory |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Polymarket tag directory in n8n

- Every morning, use Polymarket tag directory to find labels mentioning Bitcoin or Ethereum and report IDs, labels, or slugs that differ from the previous check.
- Each Monday, use Polymarket tag directory to find basketball topic labels across successive pages and summarize changes from last week's results.
- Each Friday, use Polymarket tag directory to find labels mentioning US elections and compare the returned topic IDs and labels with the previous report.
- Every Monday at 9am: 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 n8n

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

### Use the Spiral skill

1. **Send n8n 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. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Polymarket tag directory in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Polymarket tag directory, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
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.

```bash
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: n8n finds Polymarket tag directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Polymarket tag directory tools and prices

- [Polymarket · Tags list](https://spiral.ai/tools/alexandria/polymarket/tags/list) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| order |  | — | Comma-separated upstream field names to sort by, for example volume. |
| offset | 0 to … | — | Number of records to skip; increment by the page size. |
| ascending |  | — | Whether to sort in ascending order. |

## What can you do with Polymarket tag directory in n8n?

Keep a change report for Polymarket topic metadata, including NBA labels and category display flags. A scheduled agent can compare returned records over time and report the specific values that changed.

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

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Polymarket tag directory in other agents

- [Amp](https://spiral.ai/integrations/amp/polymarket-tag-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/polymarket-tag-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/polymarket-tag-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/polymarket-tag-directory)
- [Cline](https://spiral.ai/integrations/cline/polymarket-tag-directory)
- [Codex](https://spiral.ai/integrations/codex/polymarket-tag-directory)
- [Cursor](https://spiral.ai/integrations/cursor/polymarket-tag-directory)
- [Devin](https://spiral.ai/integrations/devin/polymarket-tag-directory)
- [dots](https://spiral.ai/integrations/dots/polymarket-tag-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/polymarket-tag-directory)
- [Gemini](https://spiral.ai/integrations/gemini/polymarket-tag-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/polymarket-tag-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/polymarket-tag-directory)
- [goose](https://spiral.ai/integrations/goose/polymarket-tag-directory)
- [Grok](https://spiral.ai/integrations/grok/polymarket-tag-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/polymarket-tag-directory)
- [Hermes](https://spiral.ai/integrations/hermes/polymarket-tag-directory)
- [Instinct](https://spiral.ai/integrations/instinct/polymarket-tag-directory)
- [Manus](https://spiral.ai/integrations/manus/polymarket-tag-directory)
- [Muse](https://spiral.ai/integrations/muse/polymarket-tag-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/polymarket-tag-directory)
- [Notion](https://spiral.ai/integrations/notion/polymarket-tag-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/polymarket-tag-directory)
- [opencode](https://spiral.ai/integrations/opencode/polymarket-tag-directory)
- [Perplexity](https://spiral.ai/integrations/perplexity/polymarket-tag-directory)
- [Raycast](https://spiral.ai/integrations/raycast/polymarket-tag-directory)
- [VS Code](https://spiral.ai/integrations/vscode/polymarket-tag-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/polymarket-tag-directory)
- [Zapier](https://spiral.ai/integrations/zapier/polymarket-tag-directory)

## More n8n guides

- [Polymarket tag details](https://spiral.ai/integrations/n8n/polymarket-tag-details)
- [SEC EDGAR beneficial ownership filing details](https://spiral.ai/integrations/n8n/sec-edgar-beneficial-ownership-filing-details)
- [Polymarket sports metadata](https://spiral.ai/integrations/n8n/polymarket-sports-metadata)
- [SEC EDGAR beneficial ownership filing updates](https://spiral.ai/integrations/n8n/sec-edgar-beneficial-ownership-filing-updates)
- [Polymarket sports market types](https://spiral.ai/integrations/n8n/polymarket-sports-market-types)
- [SEC EDGAR company directory](https://spiral.ai/integrations/n8n/sec-edgar-company-directory)

## Questions about Polymarket tag directory in n8n

**Can n8n use Polymarket tag directory?**

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

**How much does Polymarket tag directory cost in n8n?**

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

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

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Polymarket tag directory on its own Alexandria account.

**How long does it take to set up Polymarket tag directory in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Polymarket tag directory runs?**

Polymarket tag directory runs in the background. n8n 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.

