x402 PROTOCOL / USDC ON BASE / PER‑REQUEST PRICING

Your AI agent pays for market data
like it pays for compute.

Real-time SMA and candlestick pattern recognition for BTC, Gold, BONK, and SC.
No API keys. No accounts. Just a wallet and a request.

GET /api/v1/ta/btc/sma?period=50 ← 402 Payment Required · $0.005 USDC # Agent pays, retries, receives: "sma_50": 67420.18 "timestamp": "2026-05-24T16:00:00Z"
AI agent making an x402 payment for market data
HOW IT WORKS

Three steps. No friction.

01

Request

Your AI agent calls any endpoint. The server responds with HTTP 402 and a signed payment challenge containing amount, destination address, and a cryptographic nonce.

02

Pay

The agent signs a gasless USDC transfer on Base L2 using EIP‑3009. Coinbase's facilitator broadcasts the transaction. The agent receives a transaction hash.

03

Receive

The agent retries the request with the signed payment header. The server verifies on-chain, logs the hash to Neon, and delivers the data. Sub‑second settlement.

~$0.005 per request
~200ms settlement time
$0 infrastructure gas cost
Base L2 settlement network
INTEGRATE

Two ways to connect.

LANGCHAIN MCP

Install the Python package and get x402-aware tools in one line.

pip install langchain-mcp-signalayer # from langchain_mcp_signalayer import SignalLayerTools # tools = SignalLayerTools() .get_tools() # ["get_signal", "get_payment_status", "mcp_server_info"] # # Bind to any LangChain agent — x402 auto-pays.
Priced at $0.005 USDC per call. Auto-retries with payment proof.
Try with LangChain →
DIRECT API

Call the endpoints directly with an x402 payment header.

# 1. Request — get 402 with payment challenge GET /api/v1/ta/btc/sma?period=50 ← 402 Payment Required # # 2. Pay USDC on Base, then retry with headers: GET /api/v1/ta/btc/sma?period=50 x-402-payment: <EIP-3009 signature> x-402-payer: 0x...your-wallet x-402-signature: 0x...signature
Also available: /api/signal, /api/v1/ta/:asset/patterns

No wallet required.
Hit the sandbox.

Fire a real request against a live sandbox. No API key, no account — just pick an endpoint and see what comes back.

GET /api/signal
Response
Hit Send to see the response here.

Sandbox shows realistic data. Real calls cost $0.005 USDC via Base L2.

API ENDPOINTS

Purpose‑built for autonomous agents.

GET /api/v1/ta/:asset/sma

Simple Moving Average for any supported asset and period. Calculated from live OHLCV data.

assetbtc · gold · bonk · sc period5 · 20 · 50 · 200
RESPONSE { "sma": 67420.18, "period": 50, "asset": "btc" }
GET /api/v1/ta/:asset/patterns

Candlestick pattern recognition. Detects Doji, Hammer, Engulfing, Morning Star, and more across multiple timeframes.

assetbtc · gold · bonk · sc timeframe1h · 4h · 1d
RESPONSE { "patterns": [{ "type": "doji", "confidence": 0.87 }] }
GET /.well-known/x402

Machine‑readable payment manifest. AI agents discover pricing, accepted tokens, and revenue address automatically. OpenAPI spec at /openapi.json.

DISCOVERY Auto‑parsed by any x402‑compatible agent
SUPPORTED ASSETS

High‑velocity markets. Real‑time data.

Bitcoin BTC The most liquid crypto asset. Critical for cross‑agent signal consensus.
Gold XAU Macro hedge and volatility reference for multi‑asset agents.
Bonk BONK High‑velocity Solana memecoin. Tests agent reaction speed under volatility.
Siacoin SC Storage blockchain asset. Lower correlation with BTC, useful for diversification signals.

The agent economy is here. Every AI agent that trades, hedges, or monitors crypto markets needs reliable technical data — paid for autonomously, in real time, onchain.

SignalLayer is that data layer.

Try with LangChain →