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

Google Antigravity · Finance

How to Use Polymarket market details by slug in Google Antigravity

Returns one market's question, description, outcomes, probabilities, volume, and status using its exact market slug. Use it to inspect a known question without browsing the market catalog.

Prompts to try with Polymarket market details by slug in Google Antigravity

Copy an example into Google Antigravity, or ask in your own words.

Use Polymarket market details by slug for will-the-us-confirm-that-aliens-exist-before-2027-789-924-249 and update this project's parser to pair outcome labels with probabilities by array position.

Polymarket market details by slugGoogle Antigravity
Try asking
  • Use Polymarket market details by slug to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check Polymarket market details by slug and summarize what you find in three bullet points.

  • Pull the newest data from Polymarket market details by slug and give me the result as a table.

How to set up Polymarket market details by slug in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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 market details by slug

    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/markets/by-slug",
        "input": {
          "slug": "<slug>"
        }
      }'

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

Polymarket market details by slug providers and prices

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

AlexandriaFinance
Polymarket · Markets by slug
polymarket/markets/by-slug

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Include tagon or off

Include market tags.

Every API field of Polymarket · Markets by slug is on its tool page: open its card above.

What can you do with Polymarket market details by slug in Google Antigravity?

Build a market watchlist that keeps Polymarket questions attached to correctly labeled probabilities. A coding agent can add record parsing and comparisons with previously saved observations to your project.

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.

Questions about Polymarket market details by slug in Google Antigravity

Can Google Antigravity use Polymarket market details by slug?

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

How much does Polymarket market details by slug cost in Google Antigravity?

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

Do I need an Alexandria account to use Polymarket market details by slug in Google Antigravity?

No. Spiral runs Polymarket market details by slug 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 details by slug in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while Polymarket market details by slug runs?

Polymarket market details by slug runs in the background. Google Antigravity 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.

Get started

Start using Polymarket market details by slug in Google Antigravity

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

Paste this into Google Antigravity:

Set up Google Antigravity

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