# Hyperliquid Outcome Markets Scraper: HIP-4 Prices & Odds (`forgedata/hyperliquid-outcome-markets`) Actor

Scrape every live Hyperliquid outcome market (HIP-4): prices, odds and order books for NFL and soccer games, BTC and stock price markets, Fed decisions and IPOs. No wallet or login.

- **URL**: https://apify.com/forgedata/hyperliquid-outcome-markets.md
- **Developed by:** [Data Forge](https://apify.com/forgedata) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Hyperliquid Outcome Markets Scraper: HIP-4 Prediction Market Prices

Scrape **every live Hyperliquid outcome market (HIP-4)** in one run: NFL, college football and soccer games, spreads and totals, season winners, crypto and stock price binaries (BTC, ETH, HYPE, S\&P 500, NVIDIA), Fed rate decisions and IPO markets. For each market you get a **readable title, both sides' prices, the implied probability, best bid and ask, book depth** and the close time. Optional 24-hour volume. Export to JSON, CSV or Excel, or call it from the API. **$2 per 1,000 results.** No wallet, no login, no API key.

The first and only Hyperliquid outcome markets scraper on Apify.

### Why use it

- **Readable markets, not raw codes.** Hyperliquid stores outcome markets as coded templates like `#185510` and `participantA:...|scheduledStart:20261101-1800`. This actor turns them into plain questions such as "Indianapolis Colts vs Jacksonville Jaguars: who wins?" with the right side names.
- **Both sides priced.** Mid prices for side A and side B, plus best bid, best ask, sizes, spread and depth from the live order book.
- **Multi-outcome markets grouped.** Soccer match results (team A, team B, draw), season winners and Fed decisions keep their question ID so you can group them.
- **Fast.** Reads Hyperliquid's public API directly; a full run takes about a minute.

### What you can use it for

- **Compare venues:** line Hyperliquid prices up against Polymarket, Kalshi, Gemini or sportsbooks to spot gaps.
- **Trading and market making research:** spreads, depth and implied probabilities across every live outcome market.
- **On-chain analytics:** track how HIP-4 grows: which markets list, how they are priced, where liquidity sits.
- **AI agents and dashboards:** a clean, current feed of on-chain prediction market odds.

### What you get for each market

| Field | Example |
|---|---|
| title | Indianapolis Colts vs Jacksonville Jaguars: who wins? |
| category / sport | Sports / football |
| sideA / sideAPrice | Colts / 0.81 |
| sideB / sideBPrice | Jaguars / 0.19 |
| impliedProbability | 0.81 (side A, bid/ask midpoint) |
| sideABestBid / sideABestAsk / sideASpread | 0.80 / 0.82 / 0.02 |
| sideABidSize / sideAAskSize / sideABookDepth | contracts at the top and in the whole book |
| volume24hContracts / trades24h | optional |
| eventStart / closesAt | game start and market close (UTC) |
| outcomeId / sideACoin / sideBCoin | 18551 / #185510 / #185511 |
| questionId / questionType | groups multi-outcome markets |
| details | every field Hyperliquid publishes for the market |

Prices are in USDC per contract that pays 1, so 0.81 means about an 81% chance.

### How to use it

1. Pick **Categories** (sports, crypto, stocks, economics, companies) or leave empty for all.
2. Optional: **Search** for a word like `BTC`, `Chiefs` or `Anthropic`.
3. Keep **Include order book top** on for bids and asks; turn on **Include 24h volume** if you need it.
4. Set **Max results** and run. Markets are sorted by close time, soonest first.

Schedule it to build your own price history.

### Pricing

**$2 per 1,000 results**, with lower prices on Apify's Bronze, Silver and Gold plans. You pay only for rows saved.

### Is it legal?

The actor reads public market data from Hyperliquid's open info API, the same data any Hyperliquid app or block explorer shows. It needs no wallet or account and collects no personal data. This actor is not affiliated with Hyperliquid. Prediction market prices are not financial advice.

### More from Data Forge

- [Gemini Predictions Scraper](https://apify.com/forgedata/gemini-predictions-scraper): every Gemini prediction market with prices and results
- [Polymarket vs Kalshi API](https://apify.com/forgedata/prediction-markets-api): the same question matched across Polymarket and Kalshi, with price gaps and sportsbook lines

# Actor input Schema

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

Which kinds of outcome markets to include. Leave empty for all.

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

Optional. Only markets whose title mentions this, e.g. BTC, Chiefs, Anthropic, Fed.

## `includeOrderBook` (type: `boolean`):

Best bid and ask, sizes, spread and book depth for each market. Uses the bid/ask midpoint as the implied probability.

## `includeVolume` (type: `boolean`):

Contracts traded and number of trades in the last 24 hours. Slower: about 2 seconds per market.

## `hideExpired` (type: `boolean`):

Skip markets whose close time has passed but are still waiting to settle.

## `maxResults` (type: `integer`):

Maximum markets to save, soonest closing first. You pay only for rows saved.

## Actor input object example

```json
{
  "categories": [],
  "search": "",
  "includeOrderBook": true,
  "includeVolume": false,
  "hideExpired": true,
  "maxResults": 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 = {
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("forgedata/hyperliquid-outcome-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 = { "maxResults": 100 }

# Run the Actor and wait for it to finish
run = client.actor("forgedata/hyperliquid-outcome-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 '{
  "maxResults": 100
}' |
apify call forgedata/hyperliquid-outcome-markets --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,forgedata/hyperliquid-outcome-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/QXj3u6et1uCebOUbf/builds/ilhpTKYnL7Hxuvd9F/openapi.json
