Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: SEC Fundamentals Aggregate API
description: Normalized SEC XBRL financial data for humans and agents. Pay per call with x402 (USDC) or use an API key. Not affiliated with the U.S. Securities and Exchange Commission.
contact:
name: Multyply Labs
url: https://sec.multyplylabs.com/
email: help@multyplylabs.com
version: 0.1.0
servers:
- url: https://sec.multyplylabs.com
tags:
- name: Aggregate
paths:
/aggregate/{metric}:
get:
summary: Get Aggregate
operationId: get_aggregate_aggregate__metric__get
parameters:
- name: metric
in: path
required: true
schema:
type: string
title: Metric
- name: industry
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 2-digit SIC group, e.g. 73
title: Industry
description: 2-digit SIC group, e.g. 73
- name: size
in: query
required: false
schema:
anyOf:
- type: string
pattern: ^(micro|small|mid|large|mega)$
- type: 'null'
title: Size
- name: fy
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Fy
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'402':
description: 'Payment required: the request carried neither a valid API key nor a payment. The x402 v2 challenge is base64-encoded JSON in the PAYMENT-REQUIRED header (decoded in the example below); the response body itself is empty. Pay it in USDC on Base, or send an API key.'
headers:
PAYMENT-REQUIRED:
description: Base64-encoded JSON x402 v2 payment challenge.
schema:
type: string
content:
application/json:
examples:
payment-required-header:
summary: The decoded PAYMENT-REQUIRED header; the body itself is empty
value:
x402Version: 2
resource:
url: https://sec.multyplylabs.com/aggregate/gross_margin
mimeType: application/json
description: Industry benchmark percentiles (p10/p25/median/p75/p90, mean and company count) for any financial metric across US public companies, grouped by industry (SIC) and revenue size bucket. Answers questions like 'what is the median gross margin of large software companies?'. Use it to judge a metric against its peer group; /compare/{cik} does the same for one named company.
accepts:
- scheme: exact
network: eip155:8453
amount: '50000'
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
payTo: '0x37837F88A645c0a7F7947a7e92cB46fD6A343C5D'
security:
- ApiKeyAuth: []
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '0.05'
scheme: exact
network: eip155:8453
asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
payTo: '0x37837F88A645c0a7F7947a7e92cB46fD6A343C5D'
description: Industry benchmark percentiles (p10/p25/median/p75/p90, mean and company count) for any financial metric across US public companies, grouped by industry (SIC) and revenue size bucket. Answers questions like 'what is the median gross margin of large software companies?'. Use it to judge a metric against its peer group; /compare/{cik} does the same for one named company.
tags:
- Aggregate
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key (help@multyplylabs.com). A request carrying a valid key is served without payment; without one, a paid route answers 402 with an x402 payment challenge.