82trust / 100

Company Financials

by Company financials summary in Markets & finance

x402 APIPassing, checked 2 h ago

Key financial metrics (Revenue, Net Income, Operating Income, Total Assets, Liabilities, Equity, EPS, Operating Cash Flow) for a US public company in one call. Returns the latest annual and quarterly values from SEC XBRL filings. No XBRL knowledge needed - just pass a ticker.

GET https://agent402.tools/api/company-financials

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
192 ms typical, 192 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/company-financials?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%2Fagent402.tools%2Fapi%2Fcompany-financials
const res = await pay("https://agent402.tools/api/company-financials?ticker=AAPL");
console.log(await res.json());

Example input

{
  "ticker": "AAPL"
}

Example output

{
  "cik": "0000320193",
  "entityName": "Apple Inc.",
  "metrics": [
    {
      "label": "Revenue",
      "latestAnnual": {
        "form": "10-K",
        "period": "2024-09-28",
        "value": 391035000000
      },
      "latestQuarterly": {
        "form": "10-Q",
        "period": "2025-03-29",
        "value": 94930000000
      },
      "tag": "Revenues"
    },
    {
      "label": "Net Income",
      "latestAnnual": {
        "form": "10-K",
        "period": "2024-09-28",
        "value": 93736000000
      },
      "latestQuarterly": {
        "form": "10-Q",
        "period": "2025-03-29",
        "value": 24780000000
      },
      "tag": "NetIncomeLoss"
    }
  ],
  "source": "SEC EDGAR XBRL (public domain)",
  "ticker": "AAPL"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402190 ms$0.02
5 h agoPassed402192 ms$0.02
10 h agoPassed402229 ms$0.02