Capital.com icon

Bitcoin trading - Capital.com: OpenData / OpenFinance API integration & protocol analysis

Authorized account-data ingestion, transaction & statement exports, market data feeds, and compliance-first source code delivery.

Starting at $300
OpenData · OpenFinance · Protocol Analysis · Public Trading API

Turn Capital.com account activity into usable APIs for reporting, risk monitoring, and reconciliations

Capital.com’s trading ecosystem includes market data streaming (REST + WebSocket) and account activity endpoints (transactions, positions, working orders) that can be modeled into an OpenData/OpenFinance style API layer. Our studio focuses on the integration path: mapping app screens to data types, designing an ingestion pipeline, and delivering practical source code plus documentation.

Why this app’s data is valuable
Trading transactions & account activity (deposits, withdrawals, trades, fees) for audit-ready reporting.
Positions & working orders for exposure tracking, order reconciliation, and operational dashboards.
Market + chart preferences (watchlists, indicators, price updates) for analytics and alert automation.
What we deliver — an integration spec (fields, auth, error codes), working API adapters, and test plans so your team can consume the data in BI tools, risk systems, or internal microservices.

Feature modules (what we integrate from your Capital.com use cases)

1) Transaction history API

Ingest deposits, withdrawals, trades, swaps, and fees from Capital.com account activity, then normalize into a consistent ledger model. The output supports time-range queries, transaction-type filtering, and export to JSON/CSV/Excel for finance teams.

Concrete use: monthly reconciliation between internal wallet records and Capital.com transaction events (by `reference`, `instrumentName`, `status`).

2) Working orders & open exposure

Track working orders (limit/stop, direction, epic, size/level, stop/guaranteed-stop flags) and map them to internal “intended vs executed” states. This lets you monitor exposure changes without manual copying from the app UI.

Concrete use: detect mismatches for operational controls (e.g., order created but not yet confirmed), and trigger alerts in your back-office workflow.

3) Positions + risk snapshot

Build an exposure snapshot by pulling open positions and calculating risk metrics for crypto CFDs and altcoins. We also add deterministic mapping for instrument identifiers so downstream risk engines can join datasets safely.

Concrete use: create a “crypto risk dashboard” that refreshes on a schedule and feeds risk limits and variance reporting.

4) Market data feeds & trader sentiment

Consume streaming market prices (WebSocket) and build a unified feed that supports OHLC-style historical lookups. Where available, we include client sentiment fields so your analytics can reflect not only price action but also market positioning signals.

Concrete use: backtest and operational monitoring—e.g., compare expected execution windows against observed price movement.

5) Alerts & chart configuration sync

Translate TradingView-style workflows into a configuration record: watchlists, indicator selections, and chart layouts. Capital.com has emphasized chart upgrades, including additional indicators and a multi-chart layout on web, which improves how teams standardize analysis across screens.

Concrete use: keep “analysis templates” versioned so the same indicators and intervals are reused for reporting cadence and alerts.

6) Automated statement generation pipeline

Combine transaction history + activity details into statement documents that match your internal taxonomy. The pipeline supports proof traces (input query parameters, returned transaction IDs, and processing logs) for auditability.

Concrete use: generate “Capital.com activity statements” for compliance folders or ERP imports, with consistent naming rules and timestamps.

Core Benefits

A normalized “statement & ledger” data layer

Capital.com’s app workflow produces finance-grade artifacts (account activity, transaction events, and statement-like records), but business systems need stable schemas. We convert raw payload fields into OpenData/OpenFinance style entities so your internal reporting uses consistent keys such as `transactionType`, `reference`, and status.

The deliverable includes query patterns (time windows, type filters) plus export guidance (CSV/Excel/JSON) so Finance and Risk can run the same pipeline across months.

Operational control for orders and exposure

When your organization needs faster reconciliation, working orders become more than “order buttons” in the UI. We model working order fields (direction, epic, size/level, and constraints like `guaranteedStop` / `trailingStop`) into a lifecycle that your systems can monitor.

This enables practical use cases: alerting on parameter drift, validating stop/take-profit governance, and producing audit-ready change logs for operational reviews.

Ecosystem-ready integration (charts → automation)

Capital.com emphasizes chart upgrades (2024 added more indicators and tools) and later multi-chart capability on web (2025), which makes analyst workflows more standardized. In real projects, that chart work often connects downstream to TradingView alerts and MT5 tooling.

We also consider third-party bridge products such as TradeAdapter / WebhookTrade to translate TradingView signals into authorized Capital.com order actions, so your automation has a clean “protocol boundary.”

Screenshots

The Capital.com app interface is often where analysts and operations teams start their workflow. Below are the provided screenshots; click any thumbnail to view a larger version in a clean lightbox overlay.

Capital.com screenshot 1 thumbnail
View
Capital.com screenshot 2 thumbnail
View
Capital.com screenshot 3 thumbnail
View
Capital.com screenshot 4 thumbnail
View
Capital.com screenshot 5 thumbnail
View
Capital.com screenshot 6 thumbnail
View
Capital.com screenshot 7 thumbnail
View
Capital.com screenshot 8 thumbnail
View
Capital.com screenshot 9 thumbnail
View
Capital.com screenshot 10 thumbnail
View

Data inventory (OpenData perspective)

We translate Capital.com app capabilities into structured, queryable data types that your systems can ingest safely. The table below focuses on integration-ready “what” and “how to use it,” not on speculative endpoints.

Data type | Source (screen/feature) | Granularity | Typical use
Transaction events (DEPOSIT / WITHDRAWAL / TRADE / SWAP / FEES) Account Activity / Statements Second-level timestamps, type filters Reconciliation, audit trails, finance exports
Working orders (LIMIT/STOP, guaranteed stop, trailing stop) Order panel / Working Orders Order-level fields (direction, epic, size, level) Exposure control, ops monitoring, order lifecycle reconciliation
Open positions (deal-level snapshot) Positions overview Deal reference + instrument identifiers Risk dashboard, leverage governance, limits enforcement
Market prices + streaming updates WebSocket / market data panels Up to limited instrument batches per stream Real-time dashboards, alert evaluation, analytics pipelines
Client sentiment / market stats (where exposed) Client sentiment module Per market or per asset pair Decision support signals, performance attribution
Charting templates & indicator selections (modeled) Charts + indicator workflows Template-level config + interval metadata Operational consistency, standardized analytics reporting

Typical integration scenarios

Scenario A: Ledger reconciliation for crypto CFD portfolios

A fintech operations team needs a monthly “ledger view” that matches internal bookkeeping with Capital.com activity. They want traceable outputs, not manual downloads.

We pull account transaction history filtered by date range and transaction type (DEPOSIT, WITHDRAWAL, TRADE, SWAP, fees), then map each record into your chart of accounts and ledger identifiers.

OpenData/OpenFinance mapping: ingested events become a normalized dataset, and your downstream reporting reads from an internal “Statement API” rather than directly from the app.

Scenario B: Risk monitoring with working order lifecycle checks

A risk team flags abnormal exposure changes when orders are created and executed quickly across multiple instruments. They require early signals and order lifecycle traceability.

We ingest working orders (including guaranteed stop and trailing stop flags) and correlate them with confirmations/status flows to build a deterministic order lifecycle state machine.

OpenData/OpenFinance mapping: order-level datasets are exposed as a queryable “Exposure API,” enabling limit checks, monitoring, and audit logs.

Scenario C: Automation bridge for TradingView alerts

Traders want signals from charting tools (TradingView) to be converted into valid order actions inside Capital.com, with consistent risk parameters. The integration must work reliably and handle retries.

We model the alert payload, validate required fields (instrument epic/symbol, direction, size, order type, stop-loss/take-profit distances), then call Capital.com endpoints to create positions or working orders.

OpenData/OpenFinance mapping: your system produces a “TradeIntent API” event stream; our adapter translates it into authorized order requests and returns deal references.

Scenario D: Multi-asset market analytics and crypto dashboards

A research dashboard wants real-time prices and historical lookups for crypto, indices, and forex within the same reporting model. They also want chart analysis consistency across intervals.

We implement a pipeline that consumes WebSocket streaming updates (batch-limited instruments) and enriches it with normalized symbol mappings for analytics. For analysis tooling, we align templates with the platform’s recent chart upgrades and the 2025 multi-chart layout for standardized layouts.

OpenData/OpenFinance mapping: price streams become “MarketData API,” while statement and ledger datasets remain separate, enabling clean joins and data governance.

Technical implementation (how we build the authorized integration)

Auth/session handling (short-lived tokens)

Capital.com Public API access is session-based. You create a session using `POST /api/v1/session`, then use returned headers (`CST` and `X-SECURITY-TOKEN`) for subsequent calls. The session stays active for about 10 minutes after last use.

# Pseudo-code: create session using API key + login
POST https://api-capital.backend-capital.com/api/v1/session
Headers:
  X-CAP-API-KEY: <YOUR_API_KEY>
Body (JSON):
  identifier: "<login/email>"
  password: "<api_key_password>"
  encryptedPassword: false

# Then reuse returned headers:
#  CST: <authorization token>
#  X-SECURITY-TOKEN: <financial account token>

We also cover the optional encryption step via `GET /api/v1/session/encryptionKey` (AES/RSA method described in the docs) so your integration can operate in environments with stricter security requirements.

Transaction history ingestion + filtering

For statements and ledger exports, we fetch transaction events with date ranges and types. The API provides query parameters such as `from`, `to`, `lastPeriod`, and `type` (e.g., DEPOSIT, WITHDRAWAL, TRADE).

# Example: fetch deposits within a time window
GET https://api-capital.backend-capital.com/api/v1/history/transactions?from=2025-01-01T00:00:00&to=2025-01-31T23:59:59&type=DEPOSIT
Headers:
  X-SECURITY-TOKEN: <CST_TOKEN>
  CST: <CST_AUTH>

Response:
  { "transactions": [ { "date": "...", "instrumentName": "...", "transactionType": "DEPOSIT", "status": "PROCESSED", "reference": "..." } ] }

We implement idempotency and “gap detection” (if the session expires or a query window returns partial results) so your reporting remains consistent.

Working order creation with risk parameters

When your workflow includes submitting trade intents, we support authorized order creation using `POST /api/v1/workingorders` with required fields like `direction`, `epic`, `size`, `level`, and `type` (LIMIT/STOP). Optional fields include `guaranteedStop`, `trailingStop`, `stopDistance`, and profit/stop levels.

# Example: create a limit working order
POST https://api-capital.backend-capital.com/api/v1/workingorders
Headers:
  X-SECURITY-TOKEN: <SEC_TOKEN>
  CST: <CST_TOKEN>
Content-Type: application/json

{
  "epic": "BTC",
  "direction": "BUY",
  "size": 1,
  "level": 72000,
  "type": "LIMIT"
}

# Optional: include guaranteed stop / trailing stop constraints

We add error-handling around rejection reasons and rate limits (for example, `POST /session` has strict limits, and positions/orders have demo-vs-live constraints), then return `dealReference` so your system can track outcomes.

Real-time market data via WebSocket (optional)

For dashboards that require rapid price updates, we implement WebSocket clients to subscribe to a limited number of instruments per stream. Streaming sessions are time-bound, so we schedule renewals and “ping” keep-alives.

# Pseudo-code: connect WebSocket for streaming quotes
const ws = new WebSocket("wss://api-streaming-capital.backend-capital.com/connect");

ws.onopen = () => ws.send(JSON.stringify({
  type: "SUBSCRIBE",
  instruments: ["BTC", "ETH"] // limited per docs
}));

ws.onmessage = (msg) => ingestMarketTick(JSON.parse(msg.data));
ws.onerror = handleReconnectBackoff;

The pipeline stores raw ticks and emits enriched aggregates (OHLC-style summaries) for analytics, while keeping the financial datasets separate from personal data.

Compliance & privacy (what we design for)

Financial integrations require strict data governance. Capital.com’s privacy policy states it acts as a data controller under the General Data Protection Regulation (GDPR), and it references retention obligations and AML/CFT processing for regulated services.

In our implementation, we follow “minimum necessary data” principles: we request only required fields, apply logging that avoids storing unnecessary sensitive identifiers, and provide explicit audit trails for ingestion runs.

For risk messaging, we keep the platform’s CFD risk disclosures visible in the deliverables (and in your admin UI if requested), because the underlying instruments involve leverage and can lead to rapid losses.

We also align operational controls with AML/CFT obligations (the privacy policy references “Prevention and Suppression of Money Laundering and Terrorist Financing Laws” in its disclosure), so your storage and export workflows can support compliance reviews.

Data flow / architecture (simple and testable)

A practical pipeline we often deliver:

  • Client App / Service → request “statement/ledger sync” jobs (time range + transaction type).
  • Authorized Connector → create session (`POST /api/v1/session`), store short-lived tokens in memory, and call history/order endpoints.
  • Normalization Layer → map raw payload fields (`transactionType`, `reference`, `epic`, `status`) into OpenFinance entities.
  • Storage + Exports → generate queryable views and produce CSV/Excel/JSON outputs for finance and risk tools.

This separation keeps personal data handling isolated from market-data analytics and makes testing straightforward (unit tests for mapping, integration tests for API responses).

Market positioning & user profile

Capital.com is built for retail and active traders who trade CFDs across crypto (e.g., BTC and other popular coins), shares, forex, indices, and commodities. Public-facing materials describe a global community of 800,000+ traders and emphasize demo trading plus 24/7 multilingual support.

From an integration perspective, the most common demand comes from teams targeting regions regulated by CySEC and other local authorities, plus users and clients who prefer mobile-first experiences (Android/iOS) with chart-heavy workflows connected to TradingView and MT5.

Our studio: deliverables you can ship

We deliver an integration you can operate, not just a report. The goal is a fast, compliant path from open/authorized access to usable APIs and documentation.

  • Integration spec: endpoint list, field mapping (OpenFinance entities), and query examples.
  • Working source code: connectors/adapters + a small service wrapper (your preferred language).
  • Protocol analysis report: session/auth flow, token usage, and rate-limit notes.
  • API docs + test plan: Postman-style examples, retry rules, idempotency and validation.
  • Compliance notes: data retention guidance, logging strategy, and risk/disclosure integration points.

Pricing starts at $300. When the project is scoped, we can deliver a working proof of integration first and only then proceed to payment upon satisfaction.

Workflow & API integration instructions

  1. Requirements: provide target app name, supported use cases (statement export, transaction sync, order automation), and desired output format.
  2. Data mapping: we map Capital.com screens/features to the OpenData/OpenFinance dataset schema (ledger events, orders, positions, market feed).
  3. Authorized connector build: implement session/auth handling and endpoint clients, then add rate-limit protection and token refresh behavior.
  4. Validation: run integration tests (sample date windows, transaction types, and order scenarios), then generate documentation and logs.
  5. Deliver & iterate: deliver code + API docs; iterate until your system ingests the data reliably and consistently.

Timeline depends on complexity. As references, charting-related integration typically takes about 1–2 weeks for the first workable version; larger multi-system exports can take longer.

FAQ

What do you need from me?

Provide the exact app you want to integrate (already provided), plus which data outputs you need: transaction history, statements, open positions, working orders, or market-data feeds.

Do you claim “open banking / PSD2” APIs?

This page focuses on authorized data access and Public API integration for trading data, then exposes it as OpenData/OpenFinance style endpoints for your reporting systems.

How do you handle privacy and audit?

We design least-privilege access, retention-aware exports, and ingestion logs that support compliance review without storing unnecessary personal data.

Contact information

Share the target app name and your corresponding requirements, and we will respond with a scoped integration plan for authorized API/protocol access and deliverables.

Go to /contact.html

If you already know your desired dataset (e.g., “transaction ledger + monthly statements”), include a sample date range and preferred output format.

About our studio

We are a technical service studio specializing in app interface integration and authorized API integration for global fintech programs. Our team focuses on protocol analysis, interface refactoring, OpenData/OpenFinance ingestion, and delivery of ready-to-use source code with documentation.

  • Designed for compliance and professional delivery (privacy-aware logging, minimization, and retention guidance).
  • Supports end-to-end workflows: protocol analysis → implementation → tests → interface documentation.
  • Delivers integration results as code and test plans so your engineering team can deploy quickly.
Original App Introduction (collapsed by default)

Bitcoin trading - Capital.com is designed for trading CFDs on bitcoin, ethereum, and other popular crypto and altcoins. You don’t need to own coins or have a separate crypto wallet to trade—your trading activity happens through the Capital.com platform.

In addition to crypto, the app supports CFDs across shares, forex, indices, and commodities. Traders can set stop-losses and take-profits to define risk limits, and they can use price alerts to stay informed about key bitcoin and crypto movements.

The interface includes fast, customizable charts with 100+ indicators, and provides in-app news so users can follow developments affecting markets. For learning, Capital.com offers guides and videos, plus demo trading with up to $100,000 in virtual funds.

Capital.com also emphasizes service quality: free deposits and withdrawals (depending on location and available methods such as Apple Pay, Visa/Mastercard, PayPal, and bank transfer), 24/7 support in English and additional language coverage during business hours, and transparent fee structure with zero commission and competitive spreads and overnight funding (other fees may apply).

Recent platform improvements include upgraded charts with TradingView, and a 2025 multi-chart feature on the web platform that helps compare multiple timeframes or instruments side by side.

Important risk disclosure: CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. Depending on the company, retail investor accounts can lose money when trading CFDs. Users should ensure they understand how CFDs work and consider whether they can afford the high risk of loss.