API Reference

API Reference

Every endpoint is a GET request on https://api.opesborsa.com/api/v1/programmatic and needs an API key (see Authentication). The examples on this page are real responses, shortened to keep them readable.

Endpoint

What it returns

Scope

/coverage

The markets and indices we cover

Any active key

/search

Covered instruments that match a name or ticker

Any active key

/trend-signals

Quant trend signals, current or historical

signals:read

/research/{ticker}

The AI research report for one ticker

era:read

/themes

The list of investment themes

themes:read

/themes/{slug}

One theme and its constituents

themes:read

/themes/performance

Theme returns over several horizons

themes:read

‍

Coverage

GET /coverage returns the markets we cover (country and asset class codes) and the indices we cover, with each index's name, market, current number of members and any aliases. To get signals for every member of an index, pass its code as the market parameter of /trend-signals.

curl https://api.opesborsa.com/api/v1/programmatic/coverage \
  -H "Authorization: Bearer $OPES_API_KEY"
curl https://api.opesborsa.com/api/v1/programmatic/coverage \
  -H "Authorization: Bearer $OPES_API_KEY"
curl https://api.opesborsa.com/api/v1/programmatic/coverage \
  -H "Authorization: Bearer $OPES_API_KEY"
{
  "markets": [
    { "code": "US", "name": "United States", "asset_class": "equity" },
    { "code": "CRYPTO", "name": "Cryptocurrency", "asset_class": "crypto" }
  ],
  "indices": [
    { "code": "SP500", "name": "S&P 500", "market": "US",
      "description": "Standard & Poor's 500 Index", "members": 503, "aliases": ["SPX"] },
    { "code": "DAX40", "name": "DAX 40", "market": "DE",
      "description": "DAX 40 Index", "members": 40, "aliases": [] }
  ]
}
{
  "markets": [
    { "code": "US", "name": "United States", "asset_class": "equity" },
    { "code": "CRYPTO", "name": "Cryptocurrency", "asset_class": "crypto" }
  ],
  "indices": [
    { "code": "SP500", "name": "S&P 500", "market": "US",
      "description": "Standard & Poor's 500 Index", "members": 503, "aliases": ["SPX"] },
    { "code": "DAX40", "name": "DAX 40", "market": "DE",
      "description": "DAX 40 Index", "members": 40, "aliases": [] }
  ]
}
{
  "markets": [
    { "code": "US", "name": "United States", "asset_class": "equity" },
    { "code": "CRYPTO", "name": "Cryptocurrency", "asset_class": "crypto" }
  ],
  "indices": [
    { "code": "SP500", "name": "S&P 500", "market": "US",
      "description": "Standard & Poor's 500 Index", "members": 503, "aliases": ["SPX"] },
    { "code": "DAX40", "name": "DAX 40", "market": "DE",
      "description": "DAX 40 Index", "members": 40, "aliases": [] }
  ]
}

Index codes available today include SP500, NDX, DJIA, RUT2000, NDXIXIC (NASDAQ Composite), FTSE100, DAX40, CAC40, XU100 (BIST-100), GSPTSE, BOVESPA and COMMODITIES. The list grows over time, so read it from /coverage instead of hard-coding it.

‍

Search

GET /search finds covered instruments by company name or ticker. It copes with typos, so "telsa" still finds Tesla.

Parameter

Required

Description

q

Yes

A company name or ticker, at least 2 characters

asset_class

No

equity, crypto, commodity or fx

limit

No

The most results to return. Defaults to 10, maximum 20

curl "https://api.opesborsa.com/api/v1/programmatic/search?q=nvidia" \
  -H "Authorization: Bearer $OPES_API_KEY"
curl "https://api.opesborsa.com/api/v1/programmatic/search?q=nvidia" \
  -H "Authorization: Bearer $OPES_API_KEY"
curl "https://api.opesborsa.com/api/v1/programmatic/search?q=nvidia" \
  -H "Authorization: Bearer $OPES_API_KEY"

The response below is shortened. Further matches follow, best first.

{
  "query": "nvidia",
  "results": [
    { "symbol": "NVDA", "name": "NVIDIA Corporation", "asset_class": "equity" }
  ]
}
{
  "query": "nvidia",
  "results": [
    { "symbol": "NVDA", "name": "NVIDIA Corporation", "asset_class": "equity" }
  ]
}
{
  "query": "nvidia",
  "results": [
    { "symbol": "NVDA", "name": "NVIDIA Corporation", "asset_class": "equity" }
  ]
}

‍

Quant Trend Signals

GET /trend-signals returns quant trend signals. There are three ways to call it:

What you want

Parameters

The current signal for particular instruments

symbols=AAPL,MSFT (up to 50)

The current signal for every member of an index

market=NDX (any index code from /coverage)

The daily history of one instrument's signal

symbols=AAPL&start_date=2026-01-01&end_date=2026-06-30 (up to 366 days)

Parameter

Description

symbols

Tickers separated by commas. If you send both, this takes priority over market

market

An index code. Returns the current signal for all of its members

start_date, end_date

ISO dates. With exactly one symbol, you get its daily history in that range

timeframe

The bar length. 1D (daily) is the default and the only option today

The response is a list of signal objects, described under Signal fields below. Current signals come back one per instrument, sorted by ticker. A history comes back one per day, oldest first.

# Every member of the DAX 40
curl "https://api.opesborsa.com/api/v1/programmatic/trend-signals?market=DAX40" \
  -H "Authorization: Bearer $OPES_API_KEY"
<h1>A year of MSFT history</h1>
# Every member of the DAX 40
curl "https://api.opesborsa.com/api/v1/programmatic/trend-signals?market=DAX40" \
  -H "Authorization: Bearer $OPES_API_KEY"
<h1>A year of MSFT history</h1>
# Every member of the DAX 40
curl "https://api.opesborsa.com/api/v1/programmatic/trend-signals?market=DAX40" \
  -H "Authorization: Bearer $OPES_API_KEY"
<h1>A year of MSFT history</h1>

Signal fields

Field

Type

Description

symbol

string

The ticker

asset_class

string or null

equity, crypto, commodity or fx

ts

date

The date of the price bar the signal is based on

signal

string

positive or negative

signal_date

date

The date the current signal started

momentum

string or null

The short-term momentum reading

entry

number

The price when the current signal started

confidence

number

How confident the model is in the current signal, in %

target

number

The model's price target

upside

number

The modelled move from entry to target, in %

return

number

How the current signal has performed since it started, in %. It is measured in the signal's direction, so a positive number means the signal has been right. For a negative signal, that means the price has fallen

accuracy

number

How often the model has been right on this instrument in the past, in %

closing

number

The closing price on ts

‍

AI Research

GET /research/{ticker} returns the current AI research report for one ticker.

curl <a href="https://api.opesborsa.com/api/v1/programmatic/research/AAPL" data-framer-link="Link:{"url":"https://api.opesborsa.com/api/v1/programmatic/research/AAPL","type":"url"}">https://api.opesborsa.com/api/v1/programmatic/research/AAPL</a> <br>-H "Authorization: Bearer $OPES_API_KEY"<br>
curl <a href="https://api.opesborsa.com/api/v1/programmatic/research/AAPL" data-framer-link="Link:{"url":"https://api.opesborsa.com/api/v1/programmatic/research/AAPL","type":"url"}">https://api.opesborsa.com/api/v1/programmatic/research/AAPL</a> <br>-H "Authorization: Bearer $OPES_API_KEY"<br>
curl <a href="https://api.opesborsa.com/api/v1/programmatic/research/AAPL" data-framer-link="Link:{"url":"https://api.opesborsa.com/api/v1/programmatic/research/AAPL","type":"url"}">https://api.opesborsa.com/api/v1/programmatic/research/AAPL</a> <br>-H "Authorization: Bearer $OPES_API_KEY"<br>

A shortened response:

{<br>"ticker": "AAPL",<br>"updated_at": "2026-09-02T10:28:25.940336+00:00",<br>"report": {<br>"executive_summary": "Apple designs, manufactures, and markets iPhone, Mac, iPad...",<br>"company_fundamentals": "...",<br>"key_ratios": { "pe_ratio": 36.29, "forward_pe": 33.22, "roe": 148.75, "net_margin": 27.62, "debt_to_equity": 0.78 },<br>"insider_activity": "...",<br>"news_and_market_sentiment": "...",<br>"management_and_transcripts": "...",<br>"integrated_risk_assessment": "...",<br>"data_caveats_and_disclaimer": "..."<br>},<br>"themes": {<br>"seed_matches": [<br>{ "slug": "ai-accelerators", "theme": "AI Accelerators & Silicon",<br>"relevance": 0.75, "rationale": "..." }<br>]<br>}<br>}<br>
{<br>"ticker": "AAPL",<br>"updated_at": "2026-09-02T10:28:25.940336+00:00",<br>"report": {<br>"executive_summary": "Apple designs, manufactures, and markets iPhone, Mac, iPad...",<br>"company_fundamentals": "...",<br>"key_ratios": { "pe_ratio": 36.29, "forward_pe": 33.22, "roe": 148.75, "net_margin": 27.62, "debt_to_equity": 0.78 },<br>"insider_activity": "...",<br>"news_and_market_sentiment": "...",<br>"management_and_transcripts": "...",<br>"integrated_risk_assessment": "...",<br>"data_caveats_and_disclaimer": "..."<br>},<br>"themes": {<br>"seed_matches": [<br>{ "slug": "ai-accelerators", "theme": "AI Accelerators & Silicon",<br>"relevance": 0.75, "rationale": "..." }<br>]<br>}<br>}<br>
{<br>"ticker": "AAPL",<br>"updated_at": "2026-09-02T10:28:25.940336+00:00",<br>"report": {<br>"executive_summary": "Apple designs, manufactures, and markets iPhone, Mac, iPad...",<br>"company_fundamentals": "...",<br>"key_ratios": { "pe_ratio": 36.29, "forward_pe": 33.22, "roe": 148.75, "net_margin": 27.62, "debt_to_equity": 0.78 },<br>"insider_activity": "...",<br>"news_and_market_sentiment": "...",<br>"management_and_transcripts": "...",<br>"integrated_risk_assessment": "...",<br>"data_caveats_and_disclaimer": "..."<br>},<br>"themes": {<br>"seed_matches": [<br>{ "slug": "ai-accelerators", "theme": "AI Accelerators & Silicon",<br>"relevance": 0.75, "rationale": "..." }<br>]<br>}<br>}<br>

Field

Description

ticker, updated_at

The ticker, and when the report was last refreshed (UTC)

report

The written sections as text, plus key_ratios as numbers (margins and returns in %)

themes.seed_matches

The investment themes this company belongs to, each with a relevance score between 0 and 1. Use the slug with /themes/{slug}

If we don't have a report for a ticker yet, you get a 404.

‍

Investment Themes

All three theme endpoints need the themes:read scope.

GET /themes returns the theme list. Each main theme includes its sub_themes, and every theme has a slug, title, one_line summary, definition_paragraph, sector_hints and constituent_count.

GET /themes/{slug} returns one theme, main or sub-theme, with its latest basket of constituents. A shortened response:

{<br>"slug": "ai-power-cooling",<br>"title": "AI Power & Cooling",<br>"one_line": "Electrical & thermal for AI DCs.",<br>"definition_paragraph": "Power distribution, electrical equipment and liquid/thermal cooling that AI data centers depend on.",<br>"sector_hints": ["Technology", "Industrials", "Utilities"],<br>"constituents": [<br>{ "ticker": "VRT", "name": "Vertiv Holdings Co.", "price": 232.5, "chg_pct": -5.4571,<br>"role": "pure_play", "signal": "positive", "return": -1.75 },<br>{ "ticker": "CSCO", "name": "Cisco Systems, Inc.", "price": 104.51, "chg_pct": -3.7573,<br>"role": "derivative", "signal": "negative", "return": 4.6 },<br>{ "ticker": "GEV", "name": "GE Vernova Inc.", "price": 857.87, "chg_pct": -3.3767,<br>"role": "pure_play", "signal": null, "return": null }<br>],<br>"parent": { "slug": "ai-infrastructure", "title": "AI Infrastructure" }<br>}<br>
{<br>"slug": "ai-power-cooling",<br>"title": "AI Power & Cooling",<br>"one_line": "Electrical & thermal for AI DCs.",<br>"definition_paragraph": "Power distribution, electrical equipment and liquid/thermal cooling that AI data centers depend on.",<br>"sector_hints": ["Technology", "Industrials", "Utilities"],<br>"constituents": [<br>{ "ticker": "VRT", "name": "Vertiv Holdings Co.", "price": 232.5, "chg_pct": -5.4571,<br>"role": "pure_play", "signal": "positive", "return": -1.75 },<br>{ "ticker": "CSCO", "name": "Cisco Systems, Inc.", "price": 104.51, "chg_pct": -3.7573,<br>"role": "derivative", "signal": "negative", "return": 4.6 },<br>{ "ticker": "GEV", "name": "GE Vernova Inc.", "price": 857.87, "chg_pct": -3.3767,<br>"role": "pure_play", "signal": null, "return": null }<br>],<br>"parent": { "slug": "ai-infrastructure", "title": "AI Infrastructure" }<br>}<br>
{<br>"slug": "ai-power-cooling",<br>"title": "AI Power & Cooling",<br>"one_line": "Electrical & thermal for AI DCs.",<br>"definition_paragraph": "Power distribution, electrical equipment and liquid/thermal cooling that AI data centers depend on.",<br>"sector_hints": ["Technology", "Industrials", "Utilities"],<br>"constituents": [<br>{ "ticker": "VRT", "name": "Vertiv Holdings Co.", "price": 232.5, "chg_pct": -5.4571,<br>"role": "pure_play", "signal": "positive", "return": -1.75 },<br>{ "ticker": "CSCO", "name": "Cisco Systems, Inc.", "price": 104.51, "chg_pct": -3.7573,<br>"role": "derivative", "signal": "negative", "return": 4.6 },<br>{ "ticker": "GEV", "name": "GE Vernova Inc.", "price": 857.87, "chg_pct": -3.3767,<br>"role": "pure_play", "signal": null, "return": null }<br>],<br>"parent": { "slug": "ai-infrastructure", "title": "AI Infrastructure" }<br>}<br>

Field

Description

constituents[].role

How closely the company is tied to the theme: pure_play, derivative or peripheral

constituents[].price, chg_pct

The latest price and the day's change (chg_pct is in %)

constituents[].signal, return

The latest quant trend signal and its return in %. Both are null when there is no current signal

parent

On sub-themes only: the slug and title of the main theme

sub_themes

On main themes only: the sub-themes inside it

GET /themes/performance returns equal-weighted returns for every theme over today, 1W, 1M, 3M and YTD. Returns are decimal fractions, so 0.042 means 4.2%. The coverage figures show how many constituents had data for each period.

{<br>"base_currency": "USD",<br>"as_of_date": "2026-10-30",<br>"horizons": ["today", "1W", "1M", "3M", "YTD"],<br>"themes": [<br>{ "slug": "ai-accelerators", "title": "AI Accelerators & Silicon", "parent": "ai-infrastructure",<br>"constituent_count": 20,<br>"returns": { "today": -0.060, "1W": -0.036, "1M": -0.164, "3M": -0.139, "YTD": 0.420 },<br>"coverage": { "YTD": { "n": 20, "total": 20 } } }<br>]<br>}<br>
{<br>"base_currency": "USD",<br>"as_of_date": "2026-10-30",<br>"horizons": ["today", "1W", "1M", "3M", "YTD"],<br>"themes": [<br>{ "slug": "ai-accelerators", "title": "AI Accelerators & Silicon", "parent": "ai-infrastructure",<br>"constituent_count": 20,<br>"returns": { "today": -0.060, "1W": -0.036, "1M": -0.164, "3M": -0.139, "YTD": 0.420 },<br>"coverage": { "YTD": { "n": 20, "total": 20 } } }<br>]<br>}<br>
{<br>"base_currency": "USD",<br>"as_of_date": "2026-10-30",<br>"horizons": ["today", "1W", "1M", "3M", "YTD"],<br>"themes": [<br>{ "slug": "ai-accelerators", "title": "AI Accelerators & Silicon", "parent": "ai-infrastructure",<br>"constituent_count": 20,<br>"returns": { "today": -0.060, "1W": -0.036, "1M": -0.164, "3M": -0.139, "YTD": 0.420 },<br>"coverage": { "YTD": { "n": 20, "total": 20 } } }<br>]<br>}<br>


  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

Get start in minutes

Markets,

Access today!

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

Get start in minutes

Markets,

Access today!

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

Get start in minutes

Markets,

Access today!

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]

  • //

    [#opes]

    &

    [#borsa]