Automate Hi Energy AI with n8n
Use n8n to schedule and orchestrate Hi Energy AI REST calls without custom servers.
The built-in HTTP Request node authenticates with X-Api-Key, sends query
filters, and returns JSON you can map into Google Sheets, Slack, Notion, databases, or downstream AI nodes.
Authentication in n8n
Prefer the X-Api-Key header. In n8n, create a credential so the key is not stored as plain text
inside the workflow canvas.
- Open Credentials → create Header Auth (or HTTP Header Auth).
- Name:
X-Api-Key - Value: your personal Hi Energy AI API key
- On the HTTP Request node, set Authentication to that credential
X-Api-Key: YOUR_API_KEY
Accept: application/jsonSetup checklist
- Copy your API key from the API key page.
- Create an n8n Header Auth credential named
X-Api-Key. - Add a Manual Trigger or Schedule Trigger, then an HTTP Request node.
- Set Method
GETand URL tohttps://app.hienergy.ai/api/v1/deals(or another resource below). - Attach the credential, set
Accept: application/json, and add query parameters. - Execute the node, inspect JSON, then connect Sheets, Slack, or a database node.
HTTP Request examples
Configure each example as an n8n HTTP Request node. Replace query values as needed. Full field reference lives on each resource documentation page.
Deals
Deals API docs
GET https://app.hienergy.ai/api/v1/deals?active=true&page=1&per_page=50Flatten JSON:API deals.data[].attributes in a Set or Code node before writing rows.
Advertisers
Advertisers API docs
GET https://app.hienergy.ai/api/v1/advertisers?q=nike&page=1&per_page=25Filter with network, country, status, or domain as supported by the Advertisers API.
Transactions
Transactions API docs
GET https://app.hienergy.ai/api/v1/transactions?start_date=2026-07-01&end_date=2026-07-27&status=approvedUse date windows that match your finance close; status may be pending, approved, paid, or corrected.
Clicks
Clicks API docs
GET https://app.hienergy.ai/api/v1/clicks?start_date=2026-07-01&end_date=2026-07-27start_date and end_date are required; the range cannot exceed 90 days.
Contacts
Contacts API docs
GET https://app.hienergy.ai/api/v1/contacts?domain=example.comPrefer domain or advertiser_name for useful results. Unverified contacts stay excluded unless allowed.
Pagination pattern
List endpoints typically accept page and per_page (or limit).
In n8n:
- Start with
page=1and a stableper_page(for example 50). - Use a Loop / Split In Batches pattern that increments
pageafter each successful response. - Stop when the returned collection is empty or shorter than
per_page, or whennext_pageis missing. - Respect rate limits on rate-limited endpoints: 1,000 requests/hour for non-exempt Hi Energy accounts and 10,000/hour for other non-exempt scopes; paid users and the extension account are exempt.
# Example query progression
?page=1&per_page=50
?page=2&per_page=50
?page=3&per_page=50