API
Several data endpoints are used internally and by our partners. These have been created incrementally on an as-needed basis and are not intended for widespread use. This documentation has been added for convenience, but please do not rely on this API for mission-critical data. If you need additional data to use in your application, please reach out on Discord.
The are two separate hostnames where different endpoints are hosted. The source code can be found in the ousd-analytics and origin-website GitHub repositories.
Some dates are displayed as timestamps or epochs, which can be converted to human-readable dates here.
OUSD/OETH Analytics
Trailing yield
GET
https://analytics.ousd.com/api/v2/{symbol}/apr/trailing/{days}
The annualized trailing yield for OUSD or OETH over a given number of days
Numbers greater than 365 may produce unexpected results
Path Parameters
Name | Type | Description |
---|---|---|
days | Number | Number of days |
symbol* | String | ousd or oeth |
200: OKCopy
Yield history
GET
https://analytics.ousd.com/api/v2/{symbol}/apr/history
The recent annualized historical yield for OUSD or OETH
Path Parameters
Name | Type | Description |
---|---|---|
symbol* | String | ousd or oeth |
200: OKCopy
Collateral
GET
https://analytics.ousd.com/api/v2/{symbol}/collateral
A list of backing assets and their balances held by OUSD
Path Parameters
Name | Type | Description |
---|---|---|
symbol* | String | ousd |
200: OKCopy
Strategies
GET
https://analytics.ousd.com/api/v2/{symbol}/strategies{?structured}
A list of OUSD's yield-earning strategies and its token balances
Path Parameters
Name | Type | Description |
---|---|---|
symbol* | String | ousd |
Query Parameters
Name | Type | Description |
---|---|---|
structured | String |
200: OK unstructured200: OK structuredCopy
OGN circulating supply
GET
https://api.originprotocol.com/circulating-ogn
The number of Origin Tokens (OGN) in circulation
200: OKCopy
OGN total supply
GET
https://api.originprotocol.com/total-ogn
The total number of Origin Tokens (OGN) in existence
200: OK OKCopy
OETH total supply
GET
https://api.originprotocol.com/total-oeth
The total number of Origin Ether (OETH) tokens in existence
OGN protocol revenue
GET
https://api.originprotocol.com/api/v2/protocol-fees
Protocol revenue derived from OETH and OUSD performance fees
Last updated