$0.003
per call · USD Coin on Base
Analyst consensus for a vendor-resolved equity: the latest buy/hold/sell distribution (strong buy · buy · hold · sell · strong sell counts, total, and a deterministic consensus label) plus up to six months of the same distribution so an agent can read the DRIFT — is the street moving toward or away from the name. Vendor counts (Finnhub), our label rule stated in the payload. No price targets and no per-analyst grade actions are served.
Endpoint
GET https://x402.ottoai.services/analyst-ratings18
Calls / 30d
3
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.ottoai.services/analyst-ratings", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://x402.ottoai.services/analyst-ratings?ticker=AAPL" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"consensus": {
"asOf": "2026-08-01",
"buy": 34,
"hold": 5,
"label": "Buy",
"sell": 0,
"strongBuy": 17,
"strongSell": 0,
"totalRatings": 56
},
"consensusTrend": [
{
"buy": 34,
"hold": 5,
"period": "2026-08-01",
"sell": 0,
"strongBuy": 17,
"strongSell": 0,
"totalRatings": 56
}
],
"drift": {
"bullishSharePct": 91.07,
"monthsCovered": 4,
"netBullishDelta": 1
},
"methodology": "label = Buy when strongBuy+buy ≥ 60% of all ratings, upgraded to Strong Buy only when strongBuy alone is also ≥ 50% of all ratings; Sell / Strong Sell mirrored on the bearish side (sell+strongSell ≥ 60%, strongSell ≥ 50%); otherwise Hold — a Strong label always requires the 60% directional majority first. Counts are the vendor's (Finnhub monthly recommendation trends); drift compares (bullish − bearish) in the latest vs the oldest covered month.",
"provider": "Finnhub",
"ticker": "AVGO"
},
"meta": {
"degraded": false,
"generatedAt": "",
"stalenessSec": 0,
"validUntil": ""
},
"status": "success"
}Payment details
0x0e84ddedaae6a779c462c22a59f301ec31b6b808USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from Otto AI & similar services
Otto AI · Tweet Search
x402.ottoai.services
Search X/Twitter for any query and get the actual matching tweets — keyword, $CASHTAG, from:handle (a user timeline), @handle (mentions), or boolean OR. Each tweet returns author, full text (long-form note tweets included), timestamp, likes and retweets (reply/quote counts when available). Most-recent-first for real-time monitoring and alerting. Live X search backend, pay-per-call USDC, structured JSON.
Otto AI · Crypto News
x402.ottoai.services
Importance-ranked crypto headlines with per-article source links and publish times, plus a sentiment-scored market brief. Regenerated hourly; meta carries the snapshot's age and a fresh/stale verdict.
Otto AI · Equity News
x402.ottoai.services
Latest company news for a vendor-resolved equity: licensed Finnhub headlines from the trailing seven days with publication time, source, and summary. Only articles that name the company are served — labelled `primary` when the headline names it, `mentioned` when only the summary does — so a symbol-tagged story about another company never fills the list. Redirect URLs withheld; no sentiment is fabricated.