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.
openapi: 3.2.0
info:
title: Equity Rank Com Rates API
version: 0.1.0
description: 'Operations tagged rates across 2 of this provider''s published API definitions: openapi.json, equity-rank-com-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Rates
paths:
/api/rates/treasury:
get:
tags:
- Rates
summary: Get Treasury Rate
description: 'Returns the current 10-year US Treasury rate (DGS10) from FRED.
Response: {"rate": 4.25, "source": "fred_api" | "fred_csv"}
Rate is in percentage form (4.25 = 4.25%, not 0.0425).
Valuation service converts to decimal for CAPM: rate_decimal = rate / 100.'
operationId: get_treasury_rate_api_rates_treasury_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Get Treasury Rate Api Rates Treasury Get
components:
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- openapi.json
- equity-rank-com-openapi.yml