fvg
[Trading Data API] Fair Value Gap zones (standard ICT/LuxAlgo) with CE (50%), gap size, age, fill status, distance from price. Standard timeframes match TradingView candles. Crypto or stocks.
Example: /v1/fvg?symbol=BTC&timeframe=1h
Use when you want Fair Value Gap zones (ICT-style imbalances) with fill status and distance from price. Not for swing-high/low liquidity pools (use liquidity_levels).
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "fvg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class | No | Optional. stock|crypto for non-curated symbols. | |
| symbol | Yes | Required. e.g. BTC, NVDA, SPY (or any with &class=). | |
| lookback | No | Optional. Timeframe candles to analyze (default 120, max 500). | |
| timeframe | No | Optional. 1m,5m,15m,30m,1h,2h,4h,6h,12h,1D,1W (default 1h). Matches TradingView candles. | |
| min_gap_pct | No | Optional. Filter out gaps smaller than this % of price (default 0 = all). | |
| include_filled | No | Optional. true to include filled FVGs (default false = active only). |