circle-exclamation
This documentation page is currently under development and may be updated frequently.

Towerflow API

Automate trading strategies powered by signals and AI.

Towerflow allows you to create LLM-powered strategies, trigger them with cron schedules, and automatically execute trades or signals.

circle-info

This API uses HMAC authentication. Every request must be signed using your API secret.

Base URL

https://api.towerflow.io/api/v2


Getting Started

1

Create an account

Create a Towerflow account in the dashboard.

2

Generate an API key

Navigate to API Management and create a new key.

3

Sign your request

All requests must include the following headers:

Header
Description

api-key

Your public API key

timestamp

Current unix timestamp

signature

HMAC SHA256 signature

4

Make your first request

GET strategy/llm-session


Signature generation examples

circle-info

Signatures are generated using HMAC SHA256 and your API secret.

GET / DELETE requests use:

METHOD + PATH + TIMESTAMP

POST / PUT requests use:

METHOD + PATH + BODY + TIMESTAMP

TypeScript example (GET request)

import crypto from "crypto"

const API_KEY = "your_public_api_key"
const API_SECRET = "your_private_api_secret"

const method = "GET"
const path = "/api/v2/strategy/llm-session"
const timestamp = Math.floor(Date.now() / 1000).toString()

const message = method + path + timestamp

const signature = crypto
  .createHmac("sha256", API_SECRET)
  .update(message)
  .digest("hex")

TypeScript example (POST request)


Example request

circle-exclamation

Last updated