Account API
Get data collector records for a specific account
Changed onRetrieves equity, balance, and floating PnL time-series data collected for advanced analytics, drawdown monitoring, and equity curve construction.
get/rest/api/v1/accounts/{accountId}/dataCollector
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring uuid required
Query parameters
limitinteger
Maximum number of records to return (default: 10000, use -1 for all records)
startTimestring
Start date filter (ISO-8601 format)
endTimestring
End date filter (ISO-8601 format)
Response
OK
Example response
[
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"balance": 10000,
"equity": 10500.25,
"floatingPnL": 500.25,
"timestamp": 1672531200000
}
]Changes
- info
endpoint added
- info