+-+-+ +-+ +-+-+-+-+
|G|O| |4| |H|I|V|E|
+-+-+ +-+ +-+-+-+-+

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

HivePredict Public API Is Live

BY: @hivepredict | CREATED: Feb. 27, 2026, 4:11 a.m. | VOTES: 26 | PAYOUT: $1.71 | [ VOTE ]

HivePredict now has a public, read-only API for anyone building on Hive.

If you run a frontend, analytics site, dashboard, bot, or community tool, you can now pull markets and platform data directly from https://hivepredict.app/api/....

This API is designed for integration:

Base URL

https://hivepredict.app

Quick Start

Discover the API surface

curl -s https://hivepredict.app/api/public | jq

Check service health

curl -s https://hivepredict.app/api/health | jq

Load newest open markets

curl -s "https://hivepredict.app/api/markets/new?limit=5" | jq

Core Endpoints

Market feeds

Common query params:

Examples:

# Open sports markets, ending soon
curl -s "https://hivepredict.app/api/markets/open?category=sports&sort=ending_soon&limit=20" | jq

# Recently resolved HIVE markets
curl -s "https://hivepredict.app/api/markets/resolved?token=HIVE&limit=20" | jq

Market detail

Example:

MARKET_ID="24d7cdc5-88e7-4b1c-934f-039d363c4ef9"
curl -s "https://hivepredict.app/api/markets/${MARKET_ID}" | jq

Activity + users

Example:

# Latest resolution + payout events
curl -s "https://hivepredict.app/api/activity?types=market_resolved,payout_sent&limit=50" | jq

Platform endpoints

Integration Examples

Example: show a “Trending Markets” widget in JavaScript

const res = await fetch('https://hivepredict.app/api/markets/trending?limit=6');
const data = await res.json();

for (const market of data.markets) {
  console.log(`${market.title} -> /markets/${market.id}`);
}

Example: build a profile panel in Python

import requests

username = "tehox"
profile = requests.get(f"https://hivepredict.app/api/users/{username}").json()
preds = requests.get(f"https://hivepredict.app/api/users/{username}/predictions?limit=10").json()

print("user:", profile["user"]["hiveUsername"])
print("win rate:", profile["stats"]["winRate"])
print("recent predictions:", len(preds["predictions"]))

Example: market URL generation

Use:

URL pattern:

Read-only by design

The public API is read-only.

This unlocks:

Over time the API will be improved depending on use cases and analytics. So some things might be subject to change, but they will be versioned accordingly and communicated well in advance if any breaking changes are introduced.

If you build something with it, tag @hivepredict on Hive. We want to highlight ecosystem integrations.

TAGS: [ #hive ] [ #hivepredict ] [ #predictionmarkets ] [ #web3 ] [ #blockchain ] [ #crypto ] [ #blog ]

Replies

NO REPLIES FOUND.

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>