One pay-per-call API for the chart work a trading agent does before it acts:
sma_cross, ema_cross, rsi_reversion, breakout (Donchian), macd_cross on up to 2000 candles, long-only or
long/short, fees per side, signals on close and fills at the next open. Return vs buy-and-hold, max drawdown, Sharpe, win rate,
profit factor, exposure, the last 20 trades and an equity curve.Not financial advice. Past performance does not guarantee future results. Indicators, risk metrics and backtests describe historical prices only. TASignal is read-only: it never trades, never holds funds and never asks for keys.
https://api.youraitools.co/tasignal/mcp (tool ta_bias, free preview)npx -y @agentgate-builder/tasignal (tools ta_indicators, ta_position_size, ta_backtest)/openapi.json · x402 manifest: /.well-known/x402| Route | Price | Example |
|---|---|---|
/v1/lite |
$0.005 | ?symbol=BTC&timeframe=1h |
/v1/risk |
$0.02 | ?symbol=ETH&timeframe=4h&account_usd=10000&risk_pct=1&side=long |
/v1/backtest |
$0.05 | ?symbol=SOL&timeframe=4h&strategy=ema_cross&fast=20&slow=50 |
/v1/preview |
free (10/min/IP) | ?symbol=BTC&timeframe=1h (bias, trend, regime only) |
All paid routes accept POST with the same fields as JSON. Payment: x402 v2 (PAYMENT-SIGNATURE; USDC on Base, Polygon,
Arbitrum One or Solana) or v1 (X-PAYMENT, Base), or a prepaid YourAITools credits key (Authorization: Bearer yatc_...).
Bad input (400), unknown symbols (404) and upstream failures (503) are never charged.
Candles come from Hyperliquid (candleSnapshot), with the dYdX v4 indexer as fallback; the source is named in every answer.
If Hyperliquid fails, the answer says so in sources_failed and confidence drops. If no source answers: HTTP 503
upstream_unavailable, not charged. Only closed candles are used. An indicator that needs more history than is available is
null with a note, never extrapolated.
Set TASIGNAL_X402_PRIVATE_KEY (a Base wallet with a little USDC) and install the optional peers:
npx -y -p @agentgate-builder/tasignal -p @x402/fetch -p @x402/evm -p viem tasignal. Spend guard: Base USDC only,
max $0.05 per payment, only to the TASignal payTo.
npm test (offline mocks) · npm start (Node server) · wrangler deploy (Cloudflare Worker). MIT.
agentgate-source: code mirror on Cloudflare Pages. All repos