Live on Base Mainnet

Pay-per-request
Trading Signals via x402

AI-powered market analysis at your fingertips. No subscriptions, no API keys. Just pay $0.01 USDC per signal and get instant insights.

Sample Response 200 OK
{
  "symbol": "BTC",
  "signal": "strong_buy",
  "conviction": "high",
  "score": 87,
  "reasoning": "Strong bullish momentum with RSI breakout...",
  "timestamp": "2026-01-25T12:00:00Z"
}

How it Works

Three simple steps to get AI-powered trading signals

1

Request Signal

Make a GET request to our API with your desired symbol. No API keys or authentication required.

GET /api/v1/signals/BTC
2

Pay $0.01 USDC

Receive a 402 Payment Required response with x402 headers. Your wallet automatically pays via Base mainnet.

402 Payment Required
3

Get Analysis

Instantly receive your AI-powered trading signal with conviction level, score, and detailed reasoning.

200 OK + Signal JSON

What You Get

Comprehensive trading intelligence in every response

📊

Signal

Clear actionable direction

strong_buy buy hold sell strong_sell
💪

Conviction

Confidence in the signal

high medium low
🎯

Score

Numeric strength indicator

0-100
💡

Reasoning

AI-generated analysis

Technical & sentiment insights

Supported Assets

Get signals for major cryptocurrencies

B
BTC
Bitcoin
E
ETH
Ethereum
S
SOL
Solana
A
AVAX
Avalanche
L
LINK
Chainlink
A
AAVE
Aave
U
UNI
Uniswap

Simple Pricing

Pay only for what you use. No subscriptions, no commitments.

Per Signal
$0.01
USDC on Base
  • No API keys required
  • No monthly subscriptions
  • Instant payment via x402
  • Base mainnet (low fees)
  • All 7 supported assets
Start Using API

API Documentation

Everything you need to integrate trading signals

Endpoint

GET https://api.apiempire.org/api/v1/signals/{symbol}

Replace {symbol} with: BTC, ETH, SOL, AVAX, LINK, AAVE, or UNI

Request Flow

1
Initial Request

Server returns 402 Payment Required with x402 headers

2
Payment

x402 client automatically handles USDC payment on Base

3
Response

Receive 200 OK with signal JSON payload

Response Schema

{
  "symbol": "BTC",
  "signal": "strong_buy" | "buy" | "hold" | "sell" | "strong_sell",
  "conviction": "high" | "medium" | "low",
  "score": 0-100,
  "reasoning": "AI-generated analysis explaining the signal...",
  "timestamp": "2026-01-25T12:00:00Z"
}

x402 Integration Example

Python
import httpx
from x402.client import x402_request

# Make a paid request - x402 handles payment automatically
response = x402_request(
    "https://api.apiempire.org/api/v1/signals/BTC",
    wallet=your_wallet  # Your Base wallet with USDC
)

# Access the signal data
signal = response.json()
print(f"Signal: {signal['signal']}, Score: {signal['score']}")

The x402 client library handles the 402 response, signs the payment, and retries the request automatically.

Test with cURL

# See the 402 response and x402 headers
curl -i https://api.apiempire.org/api/v1/signals/BTC

This will show you the 402 Payment Required response with the x402 payment details in the headers.