Opportunities
Get a unique opportunity by ID (hash) or composite identifier (chainId-type-identifier), including related campaigns. Use query parameters to filter results.
get/v4/opportunities/{id}/campaigns
Path parameters
idstring required
Opportunity ID (path-only). Two accepted forms: (1) internal numeric hash, ≤20 digits (e.g. 7673870997270712040), or (2) composite {chainId}-{type}-{identifier} (e.g. 1-ERC20LOGPROCESSOR-0x35Cbe8542E70fa2f7F9cDF129F19e593F4b4f560). The composite form is path-only — query filters (?id=, ?opportunityId=) only accept the numeric form. NOT a campaign ID. See ID types.
Query parameters
testboolean
Include test campaigns
pointboolean
Include point campaigns
campaignsboolean
Include campaign data. Will slow down the request
excludeSubCampaignsboolean
Exclude subcampaigns from the results.
Response
Response for status 200
Changes
No recorded changes to this endpoint across all 1 revision of this API.