81trust / 100

Edgar Company Facts

by d21 edgar_company_facts in Company & people data

x402 APIPassing, checked 54 min ago

SEC EDGAR Company Facts ($0.02): key XBRL facts for any US-listed company by ticker or CIK — Assets, Revenues, NetIncomeLoss, EPS and more, each with its latest value, period end, form, and filed date. Fetched live from data.sec.gov, not a snapshot. Body { ticker?, cik?, concepts?: string[] }. Check free /v1/edgar_company_facts/availability first.

POST https://draconic21-x402-api.onrender.com/v1/edgar_company_facts

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://draconic21-x402-api.onrender.com/v1/edgar_company_facts" \
  -H "content-type: application/json" \
  -d '{"concepts":["Assets","Revenues","NetIncomeLoss"],"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%2Fdraconic21-x402-api.onrender.com%2Fv1%2Fedgar_company_facts
const res = await pay("https://draconic21-x402-api.onrender.com/v1/edgar_company_facts", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"concepts":["Assets","Revenues","NetIncomeLoss"],"ticker":"AAPL"}),
});
console.log(await res.json());

Example input

{
  "concepts": [
    "Assets",
    "Revenues",
    "NetIncomeLoss"
  ],
  "ticker": "AAPL"
}

Example output

{
  "brand": "draconic21",
  "ok": true,
  "product": "edgar_company_facts"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
54 min agoPassed402202 ms$0.02
6 h agoPassed402204 ms$0.02