Hargreaves Lansdown (HL) API integration & OpenFinance services

FCA-aware protocol analysis, ISA / SIPP statement APIs, and Open Banking integration for the UK’s largest D2C investment platform

From $300 · Pay-per-call available
OpenData · OpenFinance · OpenBanking · HL protocol analysis

Connect Hargreaves Lansdown portfolios, ISAs, SIPPs and Active Savings to your stack

Hargreaves Lansdown holds more than £150 billion of UK retail assets across over 1.9 million Active Clients, yet its public surface for developers is narrow: only the Active Savings cash hub is exposed via Open Banking, while everything else — ISA holdings, SIPP positions, Fund & Share trades — sits behind the mobile app and the secure web portal. We bridge that gap with compliant, authorized integrations.

Account & session APIs — Mirror the HL mobile login (username, secure-number challenge, Touch/Face ID re-auth) to issue stable bearer tokens for downstream services.
Portfolio & statement export — Pull holdings, book cost, current value, and itemized transactions across ISA, LISA, SIPP, JISA, JSIPP, Fund & Share and Active Savings; export as JSON, CSV or PDF.
Live UK + overseas market data — Surface live UK share prices (HL clients only), FTSE 100 / FTSE 250 / Dow / NASDAQ / Nikkei index levels, and EU/US/Canada quotes used inside the app.
Open Banking pay-by-bank — Wrap the Ecospend-powered HL pay-by-bank journey to credit Active Savings or top up ISA / SIPP cash without card or manual transfer.

Screenshots from the HL mobile app

Each screen below corresponds to a real surface inside the Hargreaves Lansdown Android app — portfolio summary, dealing flow, watchlists, fund factsheets and account management. Tap any image to enlarge.

HL app screenshot 1
HL app screenshot 2
HL app screenshot 3
HL app screenshot 4
HL app screenshot 5
HL app screenshot 6
HL app screenshot 7
HL app screenshot 8

Data available for integration

The HL mobile app exposes a rich set of structured records behind its login. Below is the OpenData inventory we typically build against. Each row maps an in-app surface to a downstream system that benefits from the data.

Data typeSource surfaceGranularityTypical downstream use
Account list (ISA, LISA, SIPP, JISA, JSIPP, F&S, Active Savings)Account home / linked accounts screenPer-wrapper, per-client, real timeWealth dashboards, family aggregation, tax-wrapper allocation
Holdings & valuationPortfolio screenPer-instrument, units, book cost, current value, GBP & native ccyPerformance attribution, rebalancing, IFA reporting
Transaction historyStatement / activity screenPer-line, dated, with charge breakdownBookkeeping, capital gains computation, audit trail
Live UK share pricesWatchlist / quote screenTick-level (HL clients only)Algorithmic alerts, portfolio risk dashboards
Pending orders & stop-loss / limitTrade ticket screenPer-order, per-statusOrder monitoring, slippage analysis
Dividends & corporate actionsIncome / events feedPer-event, ex-date and pay-dateIncome forecasting, ISA/SIPP yield reports
Fund & share factsheetsResearch screenPer-instrument metadata, fees, performanceRobo-advice, screening engines, comparison sites
Active Savings cash hubOpen Banking AIS endpointsAccount, balance, transactions (PSD2 schema)Cash-flow planning, multi-bank aggregation

Typical integration scenarios

1. Wealth aggregation for IFAs

An independent financial adviser needs a single client view across HL, AJ Bell and Interactive Investor. We deliver a portfolio-sync worker that authenticates against HL each morning, pulls holdings and transactions, normalises CGT-relevant fields, and writes to the IFA's CRM. Maps to the OpenFinance "wealth aggregation" pattern under FCA Conduct of Business rules.

2. Tax-year reporting & CGT export

Self-employed investors approaching the UK self-assessment deadline need clean transaction exports across ISA wrappers (tax-free) and Fund & Share (taxable). The integration extracts trade-level data, classifies wrapper status, and produces a CSV ready for accounting tools such as FreeAgent or Xero. This is the OpenData "structured statement export" pattern.

3. Active Savings cash sweep

A treasury team uses HL Active Savings as part of a multi-bank cash ladder. We integrate the OBIE-registered HL Savings AIS endpoint to pull balances and transactions, then the Ecospend pay-by-bank flow to push deposits when rates change — an OpenBanking PSD2 AISP + PISP composition.

4. SIPP retirement-readiness dashboard

A pension-planning startup pulls SIPP and JSIPP holdings, contributions YTD, and drawdown options to project retirement income. The HL data is combined with state-pension forecasts, then exposed back to the user via a mobile dashboard. Matches the OpenFinance "pension data initiation" pattern referenced by the FCA's Open Finance feedback statement.

5. ISA top-up automation

A robo-advice provider lets clients automatically top up their HL Stocks & Shares ISA from a current account each payday. We wrap the HL pay-by-bank journey (Ecospend), schedule it on a salary trigger, and write a confirmation back to the client app — combining account information and payment initiation under PSD2.

Technical implementation

Login & session bootstrap (mobile flow)

POST /api/v1/hl/auth/login
Content-Type: application/json

{
  "username": "alice.smith",
  "dob_day": 14,
  "dob_month": "06",
  "secure_number_indices": [2, 4, 6],
  "secure_number_digits": ["3", "9", "1"],
  "device_fingerprint": "ab12cd34..."
}

200 OK
{
  "session_id": "sess_8f2c...",
  "access_token": "eyJhbGciOi...",
  "expires_in": 1800,
  "requires_2fa": false,
  "client_id": "HL-1234567"
}

Portfolio & statement export

POST /api/v1/hl/statement
Authorization: Bearer <ACCESS_TOKEN>

{
  "account_id": "ISA-001",
  "wrapper": "STOCKS_AND_SHARES_ISA",
  "from_date": "2025-04-06",
  "to_date":   "2026-04-05",
  "include_dividends": true,
  "format": "json"
}

200 OK
{
  "account_id": "ISA-001",
  "currency": "GBP",
  "valuation_gbp": 48230.55,
  "transactions": [
    {"date":"2025-05-11","ref":"BUY","sedol":"B1YW440",
     "qty":12,"price":48.21,"charges_gbp":11.95,
     "wrapper":"ISA"},
    {"date":"2025-08-30","ref":"DIV","sedol":"BD6K457",
     "amount_gbp":24.10,"tax_credit":0.00}
  ],
  "next_page": null
}

Active Savings — OBIE Open Banking AIS

GET /open-banking/v3.1/aisp/accounts/{accountId}/transactions
Host: api.hl.co.uk
Authorization: Bearer <OAUTH2_AUTH_CODE_FLOW_TOKEN>
x-fapi-financial-id: 0015800001ZEZ8TAAX
x-fapi-interaction-id: 4c5e1b...

// Response follows Open Banking
// Read/Write Data API v3.1 (OBReadTransaction6)
{
  "Data": {
    "Transaction": [{
      "AccountId": "AS-77231",
      "TransactionId": "TX-901",
      "BookingDateTime": "2026-04-12T09:14:22Z",
      "Amount": {"Amount":"500.00","Currency":"GBP"},
      "CreditDebitIndicator": "Credit",
      "TransactionInformation": "Top-up via pay by bank"
    }]
  }
}

Webhook — new dividend / order fill

POST https://yourapp.example.com/webhooks/hl
X-OFL-Signature: t=1714400000,v1=4f9b...

{
  "event": "order.filled",
  "client_id": "HL-1234567",
  "account_id": "SIPP-002",
  "order_id": "ORD-55321",
  "sedol": "BMTRWH7",
  "filled_qty": 50,
  "avg_price": 102.34,
  "currency": "GBP",
  "ts": "2026-04-29T10:45:11Z"
}

Compliance & privacy

Hargreaves Lansdown Asset Management Ltd is authorised and regulated by the UK Financial Conduct Authority (FCA Register number 115248). Hargreaves Lansdown Savings Ltd is listed in the Open Banking regulated-provider directory as an ASPSP for Active Savings.

Every integration we deliver follows three concrete rules: (1) explicit user authorization or documented public/AISP endpoints — no scraping without consent; (2) UK GDPR data-minimization — we only store the fields the downstream system actually needs; (3) full audit logging of consent grants, token refreshes and data pulls so the client can satisfy FCA and ICO information requests.

For higher-touch deployments we also align with PSD2 SCA rules for any payment-initiation step, and CASS for any flow that touches client money on the Active Savings cash hub.

Typical modules

  • HL session bootstrap with secure-number challenge handling
  • Portfolio, holdings and transaction synchronisation
  • ISA / LISA / SIPP / JISA wrapper classification engine
  • Active Savings AISP client (OBIE Read/Write API v3.1)
  • Ecospend-aware pay-by-bank initiation wrapper
  • Order webhook bus and dividend stream
  • Consent registry, token vault and refresh scheduler
  • HL Newsroom and factsheet research crawler (authorised)

Data flow & reference architecture

A reference HL integration is intentionally narrow and traceable. The full pipeline reads:

HL Mobile / Web Surface → OpenFinance Lab Adapter (auth, rate-limit, retry) → Normalised JSON Bus (Kafka / SQS) → Storage Layer (Postgres + columnar warehouse) → Client API Gateway / Webhooks

The adapter handles HL-specific quirks: secure-number challenges, session expiry after 30 minutes, and the difference between live UK share prices (entitled clients) and 15-minute delayed quotes. The normalised bus emits events such as order.filled, dividend.paid and statement.refreshed, so downstream systems — CRM, accounting, robo-advice, treasury — can subscribe to only what they need rather than polling.

Market positioning & user profile

Hargreaves Lansdown is the UK’s largest direct-to-consumer investment platform, headquartered in Bristol and serving more than 1.9 million Active Clients with assets under administration of around £150 billion. The HL app is mobile-first on Android and iOS, with a strong skew toward UK-resident retail investors aged 35–65 who hold a mix of ISA, SIPP and Fund & Share accounts. In late 2024 HL began letting users open ISAs, LISAs and Fund & Share accounts directly inside the app — signalling a wider transformation of its mobile experience and creating new integration surfaces (account-opening webhooks, KYC status callbacks, source-of-funds checks).

For B2B integrators, the platform’s scale means that any IFA, accountant, tax-software vendor, or wealth-aggregator app serving UK clients eventually needs a clean way to read HL data — which is the gap our service fills.

Similar apps & integration landscape

HL sits alongside a broad UK and European retail-investment ecosystem. Below are real apps in the same category. We list them purely as part of the integration landscape — in practice clients who integrate one of these often need a unified view across two or three platforms.

AJ BellHL’s closest direct rival; holds ISA, LISA, SIPP and dealing accounts. Unified holdings exports across HL + AJ Bell are a frequent IFA request.
Interactive Investor (ii)Flat-fee platform with ISA / SIPP / GIA wrappers. Integrators often pair ii transaction exports with HL for cross-platform CGT reports.
Vanguard InvestorLow-cost index-fund platform. Holdings data is structurally simpler but integrations follow the same wrapper-classification logic as HL.
Trading 212Commission-free broker with ISA and Invest accounts; over 5 million European users. A natural partner for HL aggregation when users hold both.
FreetradeMobile-first ISA / SIPP / GIA app. Integrators reuse much of the OAuth / session-token plumbing built for HL.
IG GroupLSE-listed broker with ISA, SIPP and CFD accounts. Users with both HL long-term holdings and IG short-term trades benefit from unified statements.
InvestEngineETF-focused platform with low fees and a managed-portfolio service; commonly aggregated alongside HL Fund & Share data.
MoneyfarmRobo-advice with discretionary ISA / SIPP portfolios. Integrators map Moneyfarm allocations against HL self-directed positions.
NutmegJP Morgan-owned digital wealth manager. Aggregating Nutmeg + HL gives clients a single view across managed and self-directed wrappers.
BestinvestEvelyn Partners’ D2C platform; relevant when integrators consolidate fund-research data alongside HL factsheets.

What we deliver

Deliverables checklist

  • OpenAPI / Swagger spec for every endpoint we expose
  • Protocol & auth flow report (HL secure-number, session refresh, OBIE OAuth2 / FAPI)
  • Runnable source code for login, portfolio, statement and pay-by-bank flows (Python or Node.js)
  • Automated test suite with sandbox fixtures and golden-file responses
  • Compliance briefing (FCA conduct, UK GDPR, OBIE customer-experience guidelines)
  • Operational runbook: token expiry, rate-limit handling, secure-number rotation

About OpenFinance Lab

We are an independent studio focused on fintech and OpenData / OpenFinance / OpenBanking integrations. Our team includes engineers from UK retail banks, payment gateways, mobile protocol-analysis labs, and cloud platforms. We have shipped end-to-end integrations against UK D2C investment platforms, EU PSD2 ASPSPs, and APAC payments rails — all under explicit user authorization or documented public APIs.

  • Two engagement models: source-code delivery from $300 (pay on satisfaction) or pay-per-call hosted API
  • Coverage: UK (FCA / OBIE), EU (PSD2 / EBA), and global retail-investment apps
  • Stacks: Python, Node.js, Go, Java; Kafka, Postgres, Redis
  • Optional: SOC2-aligned logging, NDA, dedicated support channel

Engagement workflow

  1. Scope confirmation: which HL wrappers (ISA / LISA / SIPP / Active Savings) and which fields you actually need.
  2. Protocol analysis & API design: 2–5 business days, including secure-number flow validation.
  3. Build & internal validation: 3–8 business days, with sandbox or read-only HL test account.
  4. Documentation, code samples and test cases: 1–2 business days.
  5. First usable delivery: 5–15 business days; OBIE-registered AISP/PISP work may take longer.

FAQ

Does Hargreaves Lansdown offer an official public API?

HL publishes Open Banking endpoints for its Active Savings cash hub via the OBIE directory, and uses Ecospend for pay-by-bank flows. There is no broad public API for ISA, SIPP or Fund & Share holdings, so most non-savings integrations rely on session-based protocol analysis or AISP partners under FCA authorization.

What HL data can you typically integrate?

Login session and 2FA, account list (ISA / SIPP / LISA / Fund & Share / Active Savings), holdings with units, book cost and current value, transaction history with dates and tax wrappers, pending orders, watchlists, dividend and corporate-action records, and fund / share factsheet data.

How do you handle compliance for HL integrations?

We work only under explicit user authorization or documented public/AISP endpoints. Engagements follow UK GDPR data-minimization principles, FCA conduct requirements for client data, and OBIE’s Open Banking standards where applicable. NDAs and SOC2-aligned logging are available on request.

How long does an HL integration take to deliver?

A first usable drop covering login, account list and statement export typically takes 5 to 12 business days. Pension drawdown flows, multi-account aggregation, or AISP-grade integrations using Open Banking can take 3 to 6 weeks depending on regulator approvals.

Contact

For quotes, sandbox access, or to submit your target HL integration scope, open our contact page:

Contact page

📱 Original app overview (Hargreaves Lansdown — appendix)

Hargreaves Lansdown is the UK’s No. 1 investment and savings platform for individual investors. The app puts portfolio management, dealing and savings in one place, with Touch ID / Face ID login, linked family accounts, and on-the-go top-ups and withdrawals.

Trading. Free live UK share prices for HL clients, dealing across thousands of UK shares and bonds plus over 2,500 funds, overseas dealing in Europe, US and Canada, and stop-loss / limit orders.

Discovery. Watchlists, virtual portfolios, enhanced fund and share factsheets, FTSE 100 and global index levels (Dow Jones, NASDAQ, Nikkei 225), commodity and currency prices, plus research from HL’s investment team and the HL Newsroom.

Tax wrappers. Cash ISA, Stocks & Shares ISA, Lifetime ISA and Junior ISA, plus the ability to manage all ISAs in one place and move money between them.

Retirement. SIPP, JSIPP and Lifetime ISA wrappers, retirement planning calculators, pension drawdown, annuities and lump-sum options. Pensions are designed to fund retirement, so money cannot usually be taken out until at least age 55 (57 from 2028).

Important information. Investments can fall in value as well as rise, so you could get back less than you invest. Tax rules can change and any reliefs depend on your circumstances. This is not personal advice.

Hargreaves Lansdown Asset Management Ltd, One College Square South, Anchor Road, Bristol, BS1 5HL. Authorised and regulated by the Financial Conduct Authority (FCA Register number 115248). Registered in England and Wales, registration number 1896481. Support: app@hl.co.uk · www.hl.co.uk.

Last updated: 2026-04-29