Capital.com (Unofficial) icon

Capital.com (Unofficial)

Interact with the Capital.com Open API

Account → Transaction History

AI-generated

Summary

Fetches Capital.com account transaction history, optionally filtering by time range and transaction type. Simplified mode returns selected fields for each transaction; raw mode returns the API response.

Inputs

  • Last Period (Seconds) — How far back to look, in seconds; defaults to 600.
  • From Date — Optional start datetime, sent as the from query parameter when non-empty.
  • To Date — Optional end datetime, sent as the to query parameter when non-empty.
  • Transaction Type — Optional transaction type filter, such as DEPOSIT or WITHDRAWAL.
  • Simplify — Defaults to true. When enabled, returns transaction records containing only available date, dateUtc, instrumentName, transactionType, size, and currency fields.

Output shape

A single object containing a transactions array in simplified mode, or the raw API response object when Simplify is disabled.

Simplified mode uses an empty transactions array if the API response does not contain a transactions array. The request uses the account transaction history endpoint.

Links

Discussion