x402basequality 0.72

Pay-per-call technical analysis indicators for crypto trading pairs via x402 on Base

Price
0.001 USDC / call
Protocol
x402
Verified
no

What it does

Mode x402 Trading Data provides a pay-per-call API that computes technical analysis indicators (e.g., EMA, Bollinger Bands, MACD) for cryptocurrency trading pairs. The endpoint accepts POST requests with a JSON body specifying a trading symbol (e.g., ETHUSDT, BTCUSDT), a time frame (e.g., 5m, 1h), and an array of indicator studies to compute. Each call returns timestamped indicator values along with metadata such as display name, category, and description. A GET variant is also available for single-indicator queries, and a separate `/ta/indicators/list` endpoint enumerates all supported indicators.

Payment is handled via the x402 protocol on the Base network. Each call costs up to 1,000 base units of USDC (asset 0x8335…2913, 6 decimals), which equals $0.001 — a fraction of a cent per request. The payment is settled on-chain to address 0xe19c32d82d4cfb9d121fa04f9d22b11648f320f5. The endpoint returns a 402 challenge with an `exact` payment scheme when no X-PAYMENT header is provided.

The API is built on FastAPI (v0.1.0) and exposes an OpenAPI 3.1 spec at `/openapi.json`. Documentation beyond the auto-generated Swagger UI is minimal — there is no dedicated pricing page, README, or extended docs. The output schema in the x402 challenge describes a structured response with status, indicator type, symbol, time frame, metadata, and an array of timestamped values.

Capabilities

technical-analysiscrypto-indicatorsemamacdbollinger-bandstrading-signalstime-seriesx402-paymentbase-networkusdc-settlementfastapiopenapi-3.1

Use cases

  • Autonomous trading agents computing technical indicators before executing trades
  • Backtesting strategies by fetching historical indicator values for multiple time frames
  • Dashboard or alerting systems that poll real-time indicator data for crypto pairs
  • Multi-indicator analysis in a single request (e.g., EMA + MACD + Bollinger Bands together)

Fit

Best for

  • AI trading agents that need on-demand technical analysis without managing their own TA library
  • Developers building crypto bots who want pay-per-call pricing with no subscription
  • x402-native agents on Base that can pay in USDC per request

Not for

  • Users needing raw OHLCV candle data (this endpoint returns computed indicators, not raw market data)
  • High-frequency trading requiring sub-millisecond latency (on-chain payment adds overhead)
  • Non-crypto or traditional equity/forex technical analysis

Quick start

curl -X POST https://x402.mode.network/ta/indicators \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: <x402_payment_token>" \
  -d '{
    "time_frame": "5m",
    "symbol": "BTCUSDT",
    "indicators": [{"kind": "ema", "limit": 20}]
  }'

Example

Request

{
  "symbol": "ETHUSDT",
  "indicators": [
    {
      "kind": "ema",
      "limit": 20
    },
    {
      "kind": "macd",
      "limit": 10
    }
  ],
  "time_frame": "1h"
}

Response

{
  "data": [
    {
      "id": "ema-ETHUSDT-1h",
      "meta": {
        "category": "trend",
        "timezone": "UTC",
        "description": "EMA with default period",
        "display_name": "Exponential Moving Average"
      },
      "symbol": "ETHUSDT",
      "values": [
        {
          "value": 3245.67,
          "timestamp": "2025-01-15T12:00:00Z"
        },
        {
          "value": 3251.12,
          "timestamp": "2025-01-15T13:00:00Z"
        }
      ],
      "indicator": "ema",
      "time_frame": "1h"
    },
    {
      "id": "macd-ETHUSDT-1h",
      "meta": {
        "category": "momentum",
        "timezone": "UTC",
        "description": "Moving Average Convergence Divergence",
        "display_name": "MACD"
      },
      "symbol": "ETHUSDT",
      "values": [
        {
          "value": 5.34,
          "timestamp": "2025-01-15T12:00:00Z"
        },
        {
          "value": 6.01,
          "timestamp": "2025-01-15T13:00:00Z"
        }
      ],
      "indicator": "macd",
      "time_frame": "1h"
    }
  ],
  "status": "ok"
}

Endpoint

Transporthttp
Protocolx402
Pay to0xe19c32d82d4cfb9d121fa04f9d22b11648f320f5
CurrencyUSD COIN

Quality

0.72/ 1.00

The endpoint is live (402 challenge captured), has a full OpenAPI 3.1 schema with request/response definitions, and the x402 challenge includes a detailed outputSchema. However, documentation is minimal (no dedicated docs beyond auto-generated Swagger), the list of supported indicators is not enumerated in the crawl, and there is no pricing page or extended usage guide.

Warnings

  • No documentation beyond auto-generated FastAPI Swagger UI
  • Full list of supported indicators not available in crawl — use /ta/indicators/list to discover them
  • Example response is inferred from the outputSchema in the x402 challenge, not from an actual API response

Citations

Provenance

Indexed fromx402_bazaar
Enriched2026-04-22 00:06:31Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-21
Last seen2026-04-22

Agent access