81trust / 100

Frames

by x402stock.xyz in Markets & finance

x402 APIPassing, checked 4 h ago

One reported XBRL financial fact for every company that disclosed it in a calendar period, for peer screening. Pass ?tag= (e.g. Revenues), ?period= (CY2024, CY2024Q1, or CY2024Q1I for balance-sheet facts), ?taxonomy= (default us-gaap), ?unit= (default USD), and ?limit=. Sorted by value. Sourced from SEC EDGAR. From x402stock, a market & economic data API (x402, USDC).

GET https://x402stock.xyz/api/v1/frames

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/frames?limit=50&period=CY2024&tag=Revenues&taxonomy=us-gaap&unit=USD"
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%2Fx402stock.xyz%2Fapi%2Fv1%2Fframes
const res = await pay("https://x402stock.xyz/api/v1/frames?limit=50&period=CY2024&tag=Revenues&taxonomy=us-gaap&unit=USD");
console.log(await res.json());

Example input

{
  "limit": 50,
  "period": "CY2024",
  "tag": "Revenues",
  "taxonomy": "us-gaap",
  "unit": "USD"
}

Example output

{
  "as_of": "2026-06-01T15:00:00.000Z",
  "count": 1,
  "data": [
    {
      "accession": "0000320193-25-000123",
      "cik": "0000320193",
      "end": "2024-12-31",
      "entity": "Apple Inc.",
      "start": "2024-01-01",
      "value": 391035000000
    }
  ],
  "label": "Revenues",
  "period": "CY2024",
  "source": "sec_edgar",
  "tag": "Revenues",
  "taxonomy": "us-gaap",
  "total_filers": 5123,
  "unit": "USD"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402204 ms$0.02