# polymarket.events

A page of Polymarket's events, by search words, topic or trading volume: each event's markets with their outcomes and prices, volume and liquidity.

Polymarket events, one of the Polymarket scrapers.

| | |
| --- | --- |
| Id | `polymarket.events` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/polymarket.events/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | string | no | Words to search Polymarket for, e.g. `bitcoin`. The events come in the order of Polymarket's own search. Without it, the list of events is read. Limit: at least 1 characters, at most 200 characters. |
| `tag` | string | no | Only events of this topic, by the name in the topic's address on polymarket.com: `politics`, `crypto`, `sports`, `economy`. Not together with `query`. Limit: at most 100 characters. |
| `sort` | "volume_24h" \| "volume" \| "liquidity" \| "newest" \| "ending_soon" | no | The order of the list: `volume_24h` (the default: most traded in the last 24 hours first), `volume` (most traded overall), `liquidity`, `newest`, `ending_soon`. Not together with `query`. |
| `status` | "open" \| "closed" | no | `open`: events still trading. `closed`: events that have ended. Default: `"open"`. |
| `page` | integer | no | The page of the list, from 1; 10 events a page. Limit: 1 to 100. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `position` | integer or null | The event's place in the list, from 1. Null for `polymarket.event`. |
| `event_id` | string | Polymarket's id of the event. |
| `slug` | string | The name the event is filed under: the last part of its page's address. |
| `url` | string | The event's page on polymarket.com. |
| `title` | string | The event's title, e.g. `What price will Bitcoin hit in 2026?`. |
| `description` | string or null | The event's description: what it is about and how it is resolved. |
| `resolution_source` | string or null | The source the event names for its resolution, usually a web address. |
| `image` | string or null | The event's picture. |
| `tags` | array of string | The topics Polymarket files the event under, e.g. `Politics`, `Crypto`. |
| `start_date` | string (date-time) or null | When the event opened. |
| `end_date` | string (date-time) or null | When the event is due to end. |
| `active` | boolean or null | True once the event has been opened for trading. |
| `closed` | boolean or null | True when the event has ended and its markets no longer trade. |
| `volume` | number or null | Everything traded in the event's markets so far, in US dollars. |
| `volume_24h` | number or null | What was traded in the last 24 hours, in US dollars. |
| `liquidity` | number or null | The money resting in the order books of the event's markets, in US dollars. |
| `open_interest` | number or null | The value of the shares outstanding in the event's markets, in US dollars. |
| `comment_count` | integer or null | The number of comments on the event's page. |
| `market_count` | integer | The number of markets the event has. |
| `markets` | array of object | The event's markets, in Polymarket's order. `polymarket.event` returns every one; `polymarket.events` returns the first 25 of each event, and `market_count` says how many there are. |
| `markets[].market_id` | string | Polymarket's id of the market. |
| `markets[].question` | string | The question the market asks, e.g. `Will Bitcoin reach $150,000 by December 31, 2026?`. |
| `markets[].slug` | string or null | The name the market is filed under in its address. |
| `markets[].label` | string or null | The market's short name inside its event, e.g. `↑ 150,000`, `50+ bps decrease`. Null for an event of one market. |
| `markets[].outcomes` | array of object | The market's outcomes with their prices, in the market's own order. |
| `markets[].outcomes[].name` | string | The outcome as the market names it: `Yes`, `No`, or a team's or a candidate's name. |
| `markets[].outcomes[].price` | number or null | The outcome's price, 0 to 1: `0.25` reads as one chance in four. For a resolved market, 1 for the outcome that happened and 0 for the others. |
| `markets[].last_trade_price` | number or null | The price of the last trade of the first outcome, 0 to 1. |
| `markets[].best_bid` | number or null | The best bid for the first outcome, 0 to 1. |
| `markets[].best_ask` | number or null | The best ask for the first outcome, 0 to 1. |
| `markets[].one_day_price_change` | number or null | The change of the first outcome's price over the last day, in price points: `-0.02` is two cents down. |
| `markets[].volume` | number or null | Everything traded in the market so far, in US dollars. |
| `markets[].volume_24h` | number or null | What was traded in the last 24 hours, in US dollars. |
| `markets[].liquidity` | number or null | The money resting in the market's order book, in US dollars. |
| `markets[].end_date` | string (date-time) or null | When the market is due to end. |
| `markets[].active` | boolean or null | True once the market has been opened for trading. |
| `markets[].closed` | boolean or null | True when the market has stopped trading. |
| `markets[].accepting_orders` | boolean or null | True while orders can be placed. |
| `fetched_at` | string (date-time) | When the event was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/polymarket.events/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"openai"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "polymarket.events",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "openai"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "position": 1,
      "event_id": "193867",
      "slug": "will-anthropic-or-openai-ipo-first",
      "url": "https://polymarket.com/event/will-anthropic-or-openai-ipo-first",
      "title": "Will Anthropic or OpenAI IPO first?",
      "description": "This market will resolve to \"Anthropic\" if Anthropic completes an Initial Public Offering (IPO) before OpenAI completes an IPO by December 31, 2027, 11:59 PM ET, as confirmed by official company announcements and credible news sources. … [truncated]",
      "resolution_source": null,
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/g-7b367ede47.png",
      "tags": [
        "sam altman",
        "OpenAI",
        "Business"
      ],
      "start_date": "2026-01-30T22:45:43.987000Z",
      "end_date": "2028-01-01T04:59:00Z",
      "active": true,
      "closed": false,
      "volume": 464824.35667100013,
      "volume_24h": 8432.7965,
      "liquidity": 20734.93011,
      "open_interest": 105051.323893,
      "comment_count": 3,
      "market_count": 1,
      "markets": [
        {
          "market_id": "1301184",
          "question": "Will Anthropic or OpenAI IPO first?",
          "slug": "will-anthropic-or-openai-ipo-first",
          "label": null,
          "outcomes": [
            {
              "name": "Anthropic",
              "price": 0.9985
            },
            {
              "name": "OpenAI",
              "price": 0.0015
            }
          ],
          "last_trade_price": 0.999,
          "best_bid": 0.997,
          "best_ask": 1,
          "one_day_price_change": 0.01,
          "volume": 464824.35667100013,
          "volume_24h": 8432.7965,
          "liquidity": 20734.93011,
          "end_date": "2028-01-01T04:59:00Z",
          "active": true,
          "closed": false,
          "accepting_orders": true
        }
      ],
      "fetched_at": "2026-11-19T18:07:41.073113Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `description`: 1,045 characters, the first 235 shown.
- Shortened: `tags`: 11 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Polymarket scrapers](https://docs.enrichednow.com/results-and-statuses.md#polymarket) are in their own section there.
