Signal API
This section documents the Signal API.
About
The Signal API is the core of Katoshi - Allowing you to send trading commands to your Hyperliquid account and vaults via simple POST requests or using webhooks. See all action types below.
Quick Start
POST
https://api.katoshi.ai/signal?id=USER_ID
Replace USER_ID
with your unique ID, which can be found in the Settings Page
Headers
Content-Type
*
String
application/json
Request Body
action
*
String
Type of action
api_key
*
String
Katoshi API Key
bot_id
*
Number
ID of your bot
Example Request
{
"action": "open_position",
"api_key": "12345678-1234-1234-1234-123456789012",
"bot_id": 7
}
Testing & Debugging
The Terminal page can help you generate the JSON for each request as well as sending signals.
Our API endpoints and MCP servers are also available in Postman.
Perpetual & Spot Actions
Actions applying to both Perps and Spot market.
Market OrderLimit OrderScale OrderCancel OrderCancel AllClear AllPerpetual Market Actions
Actions applying only to Perps market.
Open PositionClose PositionStop Market OrderClose AllModify TP/SLCancel TP/SLSet LeverageSpot Market Actions
Actions applying only to Spot market.
Sell AllBot Control Actions
Actions to control your bot status
Start BotStop BotLast updated
Was this helpful?