Webhook functionality is available to all users.
How It Works
Data Flow
Core Features
| Feature | Description |
|---|---|
| Real-time Delivery | Millisecond-level delivery after event trigger |
| Reliable Delivery | Auto-retry on failure |
| Signature Verification | HMAC signature anti-forgery |
| Filter Rules | Support event type filtering |
Supported Event Types
Webhook currently supports the following event types (channels):| Channel | Description | Typical Use |
|---|---|---|
sol.token.created | Solana new token creation | New token discovery, early opportunities |
sol.token.migrated | Solana token graduation/migration | Track tokens graduating from Pump.fun and similar platforms |
More event types are in development. Stay tuned!
Create Webhook Endpoint
API Endpoint
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Webhook callback URL (must be HTTPS) |
channels | array | Yes | List of event types to subscribe to |
description | string | No | Endpoint description |
disabled | boolean | No | Whether disabled, default false |
filterTypes | array | No | Filter types |
metadata | object | No | Custom metadata |
rateLimit | integer | No | Rate limit |
Request Example
Response Example
Webhook Notification Format
Webhook notification data structure is consistent with WebSocket push.New Token Created (sol.token.created)
| Field | Description |
|---|---|
a | Token address |
n | Token name |
s | Token symbol |
dec | Decimals |
cts | Created timestamp (milliseconds) |
lf.pa | Launch platform program address |
lf.pf | Protocol family |
lf.pn | Protocol name |
Token Graduated (sol.token.migrated)
| Field | Description |
|---|---|
mt.pa | Migration target platform program address |
mt.pf | Migration target protocol family |
mt.pn | Migration target protocol name |
Webhook URL Requirements
| Requirement | Description |
|---|---|
| ✅ HTTPS | Must use HTTPS protocol |
| ✅ Publicly Accessible | URL must be accessible from public internet |
| ✅ 2xx Response | Must return 2xx status code for success |
| ✅ Response Time | Should respond within 5 seconds |
| ✅ Idempotent Handling | Must handle duplicate requests |
Security Verification
Get Webhook Secret
After creating an endpoint, get the secret via this API:Signature Verification
Each Webhook request includes signature headers for verifying request origin:Verification Flow
Code Examples
- Node.js
- Python
- Go
Manage Webhook Endpoints
List Endpoints
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page (1-100, default 100) |
iterator | string | Pagination iterator |
order | string | Sort order (ascending/descending) |
Get Endpoint Details
Update Endpoint
Delete Endpoint
Rotate Secret
Best Practices
✅ Fast Response
✅ Idempotency Handling
Each event contains a unique identifier. Record processed events on your server:✅ Security
Always Verify Signature
Verify signature for every request
Use HTTPS
Ensure transport security
Rotate Secret Regularly
Recommended every 90 days
Protect Sensitive Data
Don’t log sensitive data
✅ Reliability
Implement Idempotency
Handle duplicate requests
Message Queue Buffer
Use queues for async processing
Reasonable Timeout
Avoid long blocking
Comprehensive Logging
Log key information for troubleshooting
FAQ
Not receiving Webhook requests?
Not receiving Webhook requests?
Troubleshooting steps:
- Confirm URL is accessible — Test if URL is reachable from public internet
- Check HTTPS — Must use a valid SSL certificate
- Check endpoint status — Confirm
disabledis nottrue - Check channels — Confirm subscribed to correct event types
Receiving duplicate events?
Receiving duplicate events?
This may be caused by retry mechanism. Implement idempotency handling:
- Use unique event identifier (channel + token address + timestamp)
- Check if already processed when receiving requests
- Use cache with TTL (like Redis) for storage
How to test Webhooks?
How to test Webhooks?
- Use ngrok to expose local service
- Create Webhook endpoint pointing to ngrok URL
- Wait for real events to trigger, or use test environment
- Check local service logs
API Endpoint Summary
| Function | Endpoint |
|---|---|
| List Endpoints | GET /v1/webhook/endpoint |
| Create Endpoint | POST /v1/webhook/endpoint |
| Update Endpoint | PATCH /v1/webhook/endpoint |
| Get Endpoint Details | GET /v1/webhook/endpoint/{id} |
| Delete Endpoint | DELETE /v1/webhook/endpoint/{id} |
| Get Secret | GET /v1/webhook/endpoint/{id}/secret |
| Rotate Secret | POST /v1/webhook/endpoint/{id}/secret/rotate |

