WebHooks / API Autotrading

Blazing App allows you to automate your trading through its webhook API integration. This feature enables you to connect your custom buy templates with external systems, providing seamless and automated trading. Below is a step-by-step guide to setting up and using Blazing Webhooks:
Webhooks
Webhooks work for all Blazing supported Chains and Dexes
Webhooks Benchmark
How to create a Webhook
Create a Template
In Blazing Tg bot - head to Settings → Templates → Create template


Additional information on each parameter when configuring the template:
📄Templates
After successfully creating the template, you will be able to see it in the list.

Create a webhook for a Template.
Head back to Settings → Webhooks settings.

Click Create Webhook

Select a Template to use with Webhook

Webhook URL: https://blazingworld.me/api/v1/order/webhook/3eab2772-1f3c-42f9-bc70-6c3a79c469bc/trigger/buy?b=8&l=en

Create a Template
Open left side menu → Template management

Click Add New Template

Configure your Template. Find all settings descriptions here:
Templates
Name your Webhook and select a Template that will be used for it.

Copy & Save your Webhook URL and Access Token.

Do not share your Access token with the public or 3rd party persons.
Managing Webhooks
To manage or update your webhooks, navigate to Settings -> Devices & Webhooks.

Interact with Webhook
To trigger the webhook, send a POST request to the Webhook URL with the Access Token included as a bearer token in the headers. The endpoint requires one parameter in the request body: the contract address of the token.
Header
Value
Content-Type
application/json
Accept
application/json
Authorization
Bearer <ACCESS_TOKEN>
User-Agent
BlazingBot/1.0
JSON Body
The body must contain a single parameter:
contract
string
The on-chain contract address of the token.
Example Request (curl)
curl -X POST '<https://blazingworld.me/api/v1/order/webhook/d3554524-453d-4d85-9a04-d78bc539a2f7/trigger/buy?b=8&l=en>' \\
-H 'Content-Type: application/json' \\
-H 'Accept: application/json' \\
-H 'Authorization: Bearer <ACCESS_TOKEN>' \\
-H 'Origin: <https://webhook.blazingworld.me>' \\
-H 'User-Agent: BlazingBot/1.0' \\
-d '{
"contract": "0xabc123..."
}'Key Notes
The
user-session-idis embedded in the URL. Do not include it as a header.The
contractfield must be a valid on-chain token address (e.g.0xabc123...).Ensure all headers and the JSON body are set correctly — otherwise, the webhook will fail.
Webhooks use case with DRBT bot
Last updated