80trust / 100

Sec Financials

by Agent Utility Suite in Markets & finance

x402 APIPassing, checked 2 h ago

Answers 'What were Apple's revenue and net income over the last five years?' or 'Is Tesla free-cash-flow positive?'. Key financials from SEC XBRL filings for a company's last fiscal years or quarters: revenue, gross and operating profit, net income, EPS, cash, debt, equity, operating cash flow, capex, free cash flow, margins and growth. Derived Q4 and quarterly cash flows are flagged. By ticker, CIK or name. Not charged if no data. $0.005 USDC per call.

POST
https://x402-agent-api.onrender.com/api/v1/sec-financials
Price
$0.005
per call in USDC
Uptime
100%
last 30 days
Response time
249 ms
624 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://x402-agent-api.onrender.com/api/v1/sec-financials

Each call costs $0.005 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://x402-agent-api.onrender.com/api/v1/sec-financials
content-type: application/json

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

Parameters

ParameterTypeRequiredDescription
cikstring or integerNoSEC Central Index Key, e.g. 320193. Use this, `ticker` or `company`.
companystringNoCompany name, e.g. "Apple" or "Coca-Cola". Use this, `ticker` or `cik`; a name matching several companies returns their tickers, free.
fiscal_yearintegerNoReturn periods up to this fiscal year (the calendar year the fiscal year ends in) instead of the latest, e.g. 2019.
limitintegerNoHow many periods to return, newest first (1-20, default 5). Default: 5.
periodstringNoFiscal years from 10-Ks (annual, the default) or single quarters (quarterly). One of: annual, quarterly. Default: "annual".
tickerstringNoUS stock ticker, e.g. AAPL, MSFT, BRK-B. Use this, `cik` or `company`.

Example response

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

Example response, 75 lines
{
  "cik": "320193",
  "company": "Apple Inc.",
  "concepts": {
    "net_income": "us-gaap:NetIncomeLoss",
    "revenue": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax"
  },
  "count": 1,
  "currency": "USD",
  "next_calls": [
    {
      "arguments": {
        "section": "mda",
        "ticker": "AAPL"
      },
      "price": "$0.01",
      "tool": "sec_filing_section",
      "why": "What does management say drove these numbers (MD&A of the latest 10-K)?"
    }
  ],
  "period": "annual",
  "periods": [
    {
      "accession_number": "0000320193-25-000079",
      "balance_sheet": {
        "cash": 29943000000,
        "current_assets": 152987000000,
        "current_liabilities": 176392000000,
        "long_term_debt": 85750000000,
        "stockholders_equity": 56950000000,
        "total_assets": 364980000000,
        "total_liabilities": 308030000000
      },
      "cash_flow": {
        "capital_expenditure": 9447000000,
        "dividends_paid": 15234000000,
        "free_cash_flow": 108807000000,
        "operating_cash_flow": 118254000000,
        "share_repurchases": 94949000000
      },
      "derived": [
        "free_cash_flow"
      ],
      "end": "2024-09-28",
      "filed": "2025-10-31",
      "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm",
      "fiscal_period": "FY",
      "fiscal_year": 2024,
      "form": "10-K",
      "income_statement": {
        "cost_of_revenue": 210352000000,
        "diluted_shares": 15408095000,
        "eps_basic": 6.11,
        "eps_diluted": 6.08,
        "gross_profit": 180683000000,
        "income_tax": 29749000000,
        "net_income": 93736000000,
        "operating_income": 123216000000,
        "pretax_income": 123485000000,
        "research_and_development": 31370000000,
        "revenue": 391035000000,
        "selling_general_administrative": 26097000000
      },
      "ratios": {
        "gross_margin_percent": 46.2,
        "net_margin_percent": 24,
        "operating_margin_percent": 31.5,
        "revenue_growth_percent": 2
      },
      "start": "2023-10-01"
    }
  ],
  "source": "sec-edgar-xbrl",
  "ticker": "AAPL"
}

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.005.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://x402-agent-api.onrender.com/api/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://x402-agent-api.onrender.com/api/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.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
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.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-agent-api.onrender.com%2Fapi%2Fv1%2Fsec-financials&method=POST
const res = await pay("https://x402-agent-api.onrender.com/api/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.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://x402-agent-api.onrender.com/api/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 agoPassed402266 ms$0.005
7 h agoPassed402223 ms$0.005
11 h agoPassed402234 ms$0.005
15 h agoPassed402241 ms$0.005
19 h agoPassed402241 ms$0.005
Show 10 older checks
24 h agoPassed402234 ms$0.005
28 h agoPassed402615 ms$0.005
32 h agoPassed402271 ms$0.005
36 h agoPassed402284 ms$0.005
40 h agoPassed402209 ms$0.005
44 h agoPassed402203 ms$0.005
2 days agoPassed402249 ms$0.005
2 days agoPassed402260 ms$0.005
2 days agoPassed402212 ms$0.005
3 days agoPassed402295 ms$0.005