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

VS Code · Finance

How to Use Polymarket series details in VS Code

Returns one Polymarket series with its recurrence, activity totals, and linked events. Use it to inspect a known league or recurring topic and see the events attached to it.

Prompts to try with Polymarket series details in VS Code

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

Use Polymarket series details for the NFL series identified in our catalog and build a view of its returned event titles and IDs.

Polymarket series detailsVS Code
Try asking
  • Use Polymarket series details for our verified NBA series ID and update the project's summary with its recurrence, description, and status.

  • Use Polymarket series details for our verified MLB series ID and compare the returned event IDs with the project's saved snapshot.

  • Use Polymarket series details to look this up and give me the result as a table. Save the result in ./assets.

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

How to set up Polymarket series details in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 series details

    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/series/get",
        "input": {
          "id": 1
        }
      }'

Then paste one of the prompts above: VS Code finds Polymarket series details on Spiral, shows the price and runs it.

Polymarket series details providers and prices

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

AlexandriaFinance
Polymarket · Series get
polymarket/series/get

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
IDa number

Gamma numeric identifier used as this path segment.

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

What can you do with Polymarket series details in VS Code?

Build a league event browser from Polymarket series identifiers, descriptions, and linked events. A coding agent can map the responses into your project's data structures and keep event counts separate from market counts.

Build a league event index

Organize the returned events for an NFL, NBA, or MLB series into a readable index, keeping each event attached to its series identifier.

Compare series activity

Compare reported 24-hour volume, total volume, and liquidity across selected sports series to decide which topics deserve a closer look.

Prepare a recurring-topic briefing

Summarize a series's description, recurrence, status, and linked event titles for a research briefing about that topic.

Detect changes in listed events

Compare successive responses for a selected league and report event identifiers that appeared or disappeared from the returned list.

Audit a series catalog

Review series titles, slugs, recurrence, and status flags to find stale labels or mismatches in a maintained Polymarket catalog.

Separate event counts from market counts

Count returned events for a league series and explain the unit clearly in a report, since one event can contain several markets.

Questions about Polymarket series details in VS Code

Can VS Code use Polymarket series details?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Polymarket series details like any built-in tool.

How much does Polymarket series details cost in VS Code?

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

Do I need an Alexandria account to use Polymarket series details in VS Code?

No. Spiral runs Polymarket series details 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 series details in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while Polymarket series details runs?

Polymarket series details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

What does a Polymarket series represent?

A series collects recurring events under one theme. In sports, its identifier can refer to a tournament or season, so check that scope before comparing series.

Which activity measures does Polymarket return for a series?

The documented measures include 24-hour volume, total volume, and liquidity. Each can be null in the response.

How fresh is the series data?

The response includes creation and update timestamps, but both can be null. Polymarket's series documentation does not specify a fixed refresh interval.

Does one event equal one prediction market?

An event can contain one or more related markets. Counting a series's events therefore does not give you its number of tradable questions.

Can I treat the returned events as a guaranteed complete archive?

Polymarket's terms explicitly withhold a guarantee that its information is updated, complete, or timely. The returned event list should not be described as a guaranteed complete historical archive.

Get started

Start using Polymarket series details in VS Code

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

Paste this into VS Code:

Set up VS Code

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