API ReferencePaper Trading
Read one simulated order together with its fills.
const url = 'https://data.predictefy.com/v1/paper/orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/v1/paper/orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'The order must belong to the calling account. Malformed, missing, and other-account ids all return the same account-safe 404, so this route is never an oracle for another tenant's order ids. fills is present only on this single-order read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Owned paper order id.
Responses
Section titled “Responses”The order and every fill recorded against it, oldest first.
object
object
Present only on the single-order read; omitted from list pages.
object
The book snapshot this fill was matched against, when one is known.
Which schedule priced the fill. unverified is a LABELLED zero fee.
Why the engine (or a reset) moved the order to its current status.
Example
{ "data": { "fills": [ { "feeModel": "verified", "liquidity": "maker", "rule": "marketable_walk" } ], "side": "buy", "status": "open", "tif": "GTC" }}UNAUTHORIZED
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 — paper weight
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 trade scope; PLAN_REQUIRED — the account's plan does not include paper trading
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" }}PAPER_ORDER_NOT_FOUND for an unknown order; ROUTE_NOT_FOUND — only while READS_PAPER_ENABLE is off platform-wide (on since 2026-09-11)
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
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" }}Unexpected internal error. Retryable; error.requestId identifies the failure.
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" }}PLATFORM_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" }}