Seitrace Yield Provider API Integration Documentation
https://example-library-api.com
Each Provider must supply Seitrace with a stable HTTP API endpoint URL.
GET
https://api.yourdomain.com/seitrace/pools
). Please provide the exact URL to the Seitrace team during onboarding.Accept: application/json
.200 OK
application/json
Response
)data
, which holds an array of IPoolInfo
objects.
IPoolInfo
)data
array represents a single yield opportunity and must conform to the IPoolInfo
structure.
IDepositToken
)IRewardData
)IRewardToken
)name
_, _symbol
_, _icon_url
_, _decimals
_, _coingecko_id
): While Seitrace may attempt to look up missing token information using the provided address
, it is strongly recommended that Providers include this data directly in the API response for accuracy, performance, and correct display on Seitrace. Please provide null
only if the information is genuinely unavailable from your systems.PoolType
)ProviderInfo
)null
only when data is truly unavailable or not applicable. Accurate pool_url
, pool_address
, deposit_tokens.address
, reward_token.address
, total_apr
, and tvl
are particularly important.total_apr
, total_apy
, aprs.apr
, aprs.apy
, and fee
. Use USD for tvl
.500 Internal Server Error
) with a minimal JSON error message if possible, e.g., {"error": "Failed to retrieve pool data"}
.