API Endpoints

Complete reference for all available API endpoints.

Base URL: https://api.predikt.fun/api/v1

Price API

Real-time and historical VWAP prices from multiple sources.

View details →
GET/price/:symbolOrMint
Get current price for a symbol or mint address
POST/price/batch
Get prices for multiple symbols

AI Resolution API

AI-powered market resolution with multi-model consensus.

View details →
POST/ai/resolve
Request AI resolution for a market
GET/ai/request/:requestId
Get resolution result

Scheduled Jobs

Schedule price checks and AI resolutions for future execution.

View details →
POST/price/schedule
Schedule a price check
POST/ai/schedule
Schedule an AI resolution
GET/price/scheduled
List scheduled price jobs
GET/ai/scheduled
List scheduled AI jobs
POST/price/scheduled/:jobId/cancel
Cancel a scheduled price job
POST/ai/scheduled/:jobId/cancel
Cancel a scheduled AI job

Historical Data

Access historical price data and snapshots.

View details →
GET/historical/price/:symbol
Get historical prices

Market Data

Access comprehensive market data including orderbooks, positions, curator staking, and predictions.

View details →
GET/markets
List all markets
GET/markets/:marketId
Get extended market details with orderbooks, positions, staking, and predictions

API Keys

Manage API keys for authentication.

View details →
GET/keys
List all API keys
POST/keys
Create a new API key
PATCH/keys/:keyId
Update an API key
DELETE/keys/:keyId
Revoke an API key
POST/keys/:keyId/rotate
Rotate an API key

Account & Usage

These endpoints are used by the dashboard and are available for programmatic access.

GET/account
Get account info
GET/account/tier
Get tier info
GET/account/deposit-info
Get deposit address and instructions
GET/usage
Get usage statistics
GET/usage/history
Get request history
GET/pricing
Get current API pricing (public)

Common Response Fields

All successful responses include these fields:

FieldTypeDescription
costUsdstringCost of the request in USD
timestampstringISO 8601 timestamp