List Opportunities By Distributor
Changed onReturns active opportunities visible to a distributor (per its earn details configuration), with the same pagination, filtering and sorting as /opportunities.
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
Distributor ID whose earn details config scopes the results
Query parameters
Case-insensitive match on name, description or token address
Comma-separated numeric chain IDs (deposit tokens), e.g. '1,43114'
Deposit token in 'address-chainId' format, e.g. '0xb31f...-43114'
Comma-separated deposit token symbols (case-insensitive, OR logic)
Comma-separated tag codes
Comma-separated curator organization ids
Comma-separated provider organization ids
Comma-separated partner organization ids
Comma-separated lending protocol organization ids
Minimum TVL in USD
Maximum TVL in USD
Minimum estimated APR
Maximum estimated APR
Filter by featured flag
When true, only opportunities with direct interaction enabled
When true, only opportunities with routed swap entry enabled
When true, only opportunities with deposits enabled
When true, only opportunities with withdrawals enabled
When true, only opportunities with asynchronous deposits
When true, only opportunities with asynchronous withdrawals
When true, include each opportunity's TVL, LP count and APY with their movement over the trailing day, week and month
One of: tvl, name, type, apr, curator, provider (defaults to tvl)
asc or desc (defaults to desc)
Response
OK
Example response
{
"data": [
{
"curator": {
"id": "248df4b7-aa70-47b8-a036-33ac447e668d"
},
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"incentives": [
{
"id": "248df4b7-aa70-47b8-a036-33ac447e668d"
}
]
}
]
}Changes
- info
added the new optional
queryrequest parameterincludeDeltas - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterpageLimit - info
added the new optional
queryrequest parameterpageSize - info
added the optional property
/to the response with the status
- info