81trust / 100

Sec Facts

by TBS SEC Filings API in Markets & finance

x402 APIPassing, checked 42 min ago

XBRL company financial facts from SEC EDGAR for AI agents and fundamental-analysis bots. Query by stock ticker or CIK for reported us-gaap concepts — revenues, net income, assets, liabilities, EPS and more — each with its latest value, unit, fiscal year and period, form and period-end date. Optionally filter to one concept. Keyless, USD, unified schema.

GET https://x402.tbs-digital.com/sec/facts

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
179 ms typical, 179 ms slowest 5%
Last check
42 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.tbs-digital.com/sec/facts?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.tbs-digital.com%2Fsec%2Ffacts
const res = await pay("https://x402.tbs-digital.com/sec/facts?ticker=AAPL");
console.log(await res.json());

Example input

{
  "ticker": "AAPL"
}

Example output

{
  "company": {
    "cik": "0000320193",
    "name": "Apple Inc."
  },
  "count": 1,
  "facts": [
    {
      "concept": "Revenues",
      "end": "2023-09-30",
      "form": "10-K",
      "fp": "FY",
      "fy": 2023,
      "label": "Revenues",
      "unit": "USD",
      "value": 383285000000
    }
  ],
  "generated_at": "2026-08-11T12:00:00.000Z",
  "payer": {
    "address": "0x0000000000000000000000000000000000000000",
    "network": "base"
  },
  "request_id": "0b21c0e6-6a3f-4e2a-8b1e-2f9d4c7a1e55",
  "source": "sec-edgar"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
42 min agoPassed402267 ms$0.002
4 h agoPassed402179 ms$0.002
9 h agoPassed40259 ms$0.002