Links

Get All Webhooks

Programatically retrieve all your Helius webhooks.
Due to response size limitations, we will truncate addresses return to 100 per config.
To get all addresses, use our Get Webhook By ID endpoint.

GET /webhooks

get
https://api.helius.xyz
/v0/webhooks
Returns all webhooks.
Parameters
Query
api-key*
string
The api key.
Responses
200: OK
Webhooks for the given API key.
400: Bad Request
Invalid request.
401: Unauthorized
Unauthorized request.
403: Forbidden
Request was forbidden.
404: Not Found
The specified resource was not found.
429: Too Many Requests
Exceeded rate limit.
500: Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.

Example

const getWebhooks = async () => {
try {
const response = await fetch(
"https://api.helius.xyz/v0/webhooks?api-key=<PASTE YOUR API KEY HERE>",
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
}
}
);
const data = await response.json();
console.log({ data });
} catch (e) {
console.error("error", e);
}
};
getWebhooks();