About Us Features Compare Pricing FAQ Return home
Predicue / API Documentation

API documentation

A complete reference to REST API Predicue. Build your own integrations, automate workflows, and programmatically access all platform data.

API version v1.4.0
Base URL api.predicue.ai/v1
Protocol HTTPS only
Table of contents
  1. Authentication
  2. Betting restrictions
  3. Markets
  4. Scanner
  5. Briefcase
  6. Briefings
  7. Alerts
  8. Watchlist
  9. Webhooks
  10. Error Handling
  11. SDK and libraries
Section 01

Authentication

All API requests require a bearer token. Generate your API key in the Predicue dashboard under Settings → API Keys. Include it in every request header:

Authorization: Bearer YOUR_API_KEY

API keys are tied to your account and inherit your subscription level restrictions. Never expose your API key in client code or public repositories. Change your keys immediately if they are compromised.

You can create up to 5 API keys per account. Each key can be individually revoked from the control panel. Keys do not expire unless manually revoked.

Section 02

Betting restrictions

PlanDaily limitPer minute limitBurst
Trial100 requests/day10 requests/minNo
About10,000 requests/day100 requests/min200 requests/min for 1 min.
EliteUnlimited1000 requests/min5000 requests/min for 1 min.

Rate limit headers are included in each answer: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. When throttling, the API returns HTTP 429 s Retry-After title.

Section 03

Markets

GET /v1/markets

Returns a page-by-page list of all active prediction markets with current prices, volumes, and probability data.

Request parameters:

GET /v1/markets/:id

Returns detailed information for a single market, including historical price data, liquidity depth, settlement criteria, and related markets. :id Parameter—Polymarket condition identifier.

Section 04

Scanner

GET /v1/scanner

Returns the current edge candidates and probabilistic deviations detected by our AI models. Each signal includes:

Request parameters: min_confidence (integer, 0–100), signal_type (thread), category (thread), limit (integer, default 10).

Section 05

Briefcase

GET /v1/portfolio/analysis

Analyzes your connected portfolio for concentration risk, correlation exposure, hedging opportunities and gain and loss attribution. A connected Polymarket account is required.

The answer includes:

Section 06

Briefings

GET /v1/briefings

Returns the briefings you created. Each briefing includes market overviews, portfolio insights and actionable recommendations.

Request parameters: from (ISO date), to (ISO date), limit (integer, default 10).

GET /v1/briefings/:date

Returns the briefing for a specific date (format: YYYY-MM-DD). Returns 404 if no briefing exists for this date.

Section 07

Alerts

GET /v1/alerts

Returns a history of alerts, including probability changes, volume jumps, and portfolio alerts.

Request parameters: type (thread), from (ISO date), to (ISO date), limit (integer, default 20).

POST /v1/alerts/config

Update your alert configuration. Accepts a JSON body with alert settings, including thresholds, delivery methods (email, push notifications, in-app), and alert types enabled.

Section 08

Watchlist

GET /v1/watchlist

Returns the current watchlist with real-time price data for each monitored market.

POST /v1/watchlist

Add markets to your watchlist. Accepts a JSON body: { "market_ids": ["id1", "id2"] }.

DELETE /v1/watchlist/:id

Remove a market from your watchlist based on its state ID.

Section 09

Webhooks

Pro and Elite users can configure webhooks for real-time event notifications. Webhooks are sent as POST requests to a configured URL with a JSON payload.

Supported Events:

Configure endpoints in Settings → Webhooks in the dashboard. Each webhook includes a signature header (X-Predicue-Signature) to check the payload.

Section 10

Error Handling

The API uses standard HTTP status codes:

CodeMeaningAction
200SuccessProcess response
400Invalid requestCheck your settings
401UnauthorizedCheck your API key
403ProhibitedCheck your subscription level
404Not foundCheck the resource ID
429Limited ratePlease wait and try again after Retry-After
500Server errorRetry with exponential backoff

All errors return a JSON body with error (string code) and message (readable description).

Section 11

SDK and libraries

Official SDKs are available for:

Community maintained libraries exist for Rust, Ruby and PHP. Installation instructions and examples can be found on our GitHub organization.