Skip to content
//Kalshi Scraper example\\

Trending Fed markets with order book, 5 markets

Open prediction markets with order book depth.

Updated November 29, 2026

What this example returns

This example returns up to 5 markets.

The dataset’s “Markets” view shows 13 columns: Market, Outcome, Event, Category, Status, Yes bid ($), Yes ask ($), Last ($), Probability, Volume, Open interest, Closes, and Market page. See every output field.

What each setting does

The input this example runs Kalshi Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search keywords searchQueries

fed

Keywords to search Kalshi for (for example fed, bitcoin, election, highest temperature NYC). Each keyword returns up to 'Max results' markets.

Max results maxItems

5

Maximum markets per keyword, category, link or ticker (or for the trending browse). 0 means no limit.

Default: 20 → this example uses 5

Market status status

Open

Open markets can be traded now. Closed markets stopped trading and wait for settlement; settled markets have a final result.

Sort by sortBy

Trending

Order of keyword, category and browse results (Kalshi orders by event).

Include order book includeOrderBook

Yes

Add the live yes and no bids of every open market (one extra request per market).

Default: No → this example uses Yes

Order book depth orderBookDepth

10

Price levels per side to keep. Kalshi returns at most 100 levels per side.

Candlestick interval candlestickInterval

1 hour

Length of each candle.

Price history days candlestickDays

7

How many days back the candlesticks go (ending now, or at the market's close).

Recent trades per market recentTradesCount

0

Add this many of the latest trades (time, taker side, yes/no price, contracts). 0 turns it off.

.json
{
  "maxItems": 5,
  "status": "open",
  "sortBy": "trending",
  "orderBookDepth": 10,
  "candlestickInterval": "1h",
  "candlestickDays": 7,
  "recentTradesCount": 0,
  "searchQueries": [
    "fed"
  ],
  "includeOrderBook": true
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Marketfrom $0.0006Charged for each Kalshi market saved with its prices, volume, open interest, rules and dates. Order books, candlesticks and trades are included. Empty searches and invalid inputs are free.
  • Actor startfrom $0.003Charged once per run.

Full pricing

When to use this example

From the Kalshi Scraper readme:

How many markets can I get?

As many as Kalshi lists. Set Max results to 0 for no limit; keyword, category and ticker inputs page through all results.

Other ways to run Kalshi Scraper

All examples of Kalshi Scraper

About Kalshi Scraper

Scrape Kalshi prediction markets by keyword, category, link or ticker: yes/no bid and ask, last price, volume, open interest, rules and close time, plus optional order books, candlestick price history and recent trades. No login needed.

Price:
From $0.60 / 1,000 results
Developer:
Querystone
Categories:
News, Developer tools, Other

Kalshi Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.