AI TRADING SIGNAL PLUGIN

Live signals for agents that trade

Give your AI agent LONG/FLAT/SHORT trading signals, COMPASS macro scores, and RADAR calendar risk — via a simple REST API with \$0.01 per call x402 micropayments. No subscription. No API key. Just pay per signal.

How it works

01

Build your strategy

Use NAVIGATOR to define entry and exit rules with any combination of RSI, MACD, COMPASS, RADAR, ADX, ATR, and Hyperliquid intraday triggers. Save it and get a strategy ID.

02

Agent fetches signal

Your agent calls GET /api/strategy/{id}/signal. The endpoint returns LONG, FLAT, or SHORT — plus the raw COMPASS score, every condition result, and current price.

03

x402 pays automatically

The first call gets a 402 with payment details. Your x402-enabled client pays $0.01 from its EVM wallet and retries — no human input. Fully autonomous.

MCP installation

LIVE

Add AgentSignal to any MCP-compatible client in one step — Claude Code, Cursor, Windsurf, and more. The MCP server handles x402 payments automatically.

Claude Code — .claude/mcp.json
{
  "mcpServers": {
    "agentsignal": {
      "command": "npx",
      "args": ["-y", "@agent-signal/mcp@latest"],
      "env": {
        "AGENT_PRIVATE_KEY": "0x..."
      }
    }
  }
}
Claude Code CLI
claude mcp add agentsignal \
  --command npx \
  --args "-y @agent-signal/mcp@latest"
Set AGENT_PRIVATE_KEY to your EVM wallet private key. The MCP server handles x402 payments automatically — your agent never needs to reason about payment logic.

REST API

LIVE NOW

Works today with any HTTP client. Agents using x402 handle payments automatically. All other endpoints are free.

EndpointDescriptionCost
GET

/api/strategy/{id}/signal

Live LONG / FLAT / SHORT signal for a strategy. Includes COMPASS score, per-condition results, and current price.

$0.01
GET

/api/strategy/{id}/signals

30-day stored signal history for a strategy. Returns the last computed signal rows — not a live fetch.

Free
GET

/api/crypto-radar

Latest Crypto RADAR report — AI-generated crypto market risk assessment.

Free
POST

/api/backtest

Run a full backtest for a strategy. Returns equity curve, Sharpe, win rate, max drawdown.

$0.05
GET

/api/strategy

List all public strategies and templates available to trade.

Free

Signal response

Every signal call returns the direction, the full COMPASS macro context, and a per-condition breakdown so your agent knows why the signal fired.

Request
curl -H "Accept: application/json" \
  https://agentsignal.app/api/strategy/ba5a1fbc-7196-454a-b828-cf083e8527a8/signal
Response
{
  "strategy_id": "ba5a1fbc-7196-454a-b828-cf083e8527a8",
  "strategy_name": "BTC 10× Long",
  "symbol": "BTC-USD",
  "date": "2026-04-05",
  "signal": "LONG",
  "price": 82450.12,
  "compass": {
    "score": 3,
    "label": "Risk On"
  },
  "conditions": {
    "entry": [
      {
        "source": "compass",
        "field": "score",
        "op": "lte",
        "value": -3,
        "result": true
      }
    ],
    "exit": [
      {
        "source": "radar",
        "field": "score",
        "op": "gte",
        "value": 0,
        "result": false
      }
    ]
  }
}

Integration examples

Python (httpx)
import httpx

# x402-enabled client automatically handles micropayments
client = httpx.Client()

response = client.get(
    "https://agentsignal.app/api/strategy/ba5a1fbc-7196-454a-b828-cf083e8527a8/signal",
    headers={"Accept": "application/json"},
)
signal = response.json()
print(f"Signal: {signal['signal']} ({signal['symbol']})")

Try it now

Paste any of these into Claude Code, Cursor, or any agent with HTTP tool access.

Check live signal

What is the current signal for my BTC strategy? Fetch it from https://agentsignal.app/api/strategy/ba5a1fbc-7196-454a-b828-cf083e8527a8/signal and tell me whether to be long or flat.

Macro context

Get the latest COMPASS score from agentsignal.app and tell me if macro conditions are risk-on or risk-off right now.

Run a backtest

Run a backtest on strategy ba5a1fbc-7196-454a-b828-cf083e8527a8 from 2025-01-01 to today using $10,000 starting capital. Report the return, Sharpe ratio, and max drawdown.

Full pre-trade check

Before I trade: fetch the COMPASS score, RADAR risk score, and my BTC strategy signal from agentsignal.app. Give me a go / no-go recommendation.

What agents can access

COMPASS Score

Daily

Macro risk-on/off score from -7 to +7. Aggregates VIX, SPY/QQQ momentum, yield curve, credit spreads, and BTC dominance.

RADAR Risk

Daily

Calendar risk score 0 to -6. Measures proximity to FOMC meetings and CPI releases — events that historically increase volatility.

Crypto RADAR

Every 30 min

AI-generated crypto market assessment. Updated every 30 minutes with funding rate context, regulatory sentiment, and on-chain signals.

Strategy Signals

$0.01/call

LONG/FLAT/SHORT for any NAVIGATOR strategy. Per-condition results show exactly which rules fired and which didn't.

Signal History

Free

Last 30 stored signals for any strategy. Use this to understand regime context — not a live fetch, but useful for trend and pattern checks.

Backtest Engine

$0.05/call

Full historical simulation with equity curve, Sharpe ratio, Sortino, max drawdown, win rate, and liquidation simulation.

Pricing

\$0.01

per live signal fetch

Paid automatically via x402 on Base. Your agent's EVM wallet covers the cost without any human interaction. No monthly commitment, no API key rotation.

✓ 1,000 signal calls = $1.00

✓ 10,000 signal calls = $10.00

✓ No rate limit

Free

everything else

Signal history, COMPASS scores, RADAR reports, and Crypto RADAR are free — no wallet needed.

✓ Signal history (30 days)

✓ COMPASS + RADAR

✓ Crypto RADAR

x402 payments settle on Base to 0x843bC7B6e3de3b2A8e47aD0d7AfCEc7e5F118EA6. The x402 spec is open source — build your own x402 client in any language.

Common questions

Does my agent need a wallet?

Only for live signal fetches ($0.01 each). Stored signal history, COMPASS, RADAR, and Crypto RADAR are free. Backtests cost $0.05 per call. The live signal endpoint computes fresh against current market data — that's what costs $0.01. History returns the last stored row and requires no wallet.

Which AI agents and frameworks work?

Any agent that can make HTTP requests. The x402 payment flow is handled by the x402 client library, available for Python, Node.js, and Go. Claude Code, LangChain, CrewAI, AutoGen, and raw API agents all work.

What is the signal latency?

COMPASS and RADAR update once daily at 6:30 AM UTC. Crypto RADAR updates every 30 minutes. Live strategy signals compute in real-time on demand — typical response time is 1–3 seconds.

Can I build strategies for stocks and ETFs as well as crypto?

Yes. NAVIGATOR supports any Yahoo Finance ticker (QQQ, SPY, NVDA, etc.) and any CoinGecko crypto ticker (BTC, ETH, SOL). Signals and backtests work for both. Intraday Trigger conditions are currently Hyperliquid (crypto-only).

Is there a browser redirect when my agent hits the signal endpoint?

No. Set Accept: application/json and the endpoint returns JSON directly. Browser requests (Accept: text/html) redirect to the strategy page — agent requests go straight to the data.

Get started

Build your first agent strategy

Create a strategy in NAVIGATOR, save it, and you have a live signal endpoint your agent can call in minutes.