Skip to main content

Datasets Endpoint

GET /v1/datasets/{exchange}/{dataset}

Download metadata datasets. Returns a redirect to a pre-signed download URL.

No Authentication Required

This endpoint is publicly accessible and does not require an API key.

Updated Daily

Datasets are regenerated daily after midnight UTC. They are not real-time.

Path Parameters

ParameterTypeRequiredDescription
exchangestringYesExchange name (e.g., polymarket)
datasetstringYesDataset name (see below)

Available Datasets

DatasetDescriptionSchema
marketsMarket metadata (slug, question, outcomes, etc.)Markets Schema
tagsTag definitions for market categorizationTags Schema

Response

Success (302 Redirect)

Returns an HTTP 302 redirect to a pre-signed S3 URL. The file is in Apache Parquet format.

Errors

StatusErrorDescription
404Not FoundUnknown exchange or dataset

Examples

Download with curl

curl -L "https://api.telonex.io/v1/datasets/polymarket/markets" -o markets.parquet

Download with Python

import pandas as pd

df = pd.read_parquet("https://api.telonex.io/v1/datasets/polymarket/markets")
print(f"Found {len(df)} markets")

Using the Python SDK

from telonex import get_markets_dataframe

df = get_markets_dataframe(exchange="polymarket")
print(df[['slug', 'question']].head())