83trust / 100
Equity News
by Otto AI in News & content
x402 APIPassing, checked 3 h ago
Company news for a vendor-resolved equity: licensed Finnhub headlines from the past 7 days with time, source and summary. Served only when an article names the company or prints its ticker as a standalone uppercase symbol (`primary`: headline, `mentioned`: summary); an English-word ticker such as ON can match unrelated all-caps text. A week with none is refused uncharged (`no_recent_news`). Redirect URLs withheld; no sentiment is fabricated.
GET https://x402.ottoai.services/equity-news
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 153 ms typical, 153 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/equity-news?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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fequity-news
const res = await pay("https://x402.ottoai.services/equity-news?ticker=AAPL");
console.log(await res.json());Example input
{
"ticker": "AAPL"
}Example output
{
"data": {
"articles": [
{
"headline": "Example company headline",
"relevance": "primary",
"source": "Publisher"
}
],
"headlineCount": 2,
"provider": "Finnhub",
"relevance": {
"candidatesConsidered": 63,
"filteredOutCount": 27,
"floor": "ticker-primacy"
},
"sentiment": {
"shift": null,
"status": "unavailable"
},
"ticker": "AAPL",
"windowDays": 7
},
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 153 ms | $0.003 |