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 Compare 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: Compare
paths:
/compare/{cik}:
get:
summary: Get Compare
operationId: get_compare_compare__cik__get
parameters:
- name: cik
in: path
required: true
schema:
type: integer
title: Cik
- name: fy
in: query
required: true
schema:
type: integer
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/compare/320193
mimeType: application/json
description: 'Peer comparison for one US public company: its financial metrics side by side with its industry cohort''s percentiles for the same fiscal year, so an agent can tell whether margins, growth or leverage sit above or below sector norms.'
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: 'Peer comparison for one US public company: its financial metrics side by side with its industry cohort''s percentiles for the same fiscal year, so an agent can tell whether margins, growth or leverage sit above or below sector norms.'
tags:
- Compare
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.