Generated by API Evangelist
Written by API Evangelist tooling for S&P Global's API. It is a proposal applied on top of the contract, not a document S&P Global publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for LLM-ready Statements API
version: 1.0.0
extends: openapi/sp-global-statements-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-10-01'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 2
- target: $.paths['/api/v1/statements/'].post
update:
x-apievangelist-phrasing:
intent: Get financial statements for several companies
effect: read
questions:
- Can I pull balance sheets for a list of companies at once?
- How do I get the last few years of income statements for multiple companies?
- Can I get statements on a fiscal calendar instead of calendar years?
instructions:
- text: Get the {statement_type} for companies {company_ids}.
slots:
statement_type: requestBody.statement_type
company_ids: requestBody.company_ids
- text: Pull {period_type} {statement_type} statements for {company_ids} from {start_year} to {end_year}.
slots:
period_type: requestBody.period_type
statement_type: requestBody.statement_type
company_ids: requestBody.company_ids
start_year: requestBody.start_year
end_year: requestBody.end_year
- text: Get the last {num_periods} {statement_type} statements for companies {company_ids} on a {calendar_type} calendar.
slots:
num_periods: requestBody.num_periods
statement_type: requestBody.statement_type
company_ids: requestBody.company_ids
calendar_type: requestBody.calendar_type
method: generated
generated: '2026-10-01'
- target: $.paths['/api/v1/statements/{company_id}/{statement_type}/{period_type}/{start_year}/{end_year}/{start_quarter}/{end_quarter}'].get
update:
x-apievangelist-phrasing:
intent: Get one company's statement for a fixed period range
effect: read
questions:
- What did one company's cash flow statement look like between two specific quarters?
- Can I fetch a single company's balance sheet with years and quarters in the URL path?
instructions:
- text: Get the {statement_type} for company {company_id} as {period_type} from {start_year} Q{start_quarter} to {end_year} Q{end_quarter}.
slots:
statement_type: path.statement_type
company_id: path.company_id
period_type: path.period_type
start_year: path.start_year
start_quarter: path.start_quarter
end_year: path.end_year
end_quarter: path.end_quarter
- text: For single company {company_id}, show the {period_type} {statement_type} from {start_year}-{start_quarter} through {end_year}-{end_quarter}.
slots:
company_id: path.company_id
period_type: path.period_type
statement_type: path.statement_type
start_year: path.start_year
start_quarter: path.start_quarter
end_year: path.end_year
end_quarter: path.end_quarter
method: generated
generated: '2026-10-01'
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. See our Privacy Policy and
Terms.