Polymarket Get Market
Get detailed information about a Polymarket prediction market by condition ID, slug, or URL. Returns question, description, outcomes, current prices, token IDs, volume, and liquidity. Ideal for: market research, due diligence, price discovery, automated market monitoring.
Catalog action Utility
Get detailed information about a Polymarket prediction market by condition ID, slug, or URL. Returns question, description, outcomes, current prices, token IDs, volume, and liquidity. Ideal for: market research, due diligence, price discovery, automated market monitoring.
At a Glance
| Field | Value |
|---|---|
| Action ID | polymarket-get-market |
| Category | Utility |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | polymarket, market-data, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
conditionId | string | No | The condition ID of the market. Provide one of conditionId, slug, or marketUrl. |
slug | string | No | The event slug (e.g., 'bitcoin-above-100k-on-june-30'). Provide one of conditionId, slug, or marketUrl. |
marketUrl | string | No | A Polymarket event URL. The slug will be extracted automatically. Provide one of conditionId, slug, or marketUrl. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
eventId | string | No | Event ID |
title | string | No | Event title |
slug | string | No | Event slug |
description | string | No | Event/market description |
conditionId | string | No | Market condition ID |
question | string | No | Market question |
outcomes | array | No | Possible outcomes |
outcomePrices | array | No | Current prices for each outcome |
tokenIds | array | No | CLOB token IDs for each outcome |
closed | boolean | No | Whether the market is closed |
active | boolean | No | Whether the market is active |
acceptingOrders | boolean | No | Whether the market is accepting orders |
negRisk | boolean | No | Whether this is a neg risk market (elections, multi-candidate events) |
volume | number | No | Total volume traded in USDC (human-readable) |
liquidity | number | No | Current liquidity in USDC (human-readable) |
startDate | string | No | Market start date |
endDate | string | No | Market end date |
markets | array | No | Array of sub-markets (for multi-market events) |
marketCount | number | No | Number of sub-markets |
Examples
json{ "type": "polymarket-get-market", "payload": { "conditionId": "example-conditionId", "slug": "example-slug", "marketUrl": "https://example.com/webhook" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/polymarket-get-market/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "conditionId": "example-conditionId", "slug": "example-slug", "marketUrl": "https://example.com/webhook" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
