As-filed XBRL fundamentals for any SEC-registered company, straight from the EDGAR company
As-filed XBRL fundamentals for any SEC-registered company, straight from the EDGAR companyconcept API (updated as filings are accepted). Query: ?cik=320193 (Apple) &tag=Revenues|Assets|NetIncomeLoss|EntityCommonStockSharesOutstanding... &taxonomy=us-gaap|dei (default us-gaap) &limit=N most recent facts per unit (1-40, default 8). Each fact carries period, value, fiscal year/period, form type and filing date, grouped by unit (USD, shares...). Served with a 12h cache.
10000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-11
updated
Provider
data.greeneris.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"cik": "320193",
"limit": "2",
"tag": "Revenues",
"taxonomy": "us-gaap"
},
"type": "http"
},
"output": {
"example": {
"cik": 320193,
"entity": "Apple Inc.",
"label": "Revenues",
"source": "SEC EDGAR XBRL companyconcept API (US federal data, public domain)",
"tag": "Revenues",
"taxonomy": "us-gaap",
"units": {
"USD": [
{
"end": "2018-09-29",
"filed": "2018-11-05",
"form": "10-K",
"fp": "FY",
"fy": 2018,
"start": "2017-10-01",
"value": 265595000000
}
]
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"cik": {
"description": "SEC Central Index Key, 1-10 digits (e.g. 320193 = Apple)",
"type": "string"
},
"limit": {
"default": "8",
"description": "Most recent facts per unit (1-40)",
"type": "string"
},
"tag": {
"description": "XBRL concept, e.g. Revenues, Assets, NetIncomeLoss",
"type": "string"
},
"taxonomy": {
"default": "us-gaap",
"enum": [
"us-gaap",
"dei"
],
"type": "string"
}
},
"required": [
"cik",
"tag"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://data.greeneris.io/v1/us/sec-fundamentals" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://data.greeneris.io/v1/us/sec-fundamentals");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://data.greeneris.io/v1/us/sec-fundamentals")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3918.json, and this resource appears in /discovery/resources and /discovery/search.