Hooks Endpoints
CoW Hooks analytics and data from Dune Analytics.
GET /hooks
Retrieves CoW Hooks data from Dune Analytics. This endpoint requires the DUNE_API_KEY environment variable to be configured.
Query Parameters
Response
Code Examples
cURL:
JavaScript:
Python:
Example Response
Error Response
Notes
- This endpoint requires the
DUNE_API_KEY environment variable to be set. If not configured, the endpoint will not be available.
- Responses are cached for 5 minutes to optimize performance and reduce Dune API usage.
The hooks endpoint uses the HooksService from the services library. For implementation details, see:
Last modified on March 11, 2026