[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Polymarket market details by ID](https://spiral.ai/integrations/n8n/polymarket-market-details-by-id)

# How to Use Polymarket market details by ID in n8n

Returns one market's question, description, outcomes, probabilities, volume, and status using its numeric Gamma ID. Use it to refresh a market already saved in a watchlist or dataset.

|  |  |
| --- | --- |
| Model | Polymarket market details by ID |
| 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 market details by ID in n8n

- Every morning, use Polymarket market details by ID for market 703257 and report changes in its outcome probabilities since the previous check.
- Every evening, use Polymarket market details by ID for market 703257 and summarize its reported volume alongside the labeled outcome probabilities.
- Every Monday at 9am: use Polymarket market details by ID to look this up and give me the result as a table.
- Pull the latest numbers from Polymarket market details by ID and tell me what changed since last week.
- Check Polymarket market details by ID and summarize what you find in three bullet points.

## How to set up Polymarket market details by ID 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 market details by ID in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Polymarket market details by ID, 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 market details by ID**: 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/markets/get",
    "input": {
      "id": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds Polymarket market details by ID on Spiral, shows the price and runs it.

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

## Polymarket market details by ID tools and prices

- [Polymarket · Markets get](https://spiral.ai/tools/alexandria/polymarket/markets/get) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| include_tag |  | — | Include market tags. |

## What can you do with Polymarket market details by ID in n8n?

Receive a daily comparison of Polymarket probabilities for questions you follow. A scheduled agent can compare each returned record with its saved observations and report changes in probabilities, volume, or status.

### Prepare a probability briefing

Turn selected market questions into a short briefing with labeled outcome probabilities. Discover questions through listings or retrieve a known question by its ID or slug.

### Add trading activity to a market summary

Pair outcome probabilities with reported volume so a reader can compare expectations alongside trading activity.

### Maintain a question watchlist

Save the exact question, market ID, and slug for each selected market. Refresh the records to keep a watchlist tied to the same questions.

### Explain what a market asks

Use the returned question and description to write a plain-English explanation of the proposition behind its outcome probabilities.

### Build a market reference table

Organize market questions, identifiers, outcome labels, and status into a table for an editor or researcher reviewing public prediction markets.

### Compare saved probability snapshots

Collect repeated readings for selected questions and calculate changes between those saved observations. Include the exact question with each comparison.

## Overview

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

## Polymarket market details by ID in other agents

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

## More n8n guides

- [Polymarket event listings](https://spiral.ai/integrations/n8n/polymarket-event-listings)
- [Polymarket market details by slug](https://spiral.ai/integrations/n8n/polymarket-market-details-by-slug)
- [Polymarket event details by slug](https://spiral.ai/integrations/n8n/polymarket-event-details-by-slug)
- [Polymarket market listings](https://spiral.ai/integrations/n8n/polymarket-market-listings)
- [Polymarket event details by ID](https://spiral.ai/integrations/n8n/polymarket-event-details-by-id)
- [Polymarket market search](https://spiral.ai/integrations/n8n/polymarket-market-search)

## Questions about Polymarket market details by ID in n8n

**Can n8n use Polymarket market details by ID?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Polymarket market details by ID like any built-in tool.

**How much does Polymarket market details by ID 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 market details by ID in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Polymarket market details by ID on its own Alexandria account.

**How long does it take to set up Polymarket market details by ID in n8n?**

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

**Does n8n wait while Polymarket market details by ID runs?**

Polymarket market details by ID runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does one Polymarket market describe an entire event?**

An event contains one or more markets. Each market describes a specific YES/NO question, so one market lookup can cover only part of a broader event.

**How do I match probabilities to the correct outcomes?**

Decode the outcome labels and probabilities into arrays, then match entries at the same position. This preserves the association between each label and its probability.

**What period does the daily volume figure cover?**

Polymarket defines its daily volume metric as trading volume over the past 24 hours.

**Are Polymarket probabilities confirmed outcomes?**

They represent the market's belief in an outcome's probability. A probability reading is a measure of market expectations, rather than confirmation that the event happened.

**Does Polymarket's catalog include closed markets?**

The market listing supports closed markets, but its default response contains open markets. Request closed markets explicitly when researching past questions.

