Endpoints / Estimates, ratings and calendars
Analyst ratings and factor grades
Historical rank and Value, Growth, Momentum and VGM grades.
/api/v1/analyst-ratingsSandbox5 credits per request Try the sample free with mw_demo.
Parameters
tickerstringrequiredCatalog selector, such as NVDA, 7203.T, or a canonical ID such as us:NVDA.
limitinteger, 1 to 200Maximum number of rows to return.
Optional parameters (5)
startstringFirst date to include, as an ISO date (YYYY-MM-DD).
endstringLast date to include, as an ISO date (YYYY-MM-DD).
cursorstringOpaque continuation. Pass it unchanged with the original filters and snapshot_id.
snapshot_idstringPin the request to one immutable snapshot so a read across several pages stays consistent.
formatjson | csvReturn a JSON page or UTF-8 CSV rows.
Response
Each row has these fields. Rows arrive in data, next to schema_version, snapshot_id, total_count, next_cursor, provenance.
instrument_idstringThe listing's ID: a market prefix, a colon, then the ticker. For example us:NVDA, global:SHEL.L, crypto:BTCUSDT or index:SPX.
datestringThe trading day or observation date, YYYY-MM-DD.
rankstringvalue_gradestringThe factor grade for value, from A to F.
growth_gradestringThe factor grade for growth, from A to F.
momentum_gradestringThe factor grade for momentum, from A to F.
vgm_gradestringThe combined value, growth and momentum grade, from A to F.
Research questions
Did Nvidia’s published rank and grades move together?
GET https://api.quantset.dev/api/v1/analyst-ratings?ticker=us:NVDA&limit=12Read the observations in date order and compare rank with value_grade, growth_grade and momentum_grade.
Which grade changed during the first half of the year?
GET https://api.quantset.dev/api/v1/analyst-ratings?ticker=AAPL&start=2024-01-01&end=2024-06-30Compare dated observations for the same grade. Keep unchanged, missing and newly observed grades distinct.
Reading the results
A rank and a letter grade are ordinal measures. A one-step change does not translate into a fixed change in expected return.
Coverage and limits
Coverage is limited to dated observations in the series. Missing dates cannot establish when an analyst changed their view.
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-ratings?ticker=us:NVDA&limit=12&format=csv" -H "X-API-Key: mw_demo"
Or pull it straight into Google Sheets with one formula. Excel and larger pulls
=IMPORTDATA("https://api.quantset.dev/api/v1/analyst-ratings?ticker=us:NVDA&limit=12&format=csv&apikey=mw_demo")AI agents call this endpoint over HTTP, or read its Markdown version. Connect Claude, ChatGPT, Cursor or your own agent
Errors
| Status | Code | What to do |
|---|---|---|
| 400 | conflicting_credentials | Supply one credential. |
| 401 | invalid_credentials | Supply a valid API key. |
| 402 | insufficient_credits | Reduce the request ceiling or refill your credits. |
| 403 | insufficient_access | Your key does not have the required access. |
| 404 | unknown_instrument | The requested listing is absent from the catalog. |
| 409 | snapshot_changed | Start the read again with the current snapshot. |
| 413 | export_too_large | Reduce the page size before requesting CSV again. |
| 422 | invalid_parameter, ambiguous_instrument | Correct the named parameter and retry. |
| 429 | rate_limited | Wait for Retry-After seconds. |
| 500 | internal_error | The request could not be completed. |
| 503 | temporarily_unavailable | Retry safe reads after a short delay. |
Questions
- Can I try Analyst ratings and factor grades without signing up?
- Yes. Use the sandbox key mw_demo and the sample selectors on this page.
- What does Analyst ratings and factor grades cost?
- 5 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.
- How do I read more than one page?
- When next_cursor is not null, send it back as cursor together with the same snapshot_id, and repeat until it is null.
- 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. An agent calls it over HTTP like any client. Add .md to this page's address for a version written for agents.
- 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.
More in estimates, ratings and calendars
GET /api/v1/estimatesSandboxAnalyst price targets, buy/hold/sell counts & profileGET /api/v1/analyst-consensusEarnings historyGET /api/v1/earningsSandboxLive earnings filing feedGET /api/v1/earnings/feedEarnings release guidance, non-GAAP & KPIsGET /api/v1/earnings-releasesCompany and market newsGET /api/v1/newsMarket-wide earnings calendarGET /api/v1/calendar/earningsSandboxMarket-wide dividends and splits calendarGET /api/v1/calendar/corporate-actionsSandbox