Retrieve Multiple Campaigns
campaigns-searchSearch Merkl campaigns by name, status, chain, tokens, APR, TVL, rewards, tags, and more. Filter and sort results to find relevant opportunities.
Instructions
This endpoint enables you to search for campaigns by providing specific criteria through query parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by name | |
| page | No | 0-indexed page number | |
| sort | No | Sort by apr, tvl, rewards, last campaign creation date, or creation date | |
| tags | No | Filter by tag | |
| test | No | Include test campaigns | |
| type | No | A comma separated list of Campaign type | |
| items | No | Number of items returned by page (1-100). Default: 20 | |
| order | No | asc to sort ascending, desc to sort descending | desc |
| point | No | Include point campaigns | |
| action | No | A comma separated list actions. Legal values: POOL,HOLD,DROP,LEND,BORROW,LONG,SHORT,SWAP,INVALID | |
| search | No | Search amongst multiple values (token, protocols, tags, campaigns) | |
| status | No | A comma separated list of status. Legal values: LIVE,PAST,SOON | |
| tokens | No | A comma separated list of token symbol. Use to filter by token | |
| chainId | No | A comma separated list of chain ids. Example: ?chainId=1,42161 | |
| chainName | No | A comma separated list of chain names. Example: ?chainName=ethereum,arbitrum | |
| campaignId | No | Search the campaign by campaignId | |
| identifier | No | Filter by identifier (mainParameter) | |
| maximumApr | No | Maximum APR threshold | |
| maximumTvl | No | Maximum TVL threshold in USD | |
| minimumApr | No | Minimum APR threshold | |
| minimumTvl | No | Minimum TVL threshold in USD | |
| tokenTypes | No | Filter by token type. Use POINT to include point campaigns and PRETGE to include preTGE campaigns. | |
| endTimestamp | No | Filter campaigns ending before this timestamp | |
| opportunityId | No | Filter by opportunity ID | |
| startTimestamp | No | Filter campaigns starting after this timestamp | |
| distributionTypes | No | Filter by distribution type. Legal values: FIX_REWARD, MAX_REWARD, DUTCH_AUCTION |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | List of campaigns |