API ReferenceTrader Intelligence
Rank current stored wallet scores across Trader Intelligence venues.
const url = 'https://data.predictefy.com/v1/traders/leaderboard?by=score&window=all&limit=20';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/traders/leaderboard?by=score&window=all&limit=20' \ --header 'Authorization: Bearer <token>'Interleaves venue-tagged wallet rows without claiming that addresses on different venues belong to the same person. Only by=score and window=all are supported; profit and volume rankings remain venue-native.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Current stored scores are all-time only; other windows are rejected.
Responses
Section titled “Responses”Cross-venue score rows, each retaining its venue identity.
object
object
object
object
Present only when volumeCoverage is lifetime; otherwise null.
object
Predictefy-store — Trader Intelligence rows served from Predictefy's own store. venue-rest — live Trader Intelligence rows fetched per request through the venue adapter.
object
Newest observation in the returned page, or null when the page is empty.
object
Predictefy-store — Trader Intelligence rows served from Predictefy's own store. venue-rest — live Trader Intelligence rows fetched per request through the venue adapter.
Example
{ "success": true, "data": [ { "stats": { "volumeCoverage": "lifetime" }, "refreshState": "fresh", "provenance": { "source": "predictefy-store" }, "window": "all" } ], "meta": { "provenance": { "source": "predictefy-store" }, "window": "day" }}VALIDATION_ERROR / TRADERS_UNSUPPORTED
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" }}Headers
Section titled “Headers”Net credits charged for this metered response after any error refund.
Post-charge account balance. Present only when the existing debit/refund operation made it available; the service never adds a database read solely for this header.
The API key is missing, unknown, or revoked. A venue-authenticated read also answers 401 when the venue itself rejects the credential. Not retryable.
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" }}The account's credit balance cannot cover this endpoint's weight. Not retryable.
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" }}The API key lacks the scope this route requires, or the account's plan does not include the feature. Not retryable.
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" }}Dark lane
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 limit exceeded. The response carries Retry-After in whole seconds, always rounded up so a sub-second remainder never points back inside the live window.
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" }}CATALOG_UNAVAILABLE — bounded database timeout
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" }}