TorqueTorque

Search docs

Search Torque documentation pages & sections

API Layout

Torque Platform API v1 is organized by Financial Action runtime stage — READ → DECIDE → EXECUTE. Legacy paths remain stable aliases; new integrations should adopt the canonical layout below. Capabilities manifest v11 exposes the full route catalog on GET /api/v1/capabilities.

Top-Level Map

meta          GET /health, /capabilities, /openapi
accounts      GET /accounts/business, /accounts/wallet
read          GET /intelligence/feed | views/* | datasets/* | markets/*
decide        POST /decide/assistant/chat
execute       Actions — on_chain: POST /execute/**
              Actions — merchant: torque-checkout SDK + POST /webhooks/order-update

Alias responses include:

  • X-Torque-Canonical-Path — preferred path for new clients
  • X-Torque-Runtime-Stage — meta | accounts | read | decide | execute
  • X-Torque-Read-Profile — feed | dataset | market (READ routes only)

READ — Intelligence

One product lane with three read profiles. Auth: business API key (sk_live_…).

ProfileCanonical prefixUse when
feed/intelligence/feed, /intelligence/views/*Editorial carousel, desk lanes
dataset/intelligence/datasets/*Pipeline DTOs (funding, earnings, events)
market/intelligence/markets/*Live rate tiles (yield, lend/borrow catalog)
CanonicalLegacy aliasesSDK (0.1.3)
GET /intelligence/feedgetFeed()
GET /intelligence/views/trade-angles/intelligence/trade-anglesgetTradeAngles() / getView()
GET /intelligence/views/happening-now/intelligence/happening-nowgetHappeningNow() / getView()
GET /intelligence/views/brief/intelligence/briefgetView('brief')
GET /intelligence/views/market-outlook/intelligence/market-outlookgetView('market-outlook')
GET /intelligence/datasets/funding-radar/data/funding-radar, /widgets/funding-radargetDataset('funding-radar')
GET /intelligence/datasets/earnings-spotlight/data/earnings-spotlight, /widgets/…getDataset('earnings-spotlight')
GET /intelligence/datasets/events/data/eventsgetDataset('events', { days })
GET /intelligence/markets/yield/opportunities/yieldgetYieldOpportunities()
GET /intelligence/markets/lending/opportunities/lendinggetLendingOpportunities()

Surface guides: Intelligence (feed, datasets, markets).

DECIDE & EXECUTE

StageCanonicalLegacy aliasAuth
DECIDEPOST /decide/assistant/chat/assistant/chatsk_live_…
EXECUTEPOST /execute/trades/actions/trade/swapSmart wallet JWT
EXECUTEPOST /execute/trades/solana/actions/trade/swap/solanaSmart wallet JWT
EXECUTEPOST /execute/transfers/evm/actions/transfer/evmSmart wallet JWT
EXECUTEPOST /execute/transfers/solana/actions/transfer/solanaSmart wallet JWT
EXECUTEPOST /execute/transfers/btc/actions/transfer/btcSmart wallet JWT
EXECUTEPOST /execute/lends/evm/actions/lend/evmSmart wallet JWT
EXECUTEPOST /execute/borrows/evm/actions/borrow/evmSmart wallet JWT
EXECUTEtorque-checkout SDK (pay)sk_live_… + Business ID
EXECUTEPOST /webhooks/order-updatesk_live_…
AccountsGET /accounts/business/business/mesk_live_…
AccountsGET /accounts/wallet/wallet/meSmart wallet JWT

Guides: Accounts, Assistant, Actions.

SDK Namespaces

server.ts
import { createTorqueFromEnv } from 'torque-node'

const torque = createTorqueFromEnv()

// READ
await torque.read.intelligence.getFeed({ includeBrief: true })
await torque.read.intelligence.getDataset('events', { days: 30 })
await torque.read.intelligence.getView('trade-angles')
await torque.read.intelligence.getYieldOpportunities()

// DECIDE
await torque.decide.assistant.chat({ messages: [...] })

// Meta — manifest v11 includes layout + routes
await torque.capabilities()

Legacy flat accessors torque.intelligence and torque.assistant remain. Install torque-node@^0.1.3 — see Server SDKs.

Was this helpful?