🦉

API Documentation

Complete reference for the Pazieh Financial Intelligence API

🔑 Authentication

To access the API with higher rate limits, include your API key in the X-API-Key header:

X-API-Key: pz_live_your_api_key_here

Rate Limits

FREE
3
requests/day
PRO
500
requests/day • $29/mo
ENTERPRISE
5,000
requests/day • $99/mo

Without an API key, requests are limited by IP address (3 requests per day). Upgrade to a paid plan for higher limits and dedicated API keys.

📡 API Endpoints

GET /api/ta/{symbol}
Get technical analysis indicators for a symbol
ParameterTypeDescriptionExample
symbolstringTrading symbol (required)BTCUSDT, AAPL
intervalstringTime interval1h, 4h, 1d
sourcestringData source (auto/binance/yahoo)auto

Example Request

curl -H "X-API-Key: pz_live_your_key" \
     "https://pazieh.com/api/ta/BTCUSDT?interval=4h"

Example Response

{
  "symbol": "BTCUSDT",
  "interval": "4h",
  "price": 87342.51,
  "rsi": 58.3,
  "macd": {
    "value": 124.5,
    "signal": 89.2,
    "histogram": 35.3
  },
  "bollinger": {
    "upper": 89100,
    "middle": 86500,
    "lower": 83900
  },
  "support_resistance": {
    "support": [85200, 82800],
    "resistance": [89500, 92000]
  }
}
GET /api/analysis/{symbol}
Comprehensive multi-timeframe analysis with trade setups
ParameterTypeDescriptionExample
symbolstringTrading symbol (required)BTCUSDT, AAPL
multi_tfbooleanInclude multiple timeframestrue

Example Request

curl -H "X-API-Key: pz_live_your_key" \
     "https://pazieh.com/api/analysis/BTCUSDT?multi_tf=true"
GET /api/ta/batch/{symbols}
Analyze multiple symbols in a single request
ParameterTypeDescriptionExample
symbolsstringComma-separated symbols (required)BTCUSDT,ETHUSDT,ADAUSDT
intervalstringTime interval1h, 4h, 1d

Example Request

curl -H "X-API-Key: pz_live_your_key" \
     "https://pazieh.com/api/ta/batch/BTCUSDT,ETHUSDT?interval=1d"
GET /api/price/{symbol}
Get current price and basic market data
ParameterTypeDescriptionExample
symbolstringTrading symbol (required)BTCUSDT, AAPL

Example Request

curl -H "X-API-Key: pz_live_your_key" \
     "https://pazieh.com/api/price/BTCUSDT"
GET /api/chart-data/{symbol}
Get raw OHLCV candles with patterns and levels
ParameterTypeDescriptionExample
symbolstringTrading symbol (required)BTCUSDT, AAPL
intervalstringTime interval1h, 4h, 1d
limitnumberNumber of candles to return100

Example Request

curl -H "X-API-Key: pz_live_your_key" \
     "https://pazieh.com/api/chart-data/BTCUSDT?interval=1d&limit=30"
GET /api/health
API health check and status

No parameters required. Returns API status and current rate limit information.

Example Request

curl "https://pazieh.com/api/health"