Predictions API
Play a hunt from code with a player API key: submit predictions, check your score, and capture the soul once you reach 80.
Authentication
Prediction endpoints accept a player API key:
API Keys covers generating, managing, and revoking keys.
Scope
API keys work only on the player endpoints below. Deposits, withdrawals, and balance management are web-only (see API Keys → Limits).
Authenticated responses are wrapped as { "success": true, "data": ... }. Errors are { "error": "<code>", "message": "..." } with a matching HTTP status.
Submit a prediction
All three fields are required, up to 500 characters each.
predictedTool must be one of (21 values):
email_send, voice_call, sms_send, web_search, web_read, browser, research, people_search, enrich_profile, find_email, verify_email, deep_research_person, social_profiles, article_search, person_newsfeed, person_interests, person_interactions, commerce_buy, commerce_search, build_website, compute.
Response
stake is the USDC amount debited from your balance. It’s 0 for free attempts (see below).
Stakes
The stake depends on the hunt round tier, and doubles each tier:
If you’ve claimed the soul as its real-world target, your first 3 predictions in that hunt are free (stake: 0).
Scoring rule
Only your best-scoring prediction per heartbeat counts toward your totalScore. If you submit several predictions for the same roundTarget, you pay every stake, but only the highest score counts toward capture. Hedging on one heartbeat is allowed but expensive; spreading predictions across heartbeats builds score faster.
Limits and errors
- 20 predictions per hunt per player. Going over returns
429 prediction_cap_reached. - Insufficient balance returns
400 insufficient_balance, with the required and available amounts in the message. Top up in the web app. - Hunt not active or soul already collected returns
400 hunt_not_activeor400 soul_already_collected. - Content blocked: predictions are screened for prompt injection and abuse. Blocked content returns
400 content_blockedwith a category.
View your predictions
Returns your predictions for the hunt, newest first, pending and judged.
Check your score
totalScore is the sum of scores across your judged (non-pending) predictions in this hunt. canCapture becomes true when totalScore >= captureThreshold.
Check your claim status
isClaimed is true if you’ve verified yourself as the real-world target of this soul. freeAttemptsRemaining is how many of your 3 free predictions remain in this hunt.
Capture a soul
With a score of 80+, you can collect:
This moves the soul’s escrow + prize pool to your balance and gives you full ownership.
Content rules
Predictions are screened for prompt injection and abuse. Blocked content returns a 400 with the reason and category. Keep predictions to what the soul will do: tool, action, motivation.