API ReferenceEvents & Series
Fetch venue-native metadata for one event (Kalshi only; not router).
const url = 'https://data.predictefy.com/api/example/fetchEventMetadata?eventId=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://data.predictefy.com/api/example/fetchEventMetadata?eventId=example' \ --header 'Authorization: Bearer <token>'Fetches Kalshi's anonymous GET /trade-api/v2/events/{event_ticker}/metadata endpoint. The venue body is passed through unchanged under data.raw; no undocumented metadata fields are normalized. Other known venues answer 501 NOT_SUPPORTED.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Kalshi event metadata under the normalized single-item envelope.
object
object
object
Venue-rest — per-request REST via the venue adapter (the default stamp for every venue).
object
Example
{ "data": { "venue": "kalshi", "provenance": { "source": "venue-rest" } }}VALIDATION_ERROR — missing eventId or router exchange.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}UNAUTHORIZED — platform lane (READS_ENABLE_AUTH)
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}INSUFFICIENT_CREDITS — endpoint-weighted credits
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}SCOPE_MISSING — API key lacks the route's required scope (RBAC v1)
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}EXCHANGE_NOT_AVAILABLE / upstream event NOT_FOUND.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}RATE_LIMITED / upstream RATE_LIMIT_EXCEEDED.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}NOT_SUPPORTED — every known venue except Kalshi.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}Kalshi network/exchange unavailable.
object
object
Always present on errors; quote this id when reporting a failed request.
Present only when a venue error is attributed to a specific exchange.
Example
{ "success": false, "error": { "code": "VALIDATION_ERROR" }}