Account

Get your account's identity and tier limits

Changed on

Your userId, current tier, and that tier's limits — no database call, safe to fetch on every page load. For live usage against these limits, see _links.usage (GET /account/usage).

get/account

Request

  • Base URL: https://api.qtsurfer.net/v1
  • URL: https://api.qtsurfer.net/v1/account
  • Auth: HTTP bearer

Response

Your account

userIdstring required

Your account id — the JWT sub claim.

tierstring required

Your current subscription tier.

maxExecuteinteger required

Maximum number of strategy executions (and sweeps) you can have running at the same time through the API. Starting one past this number is answered with 429, whose message carries the same number. The value already includes any API allowance your plan has.

maxRangeDaysinteger required

Maximum length, in days, of the time range of a backtest on one of your own datasets.

maxSweepCartesianinteger required

Largest full grid, in parameter combinations, a sweep may run with the grid sampler. A grid with more combinations is refused with 400; the random and lhs samplers run only their samples and are not held to it.

maxImportRangeHoursinteger required

Maximum length, in hours, of the time range of one dataset import from an exchange.

maxDatasetsinteger required

Maximum number of active datasets your tier allows.

maxDatasetBytesinteger required

Maximum size, in bytes, of a single dataset version as stored, that is the bytes of its ready version. For a CSV upload that is the converted file, not the file you upload, so estimate from the number of rows. The Datasets guide has the details.

maxTotalStorageBytesinteger required

Maximum combined storage, in bytes, across every dataset, strategy-execution signal, and registered strategy on your account — one shared pool, not a separate cap per resource type, since they all compete for the same underlying storage. See GET /account/usage's storageBytesUsed for your current usage against this number.

Example response

{
  "userId": "00000000-0000-0000-0000-000000000000",
  "tier": "free",
  "maxExecute": 10,
  "maxRangeDays": 7,
  "maxSweepCartesian": 100,
  "maxImportRangeHours": 6,
  "maxDatasets": 3,
  "maxDatasetBytes": 52428800,
  "maxTotalStorageBytes": 104857600,
  "_links": {
    "self": {
      "href": "/v1/exchange/binance/spot/instruments"
    },
    "usage": {
      "href": "/v1/exchange/binance/spot/instruments"
    }
  }
}

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status