# Polymarket US Markets Scraper: Odds, Gold, Silver & Crypto (`thomasjacks/polymarket-us-markets`) Actor

Export Polymarket US markets with prices, best bid and ask, open interest and volume. Covers the new gold and silver markets, crypto, sports and politics. Official public API, no key.

- **URL**: https://apify.com/thomasjacks/polymarket-us-markets.md
- **Developed by:** [Thomas Jacks](https://apify.com/thomasjacks) (community)
- **Categories:** Business, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Polymarket US Markets Scraper: Odds, Gold, Silver and Crypto

Export live markets from **Polymarket US**, the CFTC-regulated US prediction market exchange, as clean rows: the question, each outcome, implied probability, best bid and ask, last trade, open interest and shares traded. It covers every category on the exchange, including the **gold and silver Up or Down markets listed on 22 October 2026**, the Bitcoin, Ether, Solana and XRP price markets, sports, politics and macro.

It reads the documented public gateway API at `gateway.polymarket.us`, which needs no API key. No login, no proxies, no browser. A default run returns 100 markets in a few seconds.

### What you can do with it

- Track prediction market odds for an election, a Fed decision or a game and send them to Google Sheets, a database or an AI agent.
- Pull every open gold, silver or crypto price market with its strike, range, price to beat and window end.
- Compare Polymarket US prices with Kalshi or a sportsbook to find gaps.
- Build a daily archive of prices and open interest by scheduling the Actor.
- Export settled markets and their settlement prices for backtesting.

### Input

| Field | Meaning | Default |
|---|---|---|
| `categories` | Any of sports, politics, culture, macro, crypto, technology, finance, climate, geopolitics, science | finance and crypto |
| `assets` | Keep only asset price markets on gold, silver, btc, eth, sol or xrp | none |
| `search` | Full-text search, for example `fed rate`. Categories are ignored when this is set | none |
| `status` | `open`, `closed` or `all` | open |
| `endsWithinHours` | Keep only markets ending within this many hours | no limit |
| `includeMarketStats` | Add last trade, shares traded, open interest and book depth (one extra request per market) | on |
| `includeDescription` | Add the settlement rules text | off |
| `maxMarkets` | Stop after this many markets | 100 |

Example: every open gold and silver market.

```json
{ "assets": ["gold", "silver"], "maxMarkets": 500 }
```

Example: sports markets that end in the next 24 hours.

```json
{ "categories": ["sports"], "endsWithinHours": 24, "maxMarkets": 1000 }
```

### Output

One row per market. Main fields:

- `question`, `outcome`, `eventTitle`, `category`, `subcategory`, `marketType`, `status`
- `impliedProbability` (midpoint of best bid and ask, 0 to 1), `bestBid`, `bestAsk`, `spread`
- `lastTradePrice`, `currentPrice`, `settlementPrice`, `sharesTraded`, `openInterest`, `bidDepth`, `askDepth`
- `longOutcome`, `longPrice`, `shortOutcome`, `shortPrice` (the two sides as Polymarket US shows them)
- For asset price markets: `assetSymbol`, `assetClass`, `assetMarketType` (up_down, above_below, range, one_touch), `assetHorizon`, `priceToBeat`, `strike`, `rangeLower`, `rangeUpper`, `direction`, `windowStart`, `windowEnd`
- `startDate`, `endDate`, `url`, `marketSlug`, `eventSlug`, `marketId`, `eventId`, `tickSize`, `feeCoefficient`, `updatedAt`, `scrapedAt`

Prices are in US dollars per share, between 0 and 1, so a price of 0.62 means the market puts the chance at about 62%. Fields the exchange does not publish for a market are `null`. A market with no trades yet has empty volume and open interest.

A real row from a run on 11 November 2026 (shortened):

```json
{
  "question": "Silver Up or Down Daily",
  "category": "finance",
  "subcategory": "COMMODITY",
  "status": "open",
  "assetClass": "commodity",
  "assetSymbol": "silver",
  "assetMarketType": "up_down",
  "assetHorizon": "1d",
  "priceToBeat": 51.499,
  "windowStart": "2026-11-11T23:15:00Z",
  "windowEnd": "2026-11-12T22:00:00Z",
  "bestBid": 0.01,
  "bestAsk": 0.99,
  "impliedProbability": 0.5,
  "sharesTraded": 0,
  "endDate": "2026-11-12T22:30:00Z",
  "url": "https://polymarket.us/event/silver-updown-1d-2026-11-11-2315z",
  "scrapedAt": "2026-11-11T23:31:28.727712+00:00"
}
```

Only a handful of gold and silver markets are open at any one time (four at the time of that run), because each one lasts 15 minutes, an hour or a day. Schedule the Actor if you want every window.

### Polymarket US is not polymarket.com

Polymarket runs two venues. This Actor covers **Polymarket US** (`polymarket.us`), the regulated exchange for US customers, with its own markets, prices and API. Most other Polymarket scrapers read the international site, so their data does not include these markets.

### Behaviour and limits

- Uses only the public market data endpoints that Polymarket US documents as needing no API key. It never places orders and never touches accounts.
- Stays well under the documented limit of 25 requests a second, retries on rate limits and identifies itself with a descriptive User-Agent.
- If the market list cannot be read, the run fails with a clear message. If only the extra stats call fails for a market, the row is kept with those fields empty.
- The exchange lists tens of thousands of open markets (78,063 on 11 November 2026), many of them sports. Use `categories`, `assets` or `search` to keep runs small.
- This is market data, not advice. Check the exchange before acting on any price. Not affiliated with Polymarket.

### FAQ

**Do I need a Polymarket account or API key?** No. The Actor reads public market data only.

**How fresh is the data?** Each run reads the live API, so prices are as of the run time (see `scrapedAt`).

**Can I get historical prices?** Schedule the Actor (for example every 15 minutes) and keep each run's dataset, or compare runs to see how odds moved.

**Does it work for Kalshi or polymarket.com?** No. It covers Polymarket US only.

Built by Thomas Jacks with Claude Code.

# Actor input Schema

## `categories` (type: `array`):

Keep only markets in these categories. Gold and silver markets are in finance. Leave empty for finance and crypto.

## `assets` (type: `array`):

Keep only markets on the spot price of these assets: Up or Down, above or below, range and one-touch markets. Gold and silver markets were listed on 22 October 2026.

## `search` (type: `string`):

Full-text search across events and markets, for example 'fed rate' or 'super bowl'. When set, categories are ignored.

## `status` (type: `string`):

Open markets, closed (settled) markets, or both.

## `endsWithinHours` (type: `integer`):

Keep only markets whose end date is within this many hours from now. Leave empty for no limit.

## `includeMarketStats` (type: `boolean`):

Adds last trade price, shares traded, open interest and book depth. One extra request per market.

## `includeDescription` (type: `boolean`):

Add each market's full description, which states how it settles.

## `maxMarkets` (type: `integer`):

Stop after this many markets.

## Actor input object example

```json
{
  "categories": [
    "finance",
    "crypto"
  ],
  "assets": [],
  "search": "",
  "status": "open",
  "includeMarketStats": true,
  "includeDescription": false,
  "maxMarkets": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "categories": [
        "finance",
        "crypto"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thomasjacks/polymarket-us-markets").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "categories": [
        "finance",
        "crypto",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("thomasjacks/polymarket-us-markets").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "categories": [
    "finance",
    "crypto"
  ]
}' |
apify call thomasjacks/polymarket-us-markets --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thomasjacks/polymarket-us-markets"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/trDyzTevw0GJPmKCj/builds/uS7CKfzQxixNk0eG5/openapi.json
