Skip to content

GuidesTrading & accounts

Predictefy’s execution API is isolated from the reads API. SDK users opt in with the exported PREDICTEFY_EXEC_BASE_URL; direct HTTP clients can copy the execution origin from the developer dashboard.

The service never holds user funds or persists user credentials. It builds an unsigned or authless venue-shaped artifact and validates that stored artifact against venue-specific bounds before relay. Wallet integrations use your signer callback in your own process. PredictStreet verifies that signature against the server-stored digest before reading one caller API key for relay. Myriad likewise recovers its EOA signature before HMAC-authenticating one exact order request with the caller’s key and secret. Gemini is the explicit no-wallet-signature exception: it HMAC-authenticates one bounded private REST request with the caller’s transient key and secret. Polymarket US creates only the venue’s fixed Ed25519 request-auth signature from the caller’s transient key id and secret. Novig relays one server-built request with the caller’s transient account access token. All five discard credentials and generated headers immediately. Funds remain in the caller’s wallet or venue account, and there is no generic server-side wallet or order-signing route.

Start with GET /v1/exec/venues: the live list for the API you are calling, and the one to re-check immediately before integrating, since availability can change independently of this guide. An implementation below may still be absent, geo-blocked, or fail closed when it is not enabled. The static tables explain what a builder must integrate when a capability is listed.

Predictefy never stores private signing keys and never signs for the caller. Every wallet, order, or transaction signature is created client-side. Server-built means that Predictefy performs the order math and returns a signable or authless EIP-712 artifact, transaction, or binary permit; it does not mean server-side signing. Your wallet or agent key never transits Predictefy. Some venues require API credentials for relay, cancellation, or status reads. Gemini and Myriad HMAC secrets, Polymarket US’s Ed25519 secret, and Novig account access tokens create request authentication in-process only after artifact validation. These transient values are immediately discarded and never persisted or logged. Pascal needs no relay credential; its private trading key remains client-side.

Before funding: prerequisites for every enabled hosted venue

Section titled “Before funding: prerequisites for every enabled hosted venue”

Fourteen venues are enabled for hosted trading: Gemini, Hyperliquid, Kalshi, Limitless, Myriad, Novig, Opinion, Pascal, Polymarket, Polymarket US, Predict.fun, PredictStreet, Rain, and XO. PRED appears below for reference only: it is not served.

Every cell reflects the best available venue evidence and Predictefy’s non-custodial funding model. Where Predictefy has no verified information on a prerequisite, the table says verify with venue.

Venue and current stateAccount or transient credentials neededWallet, signer, or smart wallet neededGeo constraint before fundingFunding path
Hyperliquid — enabledNo caller API credential. Approve a browser/mobile agent with the master wallet first, or sign directly with the master.EVM master wallet or approved EVM agent signs the phantom L1 EIP-712 action.Verify with venue. Predictefy has no verified country rule for this venue; confirm with the venue.Land USDC in Hypercore spot through POST /v1/bridge/session. HIP-4 spends spot USDC total - hold; the funding-steps route reports readiness and returns no internal-transfer step.
Kalshi — enabled; official RESTFunded Kalshi account. The caller supplies apiKeyId + RSA privateKeyPem for each submit, cancel, or status refresh; optional subaccount on submit must be a non-negative integer. Predictefy uses them in memory for that one request and never stores or logs them.No order-body or on-chain signer; Predictefy creates RSA-PSS auth for one fixed official V2 REST method and path.Eligibility is venue-controlled and location-dependent; verify account access before funding.Fund the regulated Kalshi USD account through venue rails. The venue holds the balance; no Solana USDC, SOL, or Predictefy escrow is involved.
Limitless: enabled, geo-gatedNo caller API credential or profileId; Predictefy holds the partner HMAC credential.Base EOA signs the order.Verified: restricted network paths receive 403 GEO_BLOCKED, including on status reads. A trusted geo edge and venue eligibility are required.Hold Base USDC in the EOA and approve the market exchange; LI.FI can fund the wallet.
Opinion — enabled, eligible relayHosted build/submit uses Predictefy’s builder key; a caller user API key is needed for hosted cancel/status. The direct SDK path keeps that key in-process.BSC EOA signs; an Opinion Safe may be the type-2 maker controlled by that EOA.Hosted requests use eligible regional egress and reach the venue. A live credentialed submit is not yet verified on that path; venue jurisdiction rules still apply.Hold the market-authoritative BSC quote token in the maker EOA/Safe and approve the exact exchange; the current documented route is BSC USDT through LI.FI.
Polymarket — enabled, eligible relayThe direct SDK path derives or accepts the CLOB key, secret, and passphrase locally. The hosted path accepts the triple per request.Polygon EOA signs; an EOA, Proxy, or Safe may hold funds according to signature type 0/1/2.Hosted requests use eligible regional egress and reach the venue. A live credentialed submit is not yet verified on that path; venue jurisdiction rules still apply.Hold Polygon pUSD and approve the V2 CTF or NegRisk exchange. LI.FI can fund pUSD; the documented steps wrap existing USDC.e.
Predict.fun — enabled, eligible relayHosted submit/cancel/status needs the caller session bearer. The direct SDK path keeps the venue API key and wallet key in-process.BSC EOA only; Safe/proxy identity is rejected.Hosted requests use eligible regional egress and reach the venue. A live credentialed submit is not yet verified on that path; venue jurisdiction rules still apply.Hold BSC USDT and approve the market-selected exchange; LI.FI can fund the wallet.
Rain: enabledNo caller venue credential. Verify with venue whether account registration is required.Arbitrum EOA signs and broadcasts the returned transaction.Verify with venue. Predictefy has no verified country rule for this venue; confirm with the venue.Hold Arbitrum USDT and approve the per-market Diamond; LI.FI can fund the wallet.
XO: enabledCaller-owned XO CLOB API key, secret, and passphrase are required at submit.Chain-3223 XO smart account only (signatureType: 3, maker == signer). The hosted build refuses type 0; a version-2 type-0 artifact can still be canceled or refreshed, but not submitted.Verify with venue. Eligibility remains your compliance responsibility.Hold six-decimal Bridged USDC (XO) and approve the verified exchange. No hosted helper exists; the deposit route is verify with venue.
Gemini — enabledFunded account, accepted terms, and a Trader key/secret with time-based nonce enabled, heartbeat disabled, and trusted-IP mode Unrestricted.No order-body signer; Predictefy HMAC-authenticates one bounded request.Verify with venue. Predictefy has no verified country list for this venue; confirm with the venue.Fund the Gemini venue account through Gemini rails. Predictefy has no verified chain or collateral token for this venue.
PredictStreet: enabledCaller API key plus an existing caller-specific vault.ADI Chain EOA signs a VAULT-type order.Verify with venue. Eligibility remains your compliance responsibility.Approve and deposit ADI-chain USDC.e into the caller vault. No hosted funding helper exists.
Polymarket US — enabledIdentity-verified, funded venue account plus caller UUID key ID and base64 Ed25519 API secret.No order-body signer; the Ed25519 secret is request auth, not a Solana wallet key.Verify with venue for account and geographic eligibility.Fund the venue-custodied account through regulated in-venue rails; no crypto bridge helper exists.
Pascal: enabledEligible Pascal account/custody wallet; use the registered wallet key or a revocable delegated trading key. No relay credential.Solana-format Ed25519 signer signs the exact permit bytes.Terms restrict Australia, Belgium, France, Germany, Italy, the Netherlands, Ontario, Poland, Quebec, Russia, Singapore, Taiwan, Thailand, the UK, the US, and comprehensively sanctioned jurisdictions including Iran, Syria, Cuba, North Korea, Crimea, Donetsk, and Luhansk.Use the existing Pascal custody wallet. The collateral asset and deposit route are verify with venue; no hosted helper exists.
PRED: not served; reference onlyThe venue confirmed that Predictefy platform-key submissions for caller-owned Safes are refused. The documented shape accepts a caller API key and access/refresh JWTs only for an independently arranged caller-owned path.Caller-owned Base Safe is maker; a distinct controlling EOA signs type 2.The venue restricts the US, UK, France, Ontario, Singapore, Poland, Thailand, and Taiwan and prohibits location masking.Do not fund for hosted submit. The collateral asset and Safe funding/enablement route are unverified and no hosted helper exists.
Myriad — enabledWallet-bound Myriad API key and secret plus the connected EOA; bare credentials are unsupported.BSC EOA signs type 0; Safe/proxy identity is unsupported.Verify with venue. Predictefy has no verified country rule for this venue; confirm with the venue.Hold manager-selected 18-decimal BSC USD1 or USDT and approve collateral or outcome shares to the exchange. No hosted helper exists.
Novig — enabledCaller-owned Novig account access token for submit, cancel, and refresh. Predictefy’s platform OAuth credentials are used only for build-time venue reads.No wallet or order-body signature. Predictefy stores an exact authless REST artifact.Production venue endpoints require US egress. Account and jurisdiction eligibility remain venue-controlled.Fund the venue-custodied USD account through Novig’s regulated banking rails; no crypto bridge helper exists.

Every row above covers getting funds in. Getting them out is always the venue’s own rail: Predictefy publishes no withdrawal and no bridge-out endpoint, so a balance at one venue cannot be moved to another through this platform. That is the no-escrow custody posture — the platform never holds the funds — and unified cross-venue funding is roadmap, not a shipped capability. See Accounts & funding for each venue’s exit path, including Hyperliquid’s Arbitrum-only two-leg withdrawal.

Polymarket, Opinion, and Predict.fun order-build responses include a top-level warnings advisory before funding or signing. It says hosted requests use eligible regional egress and reach the venue, while a live credentialed submit on that path remains unverified and venue jurisdiction rules still apply. PRED’s execution service is not served because the venue refuses platform-key submissions for caller-owned Safes. Its build and signing contract remains documented, but there is no supported hosted credential path; only callers with their own independently arranged PRED access can use that source integration.

FamilyVenuesWhat the builder adds
Server-built orderHyperliquid, Limitless, Polymarket (V2), Opinion, Predict.fun, Myriad, XO, PRED (not served), PredictStreet, PascalSend plain order parameters and the signing owner. Predictefy fixes the remaining order fields and returns the signable EIP-712 artifact or Pascal binary permit.
Server-built transit-auth orderGemini, NovigSend plain catalog-bound order parameters. Predictefy stores the exact authless venue body; submit authenticates it once with the caller’s transient HMAC credentials or account access token.
Client-echoed venue SDK orderPolymarket (V2 EOA echo), Opinion and Predict.fun (legacy)Existing integrations may send the venue’s exact order, EIP-712 domain, and structHash as buildResult. Polymarket requires the V2 order contract; Opinion and Predict.fun retain their legacy venue-specific shapes.
Raw/structured chain intentRainRain returns an unsigned chain transaction for client signing.
Stateless venue RESTKalshi, Polymarket USSend normalized catalog ids, side, contract quantity, and price. Predictefy stores an exact authless venue body; submit/refresh accepts caller credentials only for that request, and Kalshi cancel does the same.
Venue and current stateWhat you add before or during buildWhat you sign and whereCredentials you must holdFunding model and external prerequisites
Hyperliquid — enabled: build + submit + cancel + modify + approveAgentasset, or outcome + outcomeSide, plus isBuy, price, size, and owner.L1 order/cancel/modify action under the phantom EIP-712 Exchange v1 domain.Master wallet and optional approved agent key stay client-side; no venue API key.Spend Hypercore spot USDC total - hold; the bridge session can deliver it and the funding-steps route reports readiness only.
Limitless: enabled; geo-gatedowner, tokenId, side/type, marketSlug, price, shares, and any FOK budget; profileId is rejected.EIP-712 CTF order on Base 8453.Base EOA key stays local; Predictefy holds the partner HMAC credential.Base USDC plus exchange approval. Verified: restricted network paths get 403 GEO_BLOCKED, including on status reads.
Polymarket — enabled; eligible relayPlain V2 intent or a V2 EOA buildResult.V2 EIP-712 order on Polygon 137; caller-direct SDK remains available.Direct SDK keeps the EOA and CLOB triple local; hosted submit accepts the triple transiently through eligible regional egress.Polygon pUSD plus V2 CTF/NegRisk approval; all traffic remains subject to venue eligibility.
Polymarket US: enabledCatalog marketId + outcomeId, side, type: "limit", amount, and price.No order-body signature; Predictefy creates bounded Ed25519 request auth.Caller UUID key ID and base64 Ed25519 secret transit only for the authenticated call.Funded, identity-verified venue account through in-venue rails; no crypto bridge helper.
XO — enabled: build + submit + cancelOutcome selector, isBuy, price, size, the owner account, and optional expiresAt.13-field EIP-712 CTF order on chain 3223; signatureType defaults to 3 (XO smart account, ERC-1271).Signing key stays local; caller XO CLOB key/secret/passphrase transit submit only.Six-decimal Bridged USDC (XO) plus exchange approval; deposit route unverified and no hosted helper.
PRED: not served; reference onlyOutcome selector, isBuy, price, size, Safe owner, EOA signer, and optional expiresAt.Type-2 EIP-712 order on Base 8453.Platform-key submits for caller Safes are venue-refused. Only an independently arranged caller API key/JWT set could use the source integration.Do not fund for hosted submit. Collateral and Safe funding/enablement route remain unverified.
PredictStreet: enabledOutcome selector, isBuy, price, size, EOA owner, and optional expiry/post-only fields.VAULT EIP-712 order on ADI Chain 36900.EOA key stays local; caller API key transits submit only after signature recovery.Deposit USDC.e into the caller vault; no hosted funding helper.
Pascal: enabledCatalog market, side, direction, price, integer size, custody owner, permit signer, and optional timing fields.Exact Ed25519 place/cancel permit bytes.Wallet or delegated trading key stays local; no relay credential.Existing Pascal custody wallet; collateral asset/deposit route unverified and no hosted helper.
Opinion — enabled; eligible relayPlain outcome intent; type 0 EOA or type 2 Opinion Safe maker.BSC 56 EIP-712 order signed by the controlling EOA.Direct SDK keeps the user API key local; hosted cancel/status accepts it transiently.Market-authoritative BSC quote token plus exchange approval; hosted requests use eligible regional egress.
Predict.fun — enabled; eligible relayPlain outcome intent; EOA type 0 only.BSC 56 EIP-712 order.Direct SDK keeps API key/wallet key local; hosted submit/cancel/status needs a transient session bearer.BSC USDT plus market-selected exchange approval; hosted requests use eligible regional egress.
Kalshi — enabled: official REST build + submit + cancelCatalog outcome selector, isBuy, cent-exact probability price, positive integer size, and optional good-til-cancel time in force.No order-body or on-chain signature; Predictefy RSA-PSS-authenticates only the exact stored official V2 REST request.Caller apiKeyId + RSA privateKeyPem transit only for submit, cancel, or refresh and are discarded; optional non-negative subaccount is submit-only.Fund the regulated Kalshi USD account through venue rails. client.accounts.kalshi remains the venue-custodied native REST path.
Gemini: enabledCatalog selector, direction, price, size, and optional TIF/maker-only fields.No order-body signature; Predictefy HMAC-SHA384 authenticates the stored request.Caller Trader key/secret with time nonce, no heartbeat, and Unrestricted trusted-IP mode.Funded Gemini account and accepted prediction-market terms; no bridge helper.
Novig: enabled: build + submit + cancelCatalog marketId + composite outcomeId, type: "limit", positive amount in contracts, tick-aligned price, and optional CASH/TIF fields.No order-body signature; Predictefy stores the exact authless REST request.Caller account access token transits submit, cancel, and refresh only; platform OAuth credentials serve build-time reads.Funded venue-custodied USD account; venue endpoints require US egress.
Myriad: enabledModel-qualified Order Book outcome, direction, tick-aligned price, size, and EOA owner.BSC 56 MyriadCTFExchange EIP-712 order.EOA key stays local; wallet-bound HMAC key/secret transit submit/cancel only after recovery.Manager-selected 18-decimal BSC USD1 or USDT plus required approval; no hosted helper.
Rain: enabledCatalog-bound approval, limit/market order, or cancel parameters.Raw Arbitrum 42161 transaction; caller signs and broadcasts.No caller venue credential; EOA key/RPC stay local.Arbitrum USDT plus per-market Diamond approval; hosted submit records signed and never claims broadcast.
Venue groupExecution available today
SmarketsNot served for hosted execution. There is no hosted execution service, by deliberate custody choice rather than because of a build gap. A separate venue-direct client-side SDK trading integration is available at client.accounts.smarkets (createOrder and cancelOrder) for customers with their own Smarkets API approval; the account email and password never transit Predictefy. See Smarkets.
SX BetNo hosted execution service. A separate venue-direct client-side SDK trading integration is live at client.accounts.sxbet; signing keys and venue credentials remain in the caller’s process and requests go directly to the venue. See SX Bet.

Send a Predictefy API key as a Bearer token. New API keys carry read by default; opt into trade per key during creation. A key without that scope receives 403 SCOPE_MISSING by design.

Authorization: Bearer pk_live_YOUR_TRADE_SCOPED_KEY

The execution origin is an explicit opt-in in the TypeScript SDK:

import { Predictefy, PREDICTEFY_EXEC_BASE_URL } from '@predictefy/sdk';
const client = new Predictefy({
apiKey: process.env.PREDICTEFY_API_KEY,
execBaseUrl: PREDICTEFY_EXEC_BASE_URL,
});
const openOrders = await client.exec.fetchOpenOrders({ venue: 'hyperliquid' });
console.log(openOrders);

execBaseUrl has no implicit default. The reads API does not proxy execution.

VerbHTTP route or SDK behavior
buildOrderPOST /v1/exec/:venue/orders/build; add dryRun: true for a non-persisted preview
submitOrderPOST /v1/exec/:venue/orders/submit
createOrderSDK composition: buildOrder → client signer callback → submitOrder
cancelOrderPOST /v1/exec/:venue/orders/:executionId/cancel — direct relay or sign → submit, by venue
modifyOrderHyperliquid: POST /v1/exec/:venue/orders/:executionId/modify → sign → submitOrder
fetchOrderGET /v1/exec/:venue/orders/:executionId
refreshOrderStatusPOST /v1/exec/:venue/orders/:executionId/refresh — client-authenticated status read
fetchOpenOrdersGET /v1/exec/:venue/orders?status=open
fetchClosedOrdersGET /v1/exec/:venue/orders?status=closed
fetchAllOrdersGET /v1/exec/:venue/orders?status=all
fetchMyTradesGET /v1/exec/:venue/trades
fetchPositionsGET /v1/exec/:venue/positions
fetchBalanceGET /v1/exec/:venue/balance — honest 501 NOT_SUPPORTED; see limitations below

Every order-building, submission, cancellation, and modification POST requires an Idempotency-Key header. The SDK always sends one and generates a UUID when idempotencyKey is omitted. Direct HTTP clients should persist a stable key with the operation they may retry. refreshOrderStatus is the read-only exception and does not require that header. A dry-run build still requires the header for the route contract, but the service does not look it up, replay it, or bind it. The same key can therefore be used later for the persisted build.

To preview an order, add "dryRun": true to any venue build body. The service still performs trade-scope authentication, catalog market resolution, the venue’s complete artifact construction, and fail-closed artifact bounds checks. It returns dryRun: true, venue, intent, unsigned, notionalUsd, and feeEstimate, but no executionId or status. It stores no execution record and reserves no spend capacity; only a later ordinary build creates intent state.

A catalog-active market is not necessarily executable. For each exact order:

  1. Discover the market through the catalog and confirm that GET /v1/exec/venues currently lists its venue with build: true.
  2. Send the intended build with dryRun: true, or call client.exec.precheckOrder(params). This costs no execution credits, persists nothing, and returns either the existing ExecDryRunBuildResult or a typed refusal.
  3. Only after a pass, send a normal persisted build, sign the returned artifact locally, and submit it. A dry-run preview has no executionId and cannot be submitted itself.
const catalogOutcomeId = '...'; // From a preceding PredictStreet catalog read.
const order = {
venue: 'predictstreet',
asset: catalogOutcomeId,
isBuy: true,
price: 0.42,
size: 10,
owner: '0x...',
};
const precheck = await client.exec.precheckOrder(order);
if (!precheck.ok) {
console.log(precheck.refusal.code, precheck.refusal.retryable);
return;
}
// Build again to create the persisted execution that can be signed and submitted.
const built = await client.exec.buildOrder(order);

precheckOrder returns server-authored API refusals instead of throwing them. A transport or invalid-response failure still throws because the server made no executability decision. retryable means that retrying the same request can reasonably succeed; a non-retryable refusal may still become passable after changing the order, account, venue state, or service configuration.

CodeMeaning during an order dry runRetryableVenues that can emit it
ARTIFACT_BOUNDS_VIOLATIONThe built artifact escaped the service’s registered contract, chain, domain, action, or custom safety bounds.NoEvery enabled hosted service
ARTIFACT_INTEGRITY_MISMATCHA client-echoed buildResult has a structHash that does not bind to its order.NoOpinion, Polymarket, Predict.fun echoed-build paths
EXEC_UNAVAILABLEAPI-key verification or required catalog/live execution truth is unavailable or disagrees, so execution fails closed.YesEvery venue for API-key verification failure; also Gemini, Myriad, Opinion, Pascal, Polymarket, Polymarket US, PRED, Predict.fun, PredictStreet, and XO for venue checks
GEO_BLOCKEDThe trusted caller-country signal is absent or restricted for a geofenced venue.NoLimitless today
IDEMPOTENCY_KEY_REQUIREDA direct HTTP build omitted Idempotency-Key; the SDK always supplies one.NoEvery hosted service
INTERNALAn unexpected, non-authored server failure occurred; quote the request id to support.YesEvery hosted service
MARKET_NOT_FOUNDThe service’s market/outcome selector did not resolve to an item in the venue catalog.NoEvery registered order venue
NOT_IMPLEMENTEDThe venue is registered only for settlement, so its order-building stub refuses honestly.NoRain, Myriad, Polymarket, or Predict.fun when only settlement support is enabled
NOT_SUPPORTEDThe catalog item belongs to a deliberately unsupported execution model.NoMyriad AMM or non-BNB Order Book ids
RATE_LIMITEDThe authenticated execution request exhausted its token bucket.YesEvery hosted service
RAIN_INVALID_AMOUNTRain amount, shares, notional, or quoted proceeds violate the venue’s documented limits.NoRain
RAIN_INVALID_DEADLINERain’s caller-selected deadline offset is outside the accepted range.NoRain
RAIN_INVALID_OPTIONThe Rain option is malformed, zero, or outside the inspected pool’s option range.NoRain
RAIN_INVALID_PRICEThe Rain price is malformed, outside 0.01..0.99, or not on the exact source tick.NoRain
RAIN_INVALID_SIDERain’s option side is not YES/1 or NO/2.NoRain
RAIN_ORDER_LIMIT_REACHEDThe owner already has the source-capped number of active Rain orders for that option and direction.NoRain
RAIN_PHASE_NOT_OPENThe inspected Rain pool phase does not permit the requested order action.NoRain
RAIN_POOL_SAFETY_CHECK_FAILEDRain pool provenance, deployer, facet routing, base token, or catalog binding failed closed; no unsigned transaction is returned.NoRain
RAIN_SLIPPAGE_REQUIREDA protected Rain market order lacks valid nonzero slippage protection or cannot derive a nonzero floor.NoRain
SCOPE_MISSINGThe API key is valid but lacks the required trade scope.NoEvery hosted service
UNAUTHORIZEDThe Predictefy API key is missing, unknown, or revoked.NoEvery hosted service
UNKNOWN_BUILDER_CODEA nonzero Polymarket builder is not a code the venue has registered, or its fee-rate answer is unusable.NoPolymarket
VALIDATION_ERRORThe shared build body or venue-specific order intent is malformed or internally inconsistent.NoEvery hosted service
VENUE_NOT_SUPPORTEDNo execution service is available for the requested venue on this API.NoAny unknown, client-side-only, or currently disabled venue
VENUE_RELAY_FAILEDA required build-time venue API, RPC, quote, or metadata read failed or returned unusable truth.YesKalshi, Myriad, Opinion, Pascal, Polymarket, Predict.fun, PredictStreet, Rain, and XO

A passing dry run proves only that the builder accepts this exact market and order now. It does not guarantee that a later persisted build still passes, that submit credentials or funding are valid, that the venue accepts the relay, or that the order fills.

  1. Run the per-market dry-run precheck above and handle any typed refusal.
  2. Call buildOrder with the same order, a trade-scoped Predictefy key, and an idempotency key.
  3. Inspect the returned unsigned/authless artifact in your process.
  4. For a client-signing integration, sign it with your wallet or venue-specific signer callback. For Gemini or Polymarket US, keep the artifact unchanged and provide only that venue’s transient caller credential at submit.
  5. Call submitOrder with the signed artifact, transient authorization, or client-broadcast digest. The service revalidates the stored artifact, owner binding, bounds, and spend caps before reading transient credentials, relaying, or recording a digest.
  6. Poll fetchOrder. For a user-authenticated venue status read, call refreshOrderStatus first, then use the order and trade list verbs as needed.

Polymarket’s working SDK path intentionally diverges after build: it signs locally, then calls the CLOB directly for submit, status, and cancel. It does not call Predictefy’s hosted submit or refresh routes. See the Polymarket trading guide.

client.exec.createOrder(params, signer) composes steps 2–5 for client-signing integrations; it does not run the precheck automatically. The signer receives only the unsigned artifact and returns venue-shaped signed fields. Private signing keys remain client-side, and Pascal’s trading private key never transits Predictefy. Gemini’s API key/secret, Myriad’s HMAC key/secret, Novig’s account access token, PredictStreet’s API key, legacy hosted Polymarket and XO L2 CLOB credentials, Predict.fun session bearer tokens, Opinion API keys, and Polymarket US Ed25519 credentials transit only when that venue needs them. PRED’s documented partner/JWT shape would do the same only under a caller-owned arrangement; the hosted PRED service is not served. They are not persisted or logged. The venue-direct Polymarket SDK path is the exception: its CLOB credentials never transit Predictefy and are sent only from the caller process to the venue.

POST /v1/exec/{venue}/orders/build takes one JSON body whose shape is venue-specific. The venues do not agree on a single order struct. Each venue returns exactly what it signs or authenticates. Five families:

FamilyVenuesYou sendPrice unit
Server-built orderHyperliquid, Limitless, Polymarket (V2), Opinion, Predict.fun, Myriad, XO, PRED (not served), PredictStreet, Pascalplain order parameters; the server fixes every remaining fieldprobability number
Server-built transit authGemini, Novigcatalog selector plus plain order parameters; credentials arrive only at submitprobability number
Client-echoed venue SDK resultPolymarket (V2 EOA echo), Opinion and Predict.fun (legacy)the venue SDK’s exact buildResult (order + domain + structHash); Polymarket V1 echoes are rejectedatomic uint256 decimal strings
Raw/structured chain intentRainchain parametersatomic integer strings
Stateless venue RESTKalshi, Polymarket UScatalog ids plus normalized side, contract amount, and price; the server returns an authless bodyprobability number

No venue on this route accepts a price in cents.

Common to every build call:

  • Authorization: Bearer <trade-scoped key> and Idempotency-Key: <your stable key>. A missing header is 400 IDEMPOTENCY_KEY_REQUIRED.
  • Optional intent: "order" (default) or "redeem". Anything else returns 400 VALIDATION_ERROR with the message intent must be 'order' or 'redeem'; a venue with no redeem support answers 501 NOT_IMPLEMENTED.
  • Optional dryRun: true returns the fully resolved and bounds-checked preview without an execution record. Omit it or send false for the existing persisted-build behavior.
  • Optional endUserRef: an opaque end-user id chosen by your platform, 1 to 128 characters of A-Z, a-z, 0-9, dot, underscore, colon or hyphen. It is not an email or a name. The service stores it on the execution, returns it as endUserRef on order status and fills, and accepts it as the endUserRef filter on GET /v1/exec/{venue}/orders. When your account has a per-end-user daily cap, every fresh order build must carry it.
  • A venue with no integration on this API answers 404 VENUE_NOT_SUPPORTED. GET /v1/exec/venues is the authoritative live list: every build, submit, cancel, modify, and redeem flag there is derived from the same venue configuration and artifact bounds the lifecycle routes consult, so a venue listed without build genuinely cannot build. The reverse does not hold: build: true means the integration is configured, not that every venue currently passes its live safety checks.
  • Repeating a build with the same Idempotency-Key returns the original stored execution with an Idempotency-Replay: true response header. It is not rebuilt and spend caps are not re-checked.
  • Build itself is not metered. Credits are charged on submit, cancel, and modify.
  • Some venues carry a top-level warnings advisory on order builds, including idempotent replays. Polymarket, Opinion, and Predict.fun disclose their eligible regional relay, verified venue reachability, still-unverified live credentialed submit, and the venue’s continuing jurisdiction rules; Hyperliquid warns when spendable spot USDC is below the order notional. Successful Rain order builds carry an advisory about limited pool coverage. If a pool fails a safety check, the server refuses the Rain build with RAIN_POOL_SAFETY_CHECK_FAILED and returns no unsigned transaction. Those warnings do not block build or client signing for a caller with their own submit path. PRED declares a warning of the same class about platform-key submits, but no caller can currently receive it: PRED is not served, so its build route answers 404 VENUE_NOT_SUPPORTED before any warning is composed.
  • The response carries the unsigned artifact, the server’s own notionalUsd (what the spend caps are checked against — never a caller-declared USD figure), and a fee estimate where the venue has a verified fee model. Rain has none, so its estimate is null with a feeWarning in the payload.

Novig accepts only marketId, the catalog composite outcomeId, type: "limit", a positive amount in contracts, and a live tick-aligned price. currency may be omitted or set to "CASH". tif defaults to "GTC" and may be "GTC", "GTT", "IOC", or "FOK"; ttl is a positive whole number of milliseconds required only for "GTT". Any other build field is rejected. The server converts contracts to the venue’s minimum currency units and stores an authless artifact.

Each venue below has its own page. The families above tell you which one you are in.

POST /v1/exec/{venue}/orders/submit relays what you signed. The body always carries:

{ "executionId": "<uuid returned by build>", "...": "venue-specific signed fields" }
  • executionId is required and binds the submission to one stored, already cap-checked execution. Omitting it is 400 VALIDATION_ERROR — executionId (uuid) is required; an id that is malformed or simply not yours answers the same clean 404 EXECUTION_NOT_FOUND as the sibling routes. No retry can make a non-existent execution exist, so it is never a retryable server error.
  • The Idempotency-Key header is required, and one caller key binds at most one execution per account, venue, and action. Reusing a key against a different execution is 409 IDEMPOTENCY_CONFLICT. An execution that has already left built status replays its current state with Idempotency-Replay: true — no second relay, no second charge.
  • The service re-checks the stored notional against the per-order cap and re-sums the key’s actual submitted spend for the day before the relay, then reserves the submission. A rejection before the venue was ever contacted frees that reservation; an ambiguous relay failure (502 VENUE_RELAY_FAILED) keeps it, so a resubmit can never bypass the cap.

Wallet signatures are produced entirely in your process. Predictefy retains no user signing key, and there is no generic signing route to call. Kalshi, like Gemini and Polymarket US, is request-authenticated instead. What each venue expects back:

VenueSigned fields you postSigning scheme
Gemini{ apiKey, apiSecret }No client order signature. Predictefy HMAC-SHA384 signs one canonical stored body with an epoch-second nonce, then discards both credentials and headers.
Novig{ callerAccessToken }No client order signature. Predictefy relays the exact stored authless request with the caller’s account token, then discards the token.
Polymarket US{ keyId, secretKey }No client order signature. Predictefy creates Ed25519 request auth for the exact stored REST request, then discards both credentials and headers.
Hyperliquid{ action, nonce, signature, owner }EIP-712 phantom-agent over the L1 action. signature is {r,s,v} or 0x hex.
Polymarket{ signature, owner, apiKey, apiSecret, apiPassphrase }EOA ECDSA over the server-stored structHash (raw digest — a personal_sign wrapper is correctly rejected).
XO{ signature, owner, apiKey, apiSecret, apiPassphrase }86-byte smart-account envelope (0x01, XO validator, then 65-byte ECDSA) over the server-stored 13-field digest. Submit accepts only current type-3 artifacts; the venue validates through ERC-1271, so the server binds owner to the stored maker rather than recovering it. Older type-0 artifacts can be canceled or refreshed, not submitted.
PRED (not served){ signature, owner, apiKey, accessToken, refreshToken }Documented only: EOA ECDSA over the server-stored Base digest for the Safe maker; signature type 2 is fixed.
Myriad{ signature, owner, apiKey, apiSecret }EOA ECDSA over the server-stored BSC Order Book digest; only after recovery does Predictefy HMAC-SHA256 authenticate one exact venue request.
PredictStreet{ signature, owner, apiKey }EOA ECDSA over the server-stored VAULT digest; the API key is read only after recovery and is then discarded.
Pascal{ signature, owner }Base58 Ed25519 signature over the exact stored permit bytes. The delegated signer is already bound inside the permit.
Opinion{ signature, owner }, plus safeAddress for Safe modePlain EOA ECDSA EIP-712 over the stored structHash, even in Safe mode (not EIP-1271). The EOA owner signs; the Safe remains maker.
Predict.fun{ signature, owner, authToken }EOA ECDSA over the stored structHash.
Limitless{ signature, owner }EIP-712 over the server-built order. You post only the signature; the server attaches it to the stored order.
Kalshi{ apiKeyId, privateKeyPem, subaccount? }No client order signature. Predictefy creates RSA-PSS request auth for the exact stored official V2 request, then discards the credentials and headers.
Rain{ signedTransaction, owner } (0x hex raw tx)Signed Arbitrum (chain 42161) transaction; you broadcast it yourself.

Novig cancel builds derive a bodyless DELETE from the stored venue order id. Submit the cancel with { callerAccessToken }. A successful relay acknowledges an asynchronous cancellation; call refresh with the same per-request token until venue status confirms that the order left the book.

Three rules govern the client-signing integrations:

  1. Identity binding. The wallet declared at build is stored with the intent. Most venues require recovered signer = stored owner = submitted owner. Pascal instead verifies the stored delegated signer while separately requiring submitted owner = stored custody owner. PRED binds submitted owner to the stored Safe maker and recovery to its separately stored EOA signer. Cancel and modify inherit stored identity; a caller-supplied replacement is never trusted.
  2. No bait-and-switch. What you submit must be what was built. Hyperliquid re-hashes your posted action and compares it to the stored connectionId (submitted action does not match the built execution). Rain’s and Predict.fun’s on-chain cancel paths byte-compare the signed transaction against the stored one. Limitless is structural — you cannot substitute an order you never send.
  3. Verify before relay. The signature is verified locally first; a tampered ECDSA or Ed25519 signature is rejected before anything reaches the venue.

Gemini applies the same no-bait-and-switch principle without a wallet signature: the stored versioned body, permitted request path, exact shape, and notional are all revalidated before the code reads apiKey or apiSecret. Only that canonical body is included in the HMAC payload.

Kalshi likewise revalidates the stored official REST order or cancel shape before reading apiKeyId or privateKeyPem. A legacy Solana-shaped artifact refuses with 409 ARTIFACT_VERSION_CONFLICT; valid credentials and generated auth headers exist only in memory for the one bounded request.

Venue credentials that appear above — Gemini and Myriad key/secrets, Novig’s account access token, Polymarket US’s key ID and Ed25519 secret, the legacy hosted Polymarket and XO L2 CLOB triples, Predict.fun’s session bearer, and Opinion’s user API key — transit only for that call. PRED’s partner key/JWT shape is retained for a caller-owned arrangement but is not available through the unavailable hosted service. No transient credential is persisted, logged, or used by any background process. Pascal needs no such relay credential: its private trading key remains client-side and only the signature crosses the API. That is exactly why automatic status polling is impossible for the credentialed venues, as the next section explains.

For the venue-direct Polymarket SDK path, the CLOB triple does not cross the Predictefy API at all; the SDK signs its venue requests locally and keeps status/cancel direct.

GET /v1/exec/venues is capability discovery, and each venue entry carries a requirements object as well as its verb flags:

  • credentials[] — one entry per credential the venue needs, each with its field name, a kind (wallet_signer, venue_api_key, venue_api_secret, venue_api_passphrase, session_token, access_token, oauth_client_pair, and none), a description, and an acquisition string stating how the caller obtains it. Handle none even though no venue currently uses it — it is in the published enum, so a switch that omits it can break on a venue added later.
  • funding — the collateral asset, its chain, whether custody is self or venue, and a note on the deposit route.
  • geo — the venue’s jurisdiction constraint, or null where no constraint is established.
  • onboardingUrl and guideUrl — where the customer starts, and this documentation.

A venue absent from the response is not enabled on the API you called, so the payload answers “can my customer trade here, and what do they need first” in one request. Build onboarding flows and readiness checks against it rather than hard-coding a venue list.

Venue credentials is the same information in prose.

Hosted /submit sends your order to the venue from Predictefy’s servers. Some venues geo-wall data centres, so a caller whose own egress is eligible can submit directly to the venue and still keep Predictefy’s spend caps and execution record. This is a second route, not a replacement: hosted /submit is unchanged and does not use this flow.

The sequence is build, reserve, submit yourself, ack.

  1. Build as usual. Predictefy stores the artifact and returns its executionId.
  2. POST /v1/exec/{venue}/orders/{executionId}/reserve: send {}. This atomically checks and reserves the stored notional against the per-order, per-key and account caps, under the same per-key serialization as build, submit and ack. It answers 201 with a single-use reservationToken, an expiresAt, and the reservedNotional.
  3. Submit to the venue yourself, from your own IP, using the artifact you built.
  4. POST /v1/exec/{venue}/orders/{executionId}/ack: present the token as an X-Reservation-Token header and post the venue’s order reference or receipt.

Both calls need the trade scope and a unique Idempotency-Key.

The reserve and ack routes are generic. They work for any venue your API has enabled for execution, so there is no per-venue endpoint to learn. The SDK’s venue-direct presets call both for you on Polymarket, Opinion, Predict.fun and Pascal. Other venues are supported through the generic client.exec.reserveOrder() and client.exec.ackOrder() methods; the Kalshi guide has a worked example.

The caps in Spend caps and fail-closed bounds apply to this route exactly as they do to hosted submit: reserve applies them before the order reaches the venue, and ack consumes the reservation before the execution changes state. Without that step a client-direct order would bypass the caps entirely.

The check is cooperative. If you send an order from the built artifact without reserving first, Predictefy does not record the order, because ack requires the reservation token.

The token is returned once and never re-issued. It is bound to this exact account, API key, execution, venue and stored artifact, and it is single-use. Its lifetime is 120 seconds by default, between 15 and 900 seconds; an unconsumed reservation expires and frees its budget automatically, so an abandoned attempt does not strand your allowance.

Ack moves the stored execution to acked and no further. Ordinary venue reconciliation stays authoritative from there, so client-asserted terminal states and fills are rejected — you cannot tell Predictefy an order filled.

The body is a receipt and carries no venue-authorizing signature. Predictefy cannot verify a signature it never held, and storing an unverified copy would leave a replayable artifact at rest, so it does not ask for one.

This consumes the same metered action as hosted submit.

client.exec.reserveOrder() and client.exec.ackOrder() cover both calls. The MCP server deliberately does not expose either: an agent should not be constructing venue submissions out of band.

A 403 SCOPE_MISSING response deliberately does not name the missing scope, so a caller cannot enumerate the scope surface by probing. This table is the answer instead.

Endpoint groupRequired scope
Every /api/{exchange}/… catalog, order-book, trades, history, execution-price, capability, and cross-match verbread
Every /api/feeds/… reference-feed verbread
/v1/traders/… — tape, holders, leaderboards, wallet profiles, smart moneyread
/v1/accounts/…, /v1/portfolio, /v1/funding/{venue}/requirements, /v1/funding/{venue}/steps, /v1/bridge/…read
/v1/clusters, /v1/clusters/{id}, /v1/discrepancies, /v1/discrepancies/{clusterId}/qualification, /v1/mappingsread
/v1/venues/metrics, /v1/webhooks, /v1/webhooks/{id}, /v1/webhooks/{id}/deliveriesread
/v1/usage, /v1/billing/checkout, /v1/billing/subscribe, /v1/billing/portalread
The WebSocket streaming APIread
POST /v1/sql (executeSql)sql
Every /v1/exec/… route — build, submit, cancel, modify, refresh, and the order, trade, position, balance, and venue readstrade

A few endpoints sit outside the table by design: the health and status endpoints need no key at all, POST /v1/billing/webhook/stripe is authenticated by its Stripe signature rather than an API key, and GET /api/feeds/{feed}/fetchOrderBook carries no scope mapping because it only ever answers a capability error — no feed source provides depth.

New self-serve API keys carry read; trade requires an explicit per-key opt-in. The sql scope is the exception: no self-serve plan grants it, and it is provisioned on request — see the credits and plans guide. A valid key that lacks the scope a route requires is rejected before any credit is debited or usage recorded.

Automatic status polling is available only when a status path needs no per-user credential. Gemini, Kalshi, Novig, Polymarket, Opinion, and Predict.fun authenticate order reads with the caller’s venue credential, which the execution service does not retain. That no-escrow boundary is why the caller must initiate:

POST /v1/exec/:venue/orders/:executionId/refresh

The supported body is venue-specific:

VenueJSON body
Gemini{ "apiKey": "...", "apiSecret": "..." } — time-based-nonce, non-heartbeat Trader key
Kalshi{ "apiKeyId": "...", "privateKeyPem": "..." } — transient RSA credentials; no subaccount
Novig{ "callerAccessToken": "..." } — the caller’s own Novig account access token
Polymarket{ "apiKey": "...", "apiSecret": "...", "apiPassphrase": "..." }
Opinion{ "userApiKey": "..." }
Predict.fun{ "authToken": "..." } — the caller’s session bearer; uses the order hash created at submission

Hyperliquid’s status path needs no user credential and serves the same POST with an empty body. Limitless implements the same credential-free shape, but its restricted network paths receive 403 GEO_BLOCKED even on status reads; an empty body does not bypass that venue policy.

The TypeScript SDK exposes the same route:

const refreshed = await client.exec.refreshOrderStatus({
venue: 'polymarket',
executionId,
apiKey,
apiSecret,
apiPassphrase,
});

This is read-only with respect to the venue: it reads status and fills, may advance a non-terminal execution status, and never builds, signs, submits, or cancels an order. Terminal statuses never regress. The route is not metered. It is idempotent and safe to retry after a transient failure; unlike mutating POSTs, it needs no Idempotency-Key. POST keeps the transient credential in the request body instead of a URL or query string.

The effective defaults are 100 USD per order, 1,000 USD per API key across the rolling 24-hour window, and 1,000 USD per account across the same window. The account cap is shared by every key on the account, so all of its keys draw on one combined budget. A cap violation is rejected; the service never silently reduces an order. Each available venue integration also enforces venue-specific contract, currency, chain, owner, and artifact bounds. Missing or unknown bounds keep that venue unavailable.

An account may carry a per-account cap override set by Predictefy at onboarding. The override can raise or lower the per-order cap, the per-key daily cap and the per-account daily cap for that account, and it can add an optional per-end-user daily cap. With no override, the defaults above apply unchanged. A failed override read falls back to the defaults.

When a per-end-user daily cap is configured, the service sums one rolling 24-hour bucket per endUserRef inside the account and rejects a fresh order, or a modify whose full replacement notional would exceed it. A modify carries the target order’s endUserRef; a body value that names a different end user is refused. Cancel and settlement (redeem) operations only return or settle exposure, so they stay exempt. At submit, a live client reservation for the same end user also counts toward the bucket, because a reservation token is permission to broadcast before the acknowledgment. In that case a build without endUserRef is rejected, because the order cannot be attributed. An order built before the cap existed still submits only if it is within the other caps; it simply has no per-end-user bucket to charge.

Override values are not published here. Ask your Predictefy contact when onboarding a platform.

Status is per venue integration, not a blanket venue claim.

VenueCurrent hosted statusCurrent behavior and limitations
GeminiEnabled: build + submit + cancelLimit orders only. Caller-owned time-based-nonce, non-heartbeat Trader credentials transit each authenticated call and are never retained; status refresh is caller-initiated.
HyperliquidEnabled: build + submit + cancel + modify + approveAgentMainnet client-signed orders and single-order modify are live. Credential-free status refresh and empty-body refresh are implemented.
KalshiEnabled: official REST build + submit + cancelCatalog-bound official V2 order, cancel, and caller-credentialed refresh are served. Caller apiKeyId + RSA privateKeyPem transit one request and are never stored or logged; optional non-negative subaccount is submit-only. client.accounts.kalshi remains the separate direct, account-backed RSA integration whose credentials stay entirely local.
LimitlessEnabled; geo-gatedBuild, submit, and cancel are advertised. Restricted network paths receive 403 GEO_BLOCKED, including on status reads, despite the credential-free status implementation.
MyriadEnabled: build + submit + cancelBSC Order Book only. Wallet-bound HMAC credentials transit submit/cancel after EOA recovery; AMM order ids are unsupported. Order Book status refresh is credential-free.
NovigEnabled: build + submit + cancelLimit orders only. Build stores an authless REST artifact; caller callerAccessToken transits submit, cancel, and caller-initiated refresh only. Cancel acknowledgement is asynchronous, so refresh confirms final status. The venue endpoints require US egress.
OpinionEnabled: build + submit + cancel; eligible relayHosted requests use eligible regional egress and reach the venue; a live credentialed submit is not yet verified on that path. The direct SDK path keeps the caller’s key in-process; no automatic hosted poll exists.
PascalEnabled: build + submit + cancelClient-signed place/cancel permits retain no private key. Status refresh: it exists and needs no credential, because Pascal’s account reads are keyless. No account-funding or funding-helper path exists; collateral funding remains venue-directed.
PolymarketEnabled: build + submit + cancel; eligible relayHosted requests use eligible regional egress and reach the venue; a live credentialed submit is not yet verified on that path. client.accounts.polymarket remains the caller-direct architecture.
Polymarket USEnabled: build + submit + cancelCatalog-bound limit order, transient Ed25519 request auth, cancel, and caller-initiated refresh are implemented. Credentials and generated headers are never retained.
Predict.funEnabled: build + submit + cancel; eligible relayHosted requests use eligible regional egress and reach the venue; a live credentialed submit is not yet verified on that path.
PredictStreetEnabled: build + submit + cancelVAULT orders on ADI Chain 36900. Cancel, caller-key status refresh, and native position and balance reads are served. Redeem, modify, batch cancel, cancel-all, and open-orders listing are not implemented.
RainEnabled: build + submit + cancelApproval, LIMIT/protected-market, cancel, and claim builds are implemented. Submit verifies and parks at signed; the caller owns broadcast.
XOEnabled: build + submit + cancelChain-3223 orders on the venue’s current 13-field CTF contract; cancel and a client-credentialed status refresh are served. No hosted account read, funding helper, or automatic poll; a refresh is caller-initiated. No XO order has yet been submitted through Predictefy; the first live submit is the wire-contract confirmation checkpoint.
PREDNot served; not in /v1/exec/venuesThe Base Safe build and signing contract remains documented, but the venue refuses platform-key submits for caller-owned Safes. The integration also implements cancel, caller-credentialed status refresh, and native position and balance reads, but no PRED route is reachable while the venue is not served.

The table above covers hosted execution. SX Bet has no hosted execution integration. Its separate venue-direct SDK integration is available at client.accounts.sxbet. The private key, signatures, and required SX Bet API key stay in the caller’s process and go only to sx.bet.

The shipped SX Bet write surface defaults to V3:

  • Limit and market orders both sign one EIP-712 order and post to POST /orders-v3. Limit orders use GTC; market orders use IOC, where percentageOdds is the worst accepted price.
  • Cancellation uses API-key-authenticated DELETE /orders-v3, /orders-v3/event, and /orders-v3/all. By-id cancellation reports its outcome synchronously; event/all acknowledge asynchronous batches, which the SDK drains while hasMore remains true.
  • Funding is proxy-wallet based. Deploy the account proxy, then use client.accounts.sxbet.depositToProxy to sign and submit the transfer permit. The old client.funding.buildPermitRequest and POST /orders/approve path are V2-only and refused on V3.
  • armHeartbeat and disarmHeartbeat use /heartbeat/v3. The same x-sx-api-key credential is mandatory for every V3 trading and cancellation request.

This client-side integration does not imply hosted execution or unlisted verb coverage.

Not served. Smarkets is not currently available for hosted execution: hosted /api/smarkets/…, account, and funding routes return 404. The venue-direct SDK client remains available for customers who hold their own Smarkets API approval.

The client-side design is a deliberate custody choice. Smarkets authenticates with a full account email and password, and there is no scoped, revocable API credential to hold instead. A hosted service would therefore mean Predictefy relaying credentials that control the whole account, which crosses the custody line this platform does not cross.

The shipped write surface at client.accounts.smarkets is:

  • createOrder({ marketId, outcomeId, side, amount, type }) — POST /v3/orders/. type: 'limit' sends a good_til_halted order; type: 'market' sends an aggressive immediate_or_cancel limit at buy 9999 / sell 1.
  • cancelOrder(orderId) — DELETE /v3/orders/{id}/, then a read-back of the cancelled order.

Three venue facts shape it, and none of them is a Predictefy gap:

  • Credentials never transit Predictefy. The email and password are sent only from your process to api.smarkets.com. The resulting session token lives in volatile memory and is never logged, returned, persisted, or sent to Predictefy. They still exist in your process, so prefer a dedicated, restricted account.
  • The account must have venue API access. Smarkets rejects an ordinary account that has not been approved as an API user; that approval is granted by the venue, not by Predictefy.
  • MFA-enabled accounts are refused. The SDK does not accept MFA secrets, so a login that returns an MFA factor raises NOT_SUPPORTED instead of prompting.

There is no modify verb and no hosted relay. amount is your own money at risk — back stake on a buy, lay liability on a sell — not Smarkets’ quantity pot; the client converts and floors so the relevant contribution never exceeds what you asked for.

  • fetchBalance on the hosted route intentionally returns 501 NOT_SUPPORTED. The SDK account path is separate: client.accounts.<venue> performs supported balance, position, and order reads directly from the venue with credentials that remain in your process.
  • fetchPositions may be derived from this account’s recorded fills; inspect meta.derivation instead of assuming a venue-native portfolio response.
  • Cancellation is venue-dependent. Public execution does not imply that every optional lifecycle action is supported by that venue.
  • Hyperliquid serves one modifyOrder action at a time. The venue’s separate batchModify action is not shipped.
  • Automatic order-status code exists for Hyperliquid and Limitless. Hyperliquid can use it credential-free; Limitless’s restricted network path currently receives 403 GEO_BLOCKED, including on status reads. Rain is enabled, but hosted submit stops at signed and the caller must broadcast before an on-chain receipt can advance it. Gemini, Kalshi, Novig, Polymarket, Opinion, and Predict.fun require caller-initiated credentialed refresh. PRED is not served, so no PRED verb is reachable on the hosted API; the integration does implement cancel, caller-credentialed status refresh, and native account reads.
  • The MCP trade surface defaults off; set MCP_ENABLE_TRADE=true or 1 to enable it. Leave the variable unset or set MCP_ENABLE_TRADE=false to keep trading disabled. No one-shot spend or signing tool exists, and exec_submit previews unless passed confirm: true.
  • Live venue status does not guarantee market availability, fill probability, price, or profit.