[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Polymarket market search](https://spiral.ai/integrations/grok/polymarket-market-search)

# How to Use Polymarket market search in Grok

Find matching Polymarket events with nested market questions, plus matching tags and public profiles. Use it to discover relevant questions and their identifiers before choosing a market to investigate.

|  |  |
| --- | --- |
| Model | Polymarket market search |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.013 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Polymarket market search in Grok

- Use Polymarket market search to find Bitcoin events and show their titles with the market questions inside each event.
- Use Polymarket market search for Federal Reserve and compare the returned descriptions, resolution sources, and end dates.
- Use Polymarket market search for SpaceX and make a shortlist of questions about launches, including their event titles and end dates where returned.
- Use Polymarket market search for NBA, include matching topic tags, and list the labels alongside the matching event titles.
- Use Polymarket market search for OpenAI and give me the event and market identifiers for questions about product announcements.

## How to set up Polymarket market search 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.

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

```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 search**: 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/search/query",
    "input": {
      "q": "<q>",
      "limit_per_type": 1
    }
  }'
```

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

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

## Polymarket market search tools and prices

- [Polymarket · Query](https://spiral.ai/tools/alexandria/polymarket/search/query) (Alexandria): $0.013 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to … | — | Search page number, starting at 1. |
| sort |  | — | Upstream search sort field. |
| ascending |  | — | Whether to sort in ascending order. |
| events_tag |  | — | Event tag labels, serialized as repeated query parameters. |
| search_tags |  | — | Include matching tags. |
| events_status |  | — | Upstream event status filter, for example active. |

## What can you do with Polymarket market search in Grok?

Turn a topic such as Bitcoin or the Federal Reserve into a shortlist of Polymarket questions to investigate. A chat app can explain how the returned events divide into markets and compare their descriptions and deadlines.

### Find markets behind a news topic

Search for Federal Reserve decisions and assemble the matching event titles and market questions for a research brief.

### Build a market search interface

Turn topic searches into event results with nested market questions, keeping event and market identifiers separate.

### Compare how questions are defined

Find Bitcoin events and compare their returned descriptions, resolution sources, and end dates before selecting questions for analysis.

### Maintain a topic watchlist

Repeat searches for Ethereum and flag event or market IDs that were absent from the previous search results.

### Prepare a deadline brief

Find SpaceX events and organize their returned end dates alongside the exact market questions.

### Discover topic labels

Search for NBA and review matching tags alongside matching events to choose labels for a research index.

### Create a market identifier shortlist

Search for OpenAI and collect event IDs, event slugs, market IDs, and condition IDs for the questions relevant to a technology brief.

## Overview

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

## Polymarket market search in other agents

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

## More Grok guides

- [Polymarket market listings](https://spiral.ai/integrations/grok/polymarket-market-listings)
- [Polymarket new political events](https://spiral.ai/integrations/grok/polymarket-new-political-events)
- [Polymarket market details by slug](https://spiral.ai/integrations/grok/polymarket-market-details-by-slug)
- [Polymarket series details](https://spiral.ai/integrations/grok/polymarket-series-details)
- [Polymarket market details by ID](https://spiral.ai/integrations/grok/polymarket-market-details-by-id)
- [Polymarket series directory](https://spiral.ai/integrations/grok/polymarket-series-directory)

## Questions about Polymarket market search in Grok

**Can Grok use Polymarket market search?**

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

**How much does Polymarket market search 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 market search in Grok?**

No. Spiral runs Polymarket market search 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 market search 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 market search runs?**

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

**What does Polymarket search cover?**

It searches Polymarket events, tags, and public profiles. Matching market questions appear inside the returned events.

**Why can one search result contain several market questions?**

A Polymarket event groups one or more related markets. Inspect the nested questions before selecting a market, because the event title can describe a broader topic.

**Does one search return every match?**

Search responses include a total result count and an indicator of whether more results remain. Use that indicator to decide whether to request another page.

**Is Polymarket search guaranteed to be current and complete?**

Polymarket's terms explicitly provide no guarantee that its information is updated, complete, or timely. A search result should not be presented as a guaranteed complete view of the source.

**Does the market title fully explain what counts as a winning outcome?**

No. Polymarket says the title describes the question, while the resolution rules define how it resolves; compare those rules when two questions sound similar.

