80trust / 100

Sec Financials

by FiatDock in Markets & finance

x402 APIPassing, checked 2 h ago

A US company's reported financials from its SEC XBRL filings, by ticker or CIK: revenue, net income, diluted EPS, assets, liabilities, equity, cash, operating cash flow, shares, for its last 1-12 fiscal years or quarters, with the us-gaap tag behind each value. Nothing derived: an untagged value is null. US-GAAP filers only. Unknown tickers and outages are not charged. Pay-per-call via x402.

POST https://fiatdock.com/v1/sec/financials

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
175 ms typical, 235 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

POST https://fiatdock.com/v1/sec/financials

Each call costs $0.0045 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://fiatdock.com/v1/sec/financials
content-type: application/json

{
  "limit": 1,
  "period": "annual",
  "ticker": "AAPL"
}

Parameters

ParameterTypeRequiredDescription
limitintegerNoHow many periods, newest first, 1-12 (default 4)
periodstringNoannual (fiscal years, from 10-K filings; default) or quarterly (three-month periods) One of: annual, quarterly.
tickerstringNoStock ticker (AAPL, MSFT, BRK-B) or the company's SEC CIK number

Example response

The provider's example. We can't check it without paying. Shortened for display.

Example response, 60 lines
{
  "asOf": "2026-10-08T16:26:17.849Z",
  "company": {
    "cik": "0000320193",
    "name": "Apple Inc.",
    "ticker": "AAPL"
  },
  "concepts": {
    "revenue": {
      "order": [
        "us-gaap:Revenues",
        "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
        "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
        "us-gaap:SalesRevenueNet",
        "us-gaap:SalesRevenueGoodsNet",
        "us-gaap:SalesRevenueServicesNet",
        "us-gaap:RevenuesNetOfInterestExpense"
      ],
      "used": [
        "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax"
      ]
    }
  },
  "currency": "USD",
  "note": "As filed in XBRL (us-gaap, USD, consolidated — no segment facts). annual = facts from a 10-K-family filing tagged FY with a 350-380-day duration; quarterly = 80-100-day durations from any 10-K/10-Q filing; balance-sheet items are the values AT the period end. When several filings report the same period, the most recently filed value of the first tag in the field's fallback order is used (restatements win); `concepts` says which tag each value came from. Missing is null — nothing is computed: no Q4 derived from the year, no liabilities derived from assets minus equity, and since 10-Q cash flows are year-to-date, quarterly operating cash flow is null wherever no three-month figure was tagged. A quarterly row exists only for a period with a tagged three-month figure, so a fourth quarter appears only when the 10-K tags three months (many do not — the year is under period=annual). fiscalYear is the year the company's own report for that period states; null when the data holds that period o…",
  "period": "annual",
  "periods": [
    {
      "accessionNumber": "0000320193-25-000079",
      "cashAndEquivalents": 35934000000,
      "concepts": {
        "cashAndEquivalents": "CashAndCashEquivalentsAtCarryingValue",
        "epsDiluted": "EarningsPerShareDiluted",
        "netIncome": "NetIncomeLoss",
        "operatingCashFlow": "NetCashProvidedByUsedInOperatingActivities",
        "revenue": "RevenueFromContractWithCustomerExcludingAssessedTax",
        "sharesOutstanding": "CommonStockSharesOutstanding",
        "stockholdersEquity": "StockholdersEquity",
        "totalAssets": "Assets",
        "totalLiabilities": "Liabilities"
      },
      "epsDiluted": 7.46,
      "filed": "2025-10-31",
      "filingUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/",
      "fiscalPeriod": "FY",
      "fiscalYear": 2025,
      "form": "10-K",
      "latestFiled": "2026-07-31",
      "netIncome": 112010000000,
      "operatingCashFlow": 111482000000,
      "periodEnd": "2025-09-27",
      "revenue": 416161000000,
      "sharesOutstanding": 14773260000,
      "stockholdersEquity": 73733000000,
      "totalAssets": 359241000000,
      "totalLiabilities": 285508000000
    }
  ],
  "source": "SEC EDGAR XBRL company facts (data.sec.gov)"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.0045.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://fiatdock.com/v1/sec/financials' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":1,"period":"annual","ticker":"AAPL"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://fiatdock.com/v1/sec/financials' \
  -H 'content-type: application/json' \
  --data-raw '{"limit":1,"period":"annual","ticker":"AAPL"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.0045 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.0045" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.0045 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fsec%2Ffinancials&method=POST
const res = await pay("https://fiatdock.com/v1/sec/financials", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "limit": 1,
    "period": "annual",
    "ticker": "AAPL"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.0045 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.0045"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://fiatdock.com/v1/sec/financials",
        json={
            "limit": 1,
            "period": "annual",
            "ticker": "AAPL",
        },
    )
    print(res.status_code, res.text)

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402174 ms$0.0045
6 h agoPassed402204 ms$0.0045
10 h agoPassed402167 ms$0.0045
14 h agoPassed402298 ms$0.0045
18 h agoPassed402201 ms$0.0045
21 h agoPassed402194 ms$0.0045
25 h agoPassed402235 ms$0.0045
29 h agoPassed402175 ms$0.0045
32 h agoPassed402153 ms$0.0045
36 h agoPassed402214 ms$0.0045
40 h agoPassed402227 ms$0.0045
43 h agoPassed40241 ms$0.0045
47 h agoPassed402182 ms$0.0045
2 days agoPassed40243 ms$0.0045
2 days agoPassed402154 ms$0.0045