82trust / 100

Analyst Ratings

by Otto AI in Search & web

x402 APIPassing, checked 8 min ago

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.

GET https://x402.ottoai.services/analyst-ratings

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
70 ms typical, 70 ms slowest 5%
Last check
8 min ago
Next check
in 19 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/analyst-ratings?ticker=AAPL"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fanalyst-ratings
const res = await pay("https://x402.ottoai.services/analyst-ratings?ticker=AAPL");
console.log(await res.json());

Example input

{
  "ticker": "AAPL"
}

Example output

{
  "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"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
8 min agoPassed40277 ms$0.003
3 h agoPassed40270 ms$0.003
9 h agoPassed40269 ms$0.003