{
  "x402Version": 2,
  "id": 168,
  "slug": "168",
  "resource": "https://x402.ottoai.services/analyst-ratings",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "ticker": "AAPL"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "ticker": {
                    "description": "Vendor-supported equity or ETF ticker (e.g. AAPL, NVDA, TSLA, SPY); returned monetary values use the vendor payload units and are not relabeled as USD.",
                    "type": "string"
                  }
                },
                "required": [
                  "ticker"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {},
                  "meta": {
                    "type": "object"
                  },
                  "reason": {
                    "description": "status=unavailable only; every >=400 is UNCHARGED",
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "success",
                      "unavailable"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_hc2dhq09"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "3000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x0E84dDEdAaE6A779c462C22a59F301EC31B6b808",
              "resourceUrl": "https://x402.ottoai.services/analyst-ratings",
              "scheme": "exact",
              "validUntil": 1789710164,
              "version": 1
            },
            "signature": "0xdaf9117ac2b202a9a96b1e964a2036bfa98f5d3a6963a7b8fa9b16db13cfc3437cc432a33fdbee0e7c18fe4ac1f0d9615bbf2d7b051b4faeb00ce90f2ee2cfb01c"
          },
          {
            "acceptIndex": 1,
            "format": "eip712",
            "payload": {
              "amount": "3000",
              "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
              "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
              "payTo": "6XcSfqJHr9vNW2vbiRaMqUYVm7shDgLepca54wUTDPN5",
              "resourceUrl": "https://x402.ottoai.services/analyst-ratings",
              "scheme": "exact",
              "validUntil": 1789710164,
              "version": 1
            },
            "signature": "0x6e568b2a2b99acfa12f7b5db2f1c614afe2cc6ad2f8ca752c544782fb4c886d376ae3f7a85fc4f76747bec96e1f42785ca30a68f3129e6ab6511a6f83601d3481c"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "otto-content-receipt": {}
  },
  "tags": [
    "bazaar",
    "builder-code",
    "offer-receipt",
    "otto-content-receipt"
  ],
  "sourceHost": "x402.ottoai.services",
  "lastUpdated": "2026-09-18T05:37:44.483Z",
  "quality": {
    "calls30d": 22,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-18T05:37:44.237Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.ottoai.services",
    "manifest_name": "x402.ottoai.services",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}