#!/bin/sh
# getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base.
curl -sS "${TRENDLINE_API_BASE:-https://systems.trendlinelabs.ai}/public/v1/events/ev-btc-100k-2026" \
-H "Authorization: Bearer $TRENDLINE_API_KEY""""getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base."""
import os
import requests
BASE = os.environ.get("TRENDLINE_API_BASE", "https://systems.trendlinelabs.ai")
KEY = os.environ["TRENDLINE_API_KEY"]
r = requests.get(f"{BASE}/public/v1/events/ev-btc-100k-2026", params={},
headers={"Authorization": f"Bearer {KEY}"}, timeout=10)
r.raise_for_status()
print(r.json())
// getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base.
const BASE = process.env.TRENDLINE_API_BASE ?? "https://systems.trendlinelabs.ai";
const KEY = process.env.TRENDLINE_API_KEY;
const r = await fetch(`${BASE}/public/v1/events/ev-btc-100k-2026`, { headers: { Authorization: `Bearer ${KEY}` } });
console.log(r.status, await r.json());
{
"categories": [
"crypto",
"bitcoin"
],
"category_group": "crypto",
"first_seen_at": "2026-09-01T12:00:00.000Z",
"image_url": null,
"is_live": false,
"kalshi_event_ticker": "KXBTC-26DEC31",
"last_seen_at": "2026-10-06T05:59:30.000Z",
"limitless_event_id": null,
"liquidity_usd": 412000,
"markets": [
{
"deadline_at": "2026-12-31T23:59:59.000Z",
"kalshi_market_ticker": "KXBTC-26DEC31-B100000",
"limitless_market_id": null,
"poly_market_slug": "bitcoin-above-100k-on-december-31",
"predictfun_market_id": null,
"price_24h_change_by_platform": {
"kalshi": 0.02,
"polymarket": 0.01
},
"source_lanes": [
"kalshi",
"polymarket"
],
"status": "active",
"title": "Bitcoin above $100k on December 31?",
"universal_id": "mk-btc-100k-2026",
"venue_details": {
"kalshi": {
"close_time": "2026-12-31T23:59:59Z",
"liquidity_raw": 152000,
"open_time": "2026-09-01T12:00:00Z",
"rules_primary": "Resolves YES if the reference price is above $100,000 at the close.",
"rules_secondary": null,
"url": "https://kalshi.com/markets/kxbtc",
"volume_24h": 20211,
"yes_sub_title": "Above $100,000"
},
"limitless": null,
"polymarket": {
"best_bid": 0.44,
"description": "Resolves YES if Bitcoin trades above $100,000 on December 31.",
"end_date": "2026-12-31T23:59:59Z",
"liquidity": 260000,
"resolution_source": "https://example.com/btc-index",
"start_date": "2026-09-01T12:00:00Z",
"url": "https://polymarket.com/event/bitcoin-above-100k-on-december-31",
"volume_24h": 30000
},
"predictfun": null
},
"volume_24h_by_platform": {
"kalshi": 20211,
"polymarket": 30000
},
"volume_24h_usd": 50211,
"volume_by_platform": {
"kalshi": 734201.5,
"polymarket": 1100000
},
"volume_usd": 1834201.5,
"yes_subject": "Bitcoin above $100k"
}
],
"platform_count": 2,
"poly_event_slug": "bitcoin-above-100k-on-december-31",
"predictfun_event_id": null,
"resolution_date": "2026-12-31T23:59:59.000Z",
"source_lanes": [
"kalshi",
"polymarket"
],
"status": "active",
"title": "Bitcoin price at year end",
"total_volume_usd": 1834201.5,
"universal_id": "ev-btc-100k-2026"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Get one event with its markets
One event with its markets; 404 for an unknown id, 503 when event data is unavailable.
#!/bin/sh
# getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base.
curl -sS "${TRENDLINE_API_BASE:-https://systems.trendlinelabs.ai}/public/v1/events/ev-btc-100k-2026" \
-H "Authorization: Bearer $TRENDLINE_API_KEY""""getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base."""
import os
import requests
BASE = os.environ.get("TRENDLINE_API_BASE", "https://systems.trendlinelabs.ai")
KEY = os.environ["TRENDLINE_API_KEY"]
r = requests.get(f"{BASE}/public/v1/events/ev-btc-100k-2026", params={},
headers={"Authorization": f"Bearer {KEY}"}, timeout=10)
r.raise_for_status()
print(r.json())
// getEvent: Get one event with its markets. Needs TRENDLINE_API_KEY; TRENDLINE_API_BASE overrides the base.
const BASE = process.env.TRENDLINE_API_BASE ?? "https://systems.trendlinelabs.ai";
const KEY = process.env.TRENDLINE_API_KEY;
const r = await fetch(`${BASE}/public/v1/events/ev-btc-100k-2026`, { headers: { Authorization: `Bearer ${KEY}` } });
console.log(r.status, await r.json());
{
"categories": [
"crypto",
"bitcoin"
],
"category_group": "crypto",
"first_seen_at": "2026-09-01T12:00:00.000Z",
"image_url": null,
"is_live": false,
"kalshi_event_ticker": "KXBTC-26DEC31",
"last_seen_at": "2026-10-06T05:59:30.000Z",
"limitless_event_id": null,
"liquidity_usd": 412000,
"markets": [
{
"deadline_at": "2026-12-31T23:59:59.000Z",
"kalshi_market_ticker": "KXBTC-26DEC31-B100000",
"limitless_market_id": null,
"poly_market_slug": "bitcoin-above-100k-on-december-31",
"predictfun_market_id": null,
"price_24h_change_by_platform": {
"kalshi": 0.02,
"polymarket": 0.01
},
"source_lanes": [
"kalshi",
"polymarket"
],
"status": "active",
"title": "Bitcoin above $100k on December 31?",
"universal_id": "mk-btc-100k-2026",
"venue_details": {
"kalshi": {
"close_time": "2026-12-31T23:59:59Z",
"liquidity_raw": 152000,
"open_time": "2026-09-01T12:00:00Z",
"rules_primary": "Resolves YES if the reference price is above $100,000 at the close.",
"rules_secondary": null,
"url": "https://kalshi.com/markets/kxbtc",
"volume_24h": 20211,
"yes_sub_title": "Above $100,000"
},
"limitless": null,
"polymarket": {
"best_bid": 0.44,
"description": "Resolves YES if Bitcoin trades above $100,000 on December 31.",
"end_date": "2026-12-31T23:59:59Z",
"liquidity": 260000,
"resolution_source": "https://example.com/btc-index",
"start_date": "2026-09-01T12:00:00Z",
"url": "https://polymarket.com/event/bitcoin-above-100k-on-december-31",
"volume_24h": 30000
},
"predictfun": null
},
"volume_24h_by_platform": {
"kalshi": 20211,
"polymarket": 30000
},
"volume_24h_usd": 50211,
"volume_by_platform": {
"kalshi": 734201.5,
"polymarket": 1100000
},
"volume_usd": 1834201.5,
"yes_subject": "Bitcoin above $100k"
}
],
"platform_count": 2,
"poly_event_slug": "bitcoin-above-100k-on-december-31",
"predictfun_event_id": null,
"resolution_date": "2026-12-31T23:59:59.000Z",
"source_lanes": [
"kalshi",
"polymarket"
],
"status": "active",
"title": "Bitcoin price at year end",
"total_volume_usd": 1834201.5,
"universal_id": "ev-btc-100k-2026"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
Authorization: Bearer tl_live_…
Path Parameters
the event universal id, from /public/v1/events or search
Response
Successful Response
true while the event is in progress
how many venues list the event
the event universal id
the event's categories
the broad category group
when the event was first seen, ISO 8601
an image for the event, when a venue publishes one
the Kalshi event ticker, when Kalshi lists the event
when the event was last seen on a venue, ISO 8601
the Limitless event id, when Limitless lists the event
liquidity in USD across the event's markets, on every venue we track
the active markets, then up to 6 recently resolved ones
Show child attributes
Show child attributes
the Polymarket event slug, when Polymarket lists the event
the predict.fun event id, when predict.fun lists the event
when the event resolves, ISO 8601
the venues this event was matched from
the event's status
the event title
total traded volume in USD across the event's markets, on every venue we track