QuantSet Docs Developer console

Endpoints / Estimates, ratings and calendars

Analyst price targets, buy/hold/sell counts & profile

Read price targets, current recommendation counts and available company profile fields for one US or global equity listing. Pin snapshot_id for an archived observation. An unpinned read can fall back to live data.

GET/api/v1/analyst-consensus

API key3 credits per request Use a key with access to this operation.

View as MarkdownWhole API as text

Parameters

tickerstringrequired

Catalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.

snapshot_idstring

Pin the request to one immutable snapshot so a read across several pages stays consistent.

formatjson | csv

Return a JSON page or UTF-8 CSV rows.

Response

Response fields (30)

Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.

  • instrument_idstring

    The listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.

  • symbolstring

    The ticker without its market prefix.

  • namestring

    The company, fund or instrument name.

  • quote_currencystring

    The currency prices are quoted in. London listings quote in pence, shown as GBp.

  • financial_currencystring

    The currency the company reports its financial statements in.

  • current_pricenumber

    The latest observed trading price in quote_currency.

  • target_mean_pricenumber

    The mean analyst price target in quote_currency.

  • target_median_pricenumber

    The median analyst price target in quote_currency.

  • target_high_pricenumber

    The highest analyst price target in quote_currency.

  • target_low_pricenumber

    The lowest analyst price target in quote_currency.

  • upside_pctnumber

    Implied percentage upside or downside from current_price to target_mean_price.

  • analyst_countinteger

    How many analysts contributed to the estimate.

  • recommendation_keystring

    Consensus analyst rating summary, such as strong_buy, buy, hold, underperform or sell.

  • strong_buyinteger

    Count of covering analysts with a Strong Buy rating.

  • buyinteger

    Count of covering analysts with a Buy rating.

  • holdinteger

    Count of covering analysts with a Hold rating.

  • sellinteger

    Count of covering analysts with a Sell rating.

  • strong_sellinteger

    Count of covering analysts with a Strong Sell rating.

  • forward_penumber

    Forward price-to-earnings ratio based on forecast earnings.

  • peg_rationumber

    Price/earnings-to-growth ratio.

  • betanumber

    Historical beta relative to the local market benchmark.

  • shares_shortnumber

    Latest reported number of shares sold short.

  • short_pct_of_floatnumber

    Shares sold short as a percentage of public float.

  • held_pct_insidersnumber

    Percentage of shares held by company insiders.

  • held_pct_institutionsnumber

    Percentage of shares held by institutional investors.

  • next_earnings_datestring

    Next scheduled or estimated earnings release date, YYYY-MM-DD.

  • websitestring

    Official company website URL.

  • employeesinteger

    Reported full-time employee headcount.

  • business_summarystring

    Plain-text summary of the company's operations and segments.

  • observed_onstring

    Date this consensus and profile snapshot was collected, YYYY-MM-DD.

View response example or schema

Research questions

How wide is the sell-side price target range on Nvidia, and how are ratings distributed?

GET https://api.quantset.dev/api/v1/analyst-consensus?ticker=us:NVDA

Compare target_mean_price and target_median_price against target_low_price, target_high_price and current_price, then check analyst_count alongside strong_buy, buy, hold, sell and strong_sell.

What is the consensus target and buy/hold/sell breakdown for Toyota in Tokyo?

GET https://api.quantset.dev/api/v1/analyst-consensus?ticker=global:7203.T

Check quote_currency first so target_mean_price and current_price are compared in JPY, then read upside_pct, strong_buy, buy, hold and next_earnings_date.

Reading the results

Targets use quote_currency. upside_pct is 100 × (target_mean_price / current_price − 1). It measures the gap at the observation date. The target analyst count and the recommendation counts can cover different groups.

Agents using MCP can request get_estimates_and_earnings with view=consensus and ticker. Use view=estimates for EPS or revenue forecasts.

Coverage and limits

Coverage varies by listing and field. A null rating count means unavailable. A zero is a reported count. A known listing with no observation returns an empty data array.

A pinned read uses the warehouse archive. An unpinned read can return a live observation with snapshot_id set to null and provenance.observed_at populated. A temporarily unavailable feed or archive returns HTTP 503.

Related guides

Which analyst endpoint to use

CSV, spreadsheets and agents

The same rows as a spreadsheet-ready table. Add format=csv to the request.

curl "https://api.quantset.dev/api/v1/analyst-consensus?ticker=us:NVDA&format=csv" -H "X-API-Key: YOUR_API_KEY"

Or pull it straight into Google Sheets with one formula. Excel and larger pulls

=IMPORTDATA("https://api.quantset.dev/api/v1/analyst-consensus?ticker=us:NVDA&format=csv&apikey=YOUR_API_KEY")

AI agents reach this dataset through the get_estimates_and_earnings tool on the MCP server, with no code. Connect Claude, ChatGPT, Cursor or your own agent

Errors

StatusCodeWhat to do
400conflicting_credentialsSupply one credential.
401invalid_credentialsSupply a valid API key.
402insufficient_creditsReduce the request ceiling or refill your credits.
403insufficient_accessYour key does not have the required access.
404unknown_instrumentThe requested listing is absent from the catalog.
409snapshot_changedStart the read again with the current snapshot.
413export_too_largeReduce the page size before requesting CSV again.
422invalid_parameter, ambiguous_instrumentCorrect the named parameter and retry.
429rate_limitedWait for Retry-After seconds.
500internal_errorThe request could not be completed.
503temporarily_unavailableRetry safe reads after a short delay.

Questions

What does Analyst price targets, buy/hold/sell counts & profile cost?
3 credits for each successful request. A request that fails costs nothing.
Which plan includes it?
Every account. Free credits, credit packs and subscriptions all read this data.
Can I get it as CSV or in a spreadsheet?
Yes. Add format=csv to the request. In Google Sheets, put that URL inside IMPORTDATA with a data-only key in apikey.
Can an AI agent use this?
Yes. On the QuantSet MCP server it is the get_estimates_and_earnings tool, so Claude, ChatGPT, Cursor and other clients can call it with no code.
What does null mean in the response?
The value could not be confirmed. It is never a zero, so treat it as missing in your own calculations.