[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [Polymarket event listings](https://spiral.ai/integrations/devin/polymarket-event-listings)

# How to Use Polymarket event listings in Devin

Returns event records with their underlying markets for browsing and comparison. Use it to build a topic inventory or compare several events instead of looking up one known event.

|  |  |
| --- | --- |
| Model | Polymarket event listings |
| 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 event listings in Devin

- Use Polymarket event listings to retrieve election events and add a table of titles, event IDs, deadlines, and underlying market questions to my project's research view.
- Use Polymarket event listings to retrieve politics events and create a CSV export of event titles, IDs, descriptions, and resolution sources.
- Use Polymarket event listings to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Polymarket event listings and tell me what changed since last week.
- Check Polymarket event listings and summarize what you find in three bullet points.

## How to set up Polymarket event listings in Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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 event listings**: 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/events/list",
    "input": {
      "limit": 1
    }
  }'
```

Then paste one of the prompts above: Devin finds Polymarket event listings on Spiral, shows the price and runs it.

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

## Polymarket event listings tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id |  | — | Gamma numeric identifier; list endpoints accept repeated IDs. |
| slug |  | — | Exact slug; list endpoints accept repeated slugs. |
| order |  | — | Comma-separated upstream field names to sort by, for example volume. |
| active |  | — | Filter by active status. |
| closed |  | — | Filter by whether the market, event or series is closed. |
| offset | 0 to … | — | Number of records to skip; increment by the page size. |

## What can you do with Polymarket event listings in Devin?

Build a linked Polymarket event directory in your project. Your coding agent can organize event listings and connect selected titles to detailed records and underlying questions.

### Daily election research brief

Build a linked brief of election questions listed on Polymarket. Use new listings to identify additions and detailed event records to explain the underlying questions.

### Newsroom assignment queue

Turn political event titles into reporting leads. Link each lead to its Polymarket event, then inspect the underlying markets before assigning a story.

### Election question directory

Maintain a searchable directory of Polymarket election questions. Add newly discovered events and use detailed records to organize their constituent markets.

### Political coverage review

Compare a research team's election watchlist with the political questions appearing on Polymarket. Identify topics to investigate and inspect the corresponding event records.

### Resolution criteria review

Read event descriptions and resolution sources before comparing forecasts. Flag questions that use different deadlines or definitions of success.

### Market activity comparison

Compare reported volume and liquidity across selected events. Keep event totals separate from the figures for individual underlying markets.

## Overview

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

## Polymarket event listings in other agents

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

## More Devin guides

- [Polymarket event details by slug](https://spiral.ai/integrations/devin/polymarket-event-details-by-slug)
- [Polymarket market details by ID](https://spiral.ai/integrations/devin/polymarket-market-details-by-id)
- [Polymarket event details by ID](https://spiral.ai/integrations/devin/polymarket-event-details-by-id)
- [Polymarket market details by slug](https://spiral.ai/integrations/devin/polymarket-market-details-by-slug)
- [OECD statistical observations](https://spiral.ai/integrations/devin/oecd-statistical-observations)
- [Polymarket market listings](https://spiral.ai/integrations/devin/polymarket-market-listings)

## Questions about Polymarket event listings in Devin

**Can Devin use Polymarket event listings?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Polymarket event listings like any built-in tool.

**How much does Polymarket event listings cost in Devin?**

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

**Do I need an Alexandria account to use Polymarket event listings in Devin?**

No. Spiral runs Polymarket event listings 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 event listings in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while Polymarket event listings runs?**

Polymarket event listings runs in the background. Devin starts the run, checks on it and gives you the json when it's ready.

**Is a Polymarket event the same as a market?**

An event groups one or more markets. Each underlying market is a separate yes/no question, so an election event can contain several questions rather than one combined probability.

**Does this data also cover Polymarket US?**

Polymarket's international and US exchanges use distinct APIs and manage their data separately. Gamma event data should not be treated as a combined inventory of both exchanges.

**Can Polymarket event records include closed events?**

Yes. Polymarket's general event listing includes both open and closed events when the closed-status filter is omitted.

**Are Polymarket odds fixed after an event is listed?**

No. Trading can continue before an event concludes, and the market-implied probability can change as new information arrives.

**What do Polymarket odds actually measure?**

They represent the market's current implied probability of an outcome. They are a forecast produced by trading, so an event's odds should not be described as an official election result or a confirmed fact.

