Discover/London Stock Exchange API
live

London Stock Exchange APIlondonstockexchange.com

Fetch FTSE 100 and FTSE 250 constituent data from the London Stock Exchange: stock codes, market cap, prices, change, and 52-week range.

Endpoint health
verified 2d ago
get_ftse100_constituents
1/1 passing latest checkself-healing
Endpoints
1
Updated
21d ago

What is the London Stock Exchange API?

The London Stock Exchange API exposes 1 endpoint — get_ftse100_constituents — that returns all constituents of a FTSE index in a single call, covering up to 250 stocks with 9 data fields per record including price, market cap, 52-week range, and percentage change. It handles pagination automatically so you receive the full constituent list without multiple round-trips.

Try it
FTSE index slug. Verified working values: 'ftse-100', 'ftse-250'. Other indices may exist but are not guaranteed to have data.
api.parse.bot/scraper/ffe09952-73ef-4452-9dd8-79807eba28e5/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ffe09952-73ef-4452-9dd8-79807eba28e5/get_ftse100_constituents?index_name=ftse-100' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace londonstockexchange-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: LSE FTSE Index API — fetch constituents and inspect trading data."""
from parse_apis.london_stock_exchange_ftse_index_api import LSE, IndexName, NotFoundError

client = LSE()

# Fetch the FTSE 100 index by constructing from its slug.
ftse100 = client.index(name=IndexName.FTSE_100)

# List constituents with a cap — each has price, market cap, 52-week range.
for stock in ftse100.constituents.list(limit=5):
    print(stock.code, stock.name, stock.currency, stock.mid_price, stock.market_cap)

# Drill into one constituent for 52-week range analysis.
top = ftse100.constituents.list(limit=1).first()
if top:
    print(top.code, top.high_52w, top.low_52w, top.change_percent)

# Refresh the index to get updated totals.
try:
    refreshed = ftse100.refresh()
    print(refreshed.name, refreshed.total, refreshed.count)
except NotFoundError as exc:
    print(f"Index not found: {exc}")

print("exercised: index construct / constituents.list / refresh / NotFoundError catch")
All endpoints · 1 totalmissing one? ·

Get all constituents of a FTSE index with their current trading data including price, change, market cap, and 52-week range. Automatically paginates through all server-side pages to return every constituent in a single response. The index_name parameter selects which FTSE index to query; defaults to ftse-100.

Input
ParamTypeDescription
index_namestringFTSE index slug. Verified working values: 'ftse-100', 'ftse-250'. Other indices may exist but are not guaranteed to have data.
Response
{
  "type": "object",
  "fields": {
    "count": "integer - number of constituent records returned",
    "index": "string - the index slug queried",
    "total": "integer - total number of constituents in the index",
    "constituents": "array of Constituent objects with trading data"
  },
  "sample": {
    "data": {
      "count": 100,
      "index": "ftse-100",
      "total": 100,
      "constituents": [
        {
          "code": "DCC",
          "name": "DCC PLC",
          "change": 265,
          "52w_low": 4188,
          "52w_high": 6265,
          "currency": "GBX",
          "mid_price": 5875,
          "last_price": 5805,
          "market_cap": 4732497079,
          "change_sign": "+1",
          "description": "DCC PLC ORD EUR0.25 (CDI)",
          "change_percent": 4.7834
        }
      ]
    },
    "status": "success"
  }
}

About the London Stock Exchange API

What the API Returns

The get_ftse100_constituents endpoint returns a constituent list for a given FTSE index. The response includes a top-level count (records returned), total (full index size), and index (the slug queried), plus a constituents array. Each constituent object carries code (LSE ticker), name, description, currency, market_cap, last_price, mid_price, change, and change_percent. This gives you a snapshot of current trading data for every member of the index in one response.

Index Coverage and the index_name Parameter

The index_name input accepts an index slug string. Two values are verified to return data: ftse-100 and ftse-250. Other slugs such as ftse-aim-uk-50 may be passed but data availability depends on what the London Stock Exchange publishes for that index. If a slug has no upstream data, the endpoint will return an empty or partial result rather than an error, so callers should check the count field.

Pagination and Response Shape

The endpoint paginates internally and aggregates all pages before returning, meaning count should equal total for supported indices. The market_cap field reflects the capitalisation figure as published on the LSE constituents table. Prices (last_price, mid_price) and change/change_percent reflect the values available at the time of the request and are suitable for intraday snapshots rather than tick-level streaming.

Reliability & maintenanceVerified

The London Stock Exchange API is a managed, monitored endpoint for londonstockexchange.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when londonstockexchange.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official londonstockexchange.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Screen all FTSE 100 stocks by market_cap to identify the largest-cap constituents for portfolio weighting.
  • Track daily price change and change_percent across FTSE 250 members to flag unusual movers.
  • Build a 52-week high/low dashboard using the range fields returned per constituent.
  • Sync LSE ticker codes and company names into an internal instrument master for trade reconciliation.
  • Monitor currency fields to identify non-GBP-denominated constituents listed on the LSE.
  • Generate a mid-price vs. last-price spread report across the full FTSE 100 constituent list.
  • Populate an index-tracker app with live constituent counts and per-stock trading data.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the London Stock Exchange offer an official developer API?+
The London Stock Exchange does not publish a documented public REST API for constituent or trading data. Its website provides data through its public web interface, which this Parse API surfaces in a structured format.
What does get_ftse100_constituents return for each stock?+
For each constituent the endpoint returns: code (ticker), name, description, currency, market_cap, last_price, mid_price, change (absolute), change_percent, and 52-week range data. The top-level response also includes count, total, and the index slug that was queried.
Which indices can I query, and are all FTSE indices supported?+
The ftse-100 and ftse-250 slugs are verified to return full constituent lists. Other slugs like ftse-aim-uk-50 may return incomplete or no data depending on upstream availability. The API currently covers these two primary indices. You can fork it on Parse and revise it to add support for additional index slugs as they become available.
Does the API return historical price data or individual trade history?+
Not currently. The API returns point-in-time constituent data: current prices, the day's change, and a 52-week range. Historical OHLCV series and individual trade records are not included. You can fork it on Parse and revise to add a historical data endpoint if that coverage is needed.
How fresh is the price data, and is it suitable for live trading systems?+
Prices reflect the values published on the LSE constituents table at the moment of the request. There is no sub-second tick feed or guaranteed latency SLA. The data is appropriate for intraday snapshots, screening, and monitoring — not for latency-sensitive execution systems that require direct market data feeds.
Page content last updated . Spec covers 1 endpoint from londonstockexchange.com.
Related APIs in FinanceSee all →
finanzen.net API
Search for stocks and assets, retrieve live prices, view index components, and access historical price data to track market performance and make informed investment decisions. Monitor real-time market quotes and analyze past price trends across multiple financial instruments on one platform.
asx.com.au API
Access Australian Securities Exchange (ASX) market data, including equity prices, index summaries, company details, market announcements, and company directory listings. Retrieve upcoming IPO and float information alongside comprehensive data on all ASX-listed companies.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.
hkex.com.hk API
Access real-time stock quotes, track market indices, view historical charts, and search for securities listed on the Hong Kong Stock Exchange. Stay informed with live company announcements and daily quotation reports to make better trading decisions.
marketindex.com.au API
Track ASX stock market data including company information, stock prices, dividends, director transactions, and sector performance. Search for stocks, monitor upcoming dividends, view market announcements, and analyze investment opportunities across the Australian securities exchange.
companiesmarketcap.com API
Track real-time market capitalization and rankings for global companies, search for specific firms, and access detailed financial metrics and historical performance data. Get comprehensive company profiles including current market position and financial trends to compare and analyze investment opportunities.
jse.co.za API
Access live JSE stock prices, company profiles, and market indices from the Johannesburg Stock Exchange. Search SENS announcements and view comprehensive market statistics to stay informed on JSE activity.
marketbeat.com API
Track comprehensive stock market data including real-time overviews, analyst ratings, earnings reports, insider trades, and institutional ownership across thousands of companies. Search stocks, analyze financial statements and profitability metrics, monitor short interest, explore options chains, and stay updated with market headlines and competitor analysis.