{"openapi":"3.1.0","info":{"title":"Grok Crypto Quant API","description":"Pay-per-call crypto quant tools for agents, paid in USDC over x402: strategy backtests and parameter optimisation on Coinbase daily candles with a survivorship-bias-free point-in-time universe, daily market signals, point-in-time top-N universes, and token contract risk checks (Base, Ethereum, Solana).","version":"0.2.0","x-guidance":"Paid endpoints use x402 v2 ('exact' scheme, USDC on Base mainnet). Call the endpoint; you get HTTP 402\nwith a base64 PAYMENT-REQUIRED header; sign the USDC authorization and retry with a PAYMENT-SIGNATURE header.\nSettlement only happens after a 2xx result: a 4xx/5xx (bad input, upstream outage) is NOT charged.\nValidate inputs for free first: POST /validate (backtest), POST /validate/optimize, POST /validate/token-check,\nGET /validate/universe. GET /schema returns request schemas and examples for every endpoint.\nPrices: backtest $0.05, signals $0.01, token-check $0.02,\noptimize $0.50, universe $0.05.\nData: Coinbase Exchange daily candles (completed UTC days only) for ~400 USD pairs; refreshed daily.\nUse /signals for today's regime, /token-check before touching an unknown token, /backtest to test a rule set,\n/optimize to pick robust (not best-fit) parameters, /universe to avoid survivorship bias in your own backtests.\nOutputs are informational, not financial advice.","contact":{"name":"Grok Crypto Quant API","url":"https://grok-backtest-api.fly.dev"},"x-logo":{"url":"https://grok-backtest-api.fly.dev/icon.png"}},"paths":{"/health":{"get":{"tags":["free"],"summary":"Free: service status","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[]}},"/schema":{"get":{"tags":["free"],"summary":"Free: request schemas, examples and prices for all paid endpoints","operationId":"schema_schema_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[]}},"/validate":{"post":{"tags":["free"],"summary":"Free: check a /backtest request before paying","operationId":"validate_validate_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"strategy":{"oneOf":[{"additionalProperties":false,"properties":{"type":{"const":"breakout","type":"string"},"params":{"additionalProperties":false,"properties":{"lookback":{"maximum":60,"minimum":5,"type":"integer"},"atr_mult":{"maximum":6,"minimum":0.5,"type":"number"},"risk_per_trade":{"exclusiveMinimum":0,"maximum":0.25,"type":"number"},"max_position_pct":{"exclusiveMinimum":0,"maximum":1.0,"type":"number"},"max_positions":{"maximum":10,"minimum":1,"type":"integer"},"gate":{"enum":["none","btc_ma50","breadth50"],"type":"string"},"min_stop_pct":{"exclusiveMinimum":0,"maximum":0.5,"type":"number"},"max_stop_pct":{"exclusiveMinimum":0,"maximum":0.9,"type":"number"}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"momentum","type":"string"},"params":{"additionalProperties":false,"properties":{"lookback":{"maximum":60,"minimum":3,"type":"integer"},"top_n":{"maximum":10,"minimum":1,"type":"integer"},"rebalance_days":{"maximum":30,"minimum":1,"type":"integer"},"gate":{"enum":["none","btc_ma50","breadth50"],"type":"string"},"trail_pct":{"anyOf":[{"exclusiveMaximum":0.9,"exclusiveMinimum":0,"type":"number"},{"type":"null"}]}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"dip","type":"string"},"params":{"additionalProperties":false,"properties":{"drop_pct":{"exclusiveMaximum":0.9,"exclusiveMinimum":0.01,"type":"number"},"days":{"maximum":10,"minimum":1,"type":"integer"},"trend_filter":{"enum":["ma50","none"],"type":"string"},"max_hold_days":{"maximum":60,"minimum":1,"type":"integer"},"hard_stop_pct":{"exclusiveMaximum":0.9,"exclusiveMinimum":0.01,"type":"number"},"max_positions":{"maximum":10,"minimum":1,"type":"integer"}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"ma_trend","type":"string"},"params":{"additionalProperties":false,"properties":{"coins":{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"ma_days":{"maximum":60,"minimum":5,"type":"integer"}},"type":"object"}},"required":["type"],"type":"object"}]},"universe":{"additionalProperties":false,"properties":{"mode":{"enum":["point_in_time","current_top","fixed"],"type":"string"},"top_n":{"maximum":200,"minimum":5,"type":"integer"},"min_age_days":{"maximum":120,"minimum":0,"type":"integer"},"min_avg_dollar_volume":{"minimum":0,"type":"number"},"coins":{"anyOf":[{"items":{"type":"string"},"maxItems":200,"type":"array"},{"type":"null"}]}},"type":"object"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"initial_capital":{"exclusiveMinimum":0,"maximum":1000000000.0,"type":"number"},"fee":{"maximum":0.05,"minimum":0,"type":"number"},"slippage":{"maximum":0.05,"minimum":0,"type":"number"},"include_trades":{"type":"boolean"}},"required":["strategy"],"type":"object"},"example":{"strategy":{"type":"breakout","params":{"lookback":20,"atr_mult":2.0,"risk_per_trade":0.05,"gate":"btc_ma50"}},"universe":{"mode":"point_in_time","top_n":30},"start":"2026-04-25","end":"2026-10-25","initial_capital":150,"fee":0.009,"slippage":0.002}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/validate/optimize":{"post":{"tags":["free"],"summary":"Free: check an /optimize request before paying","operationId":"validate_optimize_validate_optimize_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"strategy":{"additionalProperties":false,"properties":{"type":{"enum":["breakout","momentum","dip","ma_trend"],"type":"string"},"params":{"additionalProperties":true,"type":"object"}},"required":["type"],"type":"object"},"grid":{"additionalProperties":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"array"},"type":"object"},"universe":{"additionalProperties":false,"properties":{"mode":{"enum":["point_in_time","current_top","fixed"],"type":"string"},"top_n":{"maximum":200,"minimum":5,"type":"integer"},"min_age_days":{"maximum":120,"minimum":0,"type":"integer"},"min_avg_dollar_volume":{"minimum":0,"type":"number"},"coins":{"anyOf":[{"items":{"type":"string"},"maxItems":200,"type":"array"},{"type":"null"}]}},"type":"object"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"initial_capital":{"exclusiveMinimum":0,"maximum":1000000000.0,"type":"number"},"fee":{"maximum":0.05,"minimum":0,"type":"number"},"slippage":{"maximum":0.05,"minimum":0,"type":"number"},"rank_by":{"enum":["robust","return"],"type":"string"}},"required":["strategy","grid"],"type":"object"},"example":{"strategy":{"type":"breakout","params":{"gate":"btc_ma50"}},"grid":{"lookback":[10,20,30],"atr_mult":[1.5,2.0,3.0],"risk_per_trade":[0.03,0.05]},"universe":{"mode":"point_in_time","top_n":30},"start":"2026-04-25","end":"2026-10-25","initial_capital":150,"fee":0.009,"slippage":0.002}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/validate/token-check":{"post":{"tags":["free"],"summary":"Free: check a /token-check request format before paying","operationId":"validate_token_validate_token_check_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"chain":{"enum":["base","ethereum","solana"],"type":"string"},"address":{"maxLength":44,"minLength":32,"type":"string"}},"required":["chain","address"],"type":"object"},"example":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/validate/universe":{"get":{"tags":["free"],"summary":"Free: check a /universe request before paying","operationId":"validate_universe_validate_universe_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"top_n","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Top N"}},{"name":"min_age_days","in":"query","required":false,"schema":{"type":"integer","maximum":120,"minimum":0,"default":35,"title":"Min Age Days"}},{"name":"min_avg_dollar_volume","in":"query","required":false,"schema":{"type":"number","minimum":0,"default":1000000.0,"title":"Min Avg Dollar Volume"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[]}},"/backtest":{"post":{"tags":["paid"],"summary":"Backtest any crypto strategy on 399 Coinbase coins, bias-free","operationId":"backtest_backtest_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"strategy":{"oneOf":[{"additionalProperties":false,"properties":{"type":{"const":"breakout","type":"string"},"params":{"additionalProperties":false,"properties":{"lookback":{"maximum":60,"minimum":5,"type":"integer"},"atr_mult":{"maximum":6,"minimum":0.5,"type":"number"},"risk_per_trade":{"exclusiveMinimum":0,"maximum":0.25,"type":"number"},"max_position_pct":{"exclusiveMinimum":0,"maximum":1.0,"type":"number"},"max_positions":{"maximum":10,"minimum":1,"type":"integer"},"gate":{"enum":["none","btc_ma50","breadth50"],"type":"string"},"min_stop_pct":{"exclusiveMinimum":0,"maximum":0.5,"type":"number"},"max_stop_pct":{"exclusiveMinimum":0,"maximum":0.9,"type":"number"}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"momentum","type":"string"},"params":{"additionalProperties":false,"properties":{"lookback":{"maximum":60,"minimum":3,"type":"integer"},"top_n":{"maximum":10,"minimum":1,"type":"integer"},"rebalance_days":{"maximum":30,"minimum":1,"type":"integer"},"gate":{"enum":["none","btc_ma50","breadth50"],"type":"string"},"trail_pct":{"anyOf":[{"exclusiveMaximum":0.9,"exclusiveMinimum":0,"type":"number"},{"type":"null"}]}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"dip","type":"string"},"params":{"additionalProperties":false,"properties":{"drop_pct":{"exclusiveMaximum":0.9,"exclusiveMinimum":0.01,"type":"number"},"days":{"maximum":10,"minimum":1,"type":"integer"},"trend_filter":{"enum":["ma50","none"],"type":"string"},"max_hold_days":{"maximum":60,"minimum":1,"type":"integer"},"hard_stop_pct":{"exclusiveMaximum":0.9,"exclusiveMinimum":0.01,"type":"number"},"max_positions":{"maximum":10,"minimum":1,"type":"integer"}},"type":"object"}},"required":["type"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"ma_trend","type":"string"},"params":{"additionalProperties":false,"properties":{"coins":{"items":{"type":"string"},"maxItems":10,"minItems":1,"type":"array"},"ma_days":{"maximum":60,"minimum":5,"type":"integer"}},"type":"object"}},"required":["type"],"type":"object"}]},"universe":{"additionalProperties":false,"properties":{"mode":{"enum":["point_in_time","current_top","fixed"],"type":"string"},"top_n":{"maximum":200,"minimum":5,"type":"integer"},"min_age_days":{"maximum":120,"minimum":0,"type":"integer"},"min_avg_dollar_volume":{"minimum":0,"type":"number"},"coins":{"anyOf":[{"items":{"type":"string"},"maxItems":200,"type":"array"},{"type":"null"}]}},"type":"object"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"initial_capital":{"exclusiveMinimum":0,"maximum":1000000000.0,"type":"number"},"fee":{"maximum":0.05,"minimum":0,"type":"number"},"slippage":{"maximum":0.05,"minimum":0,"type":"number"},"include_trades":{"type":"boolean"}},"required":["strategy"],"type":"object"},"example":{"strategy":{"type":"breakout","params":{"lookback":20,"atr_mult":2.0,"risk_per_trade":0.05,"gate":"btc_ma50"}},"universe":{"mode":"point_in_time","top_n":30},"start":"2026-04-25","end":"2026-10-25","initial_capital":150,"fee":0.009,"slippage":0.002}}}},"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"final_value":166.47,"return_pct":10.98,"max_drawdown_pct":-23.77,"closed_trades":26,"fees_paid":22.08,"win_rate":0.308,"luck_flag":true}}}},"402":{"description":"Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header ($0.05 USDC on eip155:8453)"},"400":{"description":"Invalid input (after payment verification, before settlement: not charged)"},"422":{"description":"Schema validation error (not charged)"}},"security":[],"description":"Backtest any crypto strategy on 399 Coinbase coins, bias-free. Breakout, momentum, dip-buy or MA trend rules on Coinbase daily data with fees, slippage, H1/H2 split, luck flag and survivorship-bias-free universe. Price: $0.05 USDC.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3","asset":"USDC"}}]}}},"/signals":{"get":{"tags":["paid"],"summary":"Daily crypto market regime: BTC/ETH trend, breadth, breakout watchlist","operationId":"signals_signals_get","parameters":[{"name":"top_n","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":5,"default":30,"title":"Top N"}}],"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"as_of":"2026-10-25","regime":"risk-off","btc":{"close":80053.16,"ma50":81802.02,"above_ma50":false,"pct_vs_ma50":-2.14},"eth":{"close":2326.75,"ma20":2453.37,"above_ma20":false,"pct_vs_ma20":-5.16},"breadth":{"coins":30,"pct_above_ma20":3.3,"pct_above_ma50":20.0},"nearest_breakouts":[{"coin":"ZEC-USD","pct_from_breakout":-12.7,"r1_stop_pct":20.49}],"r1_breakout":{"gate_open":false,"signals":[],"action":"no new entries: BTC is below its 50-day average"}}}}},"402":{"description":"Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header ($0.01 USDC on eip155:8453)"},"400":{"description":"Invalid input (after payment verification, before settlement: not charged)"},"422":{"description":"Schema validation error (not charged)"}},"security":[],"description":"Daily crypto market regime: BTC/ETH trend, breadth, breakout watchlist. BTC/ETH vs 20/50-day MAs, market breadth (% of point-in-time top-N above 20DMA), coins nearest a 20-day breakout, and the R1 breakout strategy's gate and entry signals. Completed UTC daily closes only. Price: $0.01 USDC.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3","asset":"USDC"}}]}}},"/token-check":{"post":{"tags":["paid"],"summary":"Token scam check: honeypot, mint/pause/blacklist, fake-USDC lookalikes","operationId":"token_check_token_check_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"chain":{"enum":["base","ethereum","solana"],"type":"string"},"address":{"maxLength":44,"minLength":32,"type":"string"}},"required":["chain","address"],"type":"object"},"example":{"chain":"base","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}}},"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"chain":"base","address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","name":"USD Coin","symbol":"USDC","canonical_major_token":"USDC","risk_level":"low","risk_score":0,"verdict":"Canonical major token on this chain. No major red flags found by these checks.","flags":[{"id":"upgradeable_proxy","severity":"info","detail":"Upgradeable proxy...","source":"rpc/goplus"}],"facts":{"verified_source":true,"is_proxy":true,"taxes_pct":{"buy":0,"sell":0},"age_days":1165}}}}},"402":{"description":"Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header ($0.02 USDC on eip155:8453)"},"400":{"description":"Invalid input (after payment verification, before settlement: not charged)"},"422":{"description":"Schema validation error (not charged)"},"503":{"description":"Upstream data sources unavailable (not charged)"}},"security":[],"description":"Token scam check: honeypot, mint/pause/blacklist, fake-USDC lookalikes. Scam/honeypot/rug risk check for a Base, Ethereum or Solana token: unverified code, sell restrictions, mint/pause/blacklist powers, taxes, upgradeable proxy, age, liquidity, fake major-token impersonation and spam-airdrop patterns. Never visits metadata URLs. Price: $0.02 USDC.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3","asset":"USDC"}}]}}},"/optimize":{"post":{"tags":["paid"],"summary":"Find robust strategy params, not lucky ones (up to 50 combos)","operationId":"optimize_optimize_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"strategy":{"additionalProperties":false,"properties":{"type":{"enum":["breakout","momentum","dip","ma_trend"],"type":"string"},"params":{"additionalProperties":true,"type":"object"}},"required":["type"],"type":"object"},"grid":{"additionalProperties":{"items":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"array"},"type":"object"},"universe":{"additionalProperties":false,"properties":{"mode":{"enum":["point_in_time","current_top","fixed"],"type":"string"},"top_n":{"maximum":200,"minimum":5,"type":"integer"},"min_age_days":{"maximum":120,"minimum":0,"type":"integer"},"min_avg_dollar_volume":{"minimum":0,"type":"number"},"coins":{"anyOf":[{"items":{"type":"string"},"maxItems":200,"type":"array"},{"type":"null"}]}},"type":"object"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"initial_capital":{"exclusiveMinimum":0,"maximum":1000000000.0,"type":"number"},"fee":{"maximum":0.05,"minimum":0,"type":"number"},"slippage":{"maximum":0.05,"minimum":0,"type":"number"},"rank_by":{"enum":["robust","return"],"type":"string"}},"required":["strategy","grid"],"type":"object"},"example":{"strategy":{"type":"breakout","params":{"gate":"btc_ma50"}},"grid":{"lookback":[10,20,30],"atr_mult":[1.5,2.0,3.0],"risk_per_trade":[0.03,0.05]},"universe":{"mode":"point_in_time","top_n":30},"start":"2026-04-25","end":"2026-10-25","initial_capital":150,"fee":0.009,"slippage":0.002}}}},"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"combos_total":18,"combos_run":18,"truncated":false,"recommended":{"params":{"lookback":20,"atr_mult":2.0,"risk_per_trade":0.05},"return_pct":10.98,"h1_return_pct":-6.97,"h2_return_pct":19.88,"robust_score":-11.97},"best_by_return":{"params":{"lookback":10,"atr_mult":2.0,"risk_per_trade":0.05}},"overfitting_flags":[{"id":"best_return_not_robust","detail":"..."}],"summary":{"median_return_pct":1.2,"pct_profitable":55.6}}}}},"402":{"description":"Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header ($0.50 USDC on eip155:8453)"},"400":{"description":"Invalid input (after payment verification, before settlement: not charged)"},"422":{"description":"Schema validation error (not charged)"}},"security":[],"description":"Find robust strategy params, not lucky ones: tests up to 50 combos of a backtest strategy; ranks by worst-half (H1/H2) return with neighbourhood smoothing, flags overfitting, and recommends the most robust parameters rather than the best-fit ones. Price: $0.50 USDC.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.50"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3","asset":"USDC"}}]}}},"/universe":{"get":{"tags":["paid"],"summary":"Survivorship-free top-N coin list for any past date","operationId":"universe_universe_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},{"name":"top_n","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":30,"title":"Top N"}},{"name":"min_age_days","in":"query","required":false,"schema":{"type":"integer","maximum":120,"minimum":0,"default":35,"title":"Min Age Days"}},{"name":"min_avg_dollar_volume","in":"query","required":false,"schema":{"type":"number","minimum":0,"default":1000000.0,"title":"Min Avg Dollar Volume"}}],"responses":{"200":{"description":"Result (payment settled)","content":{"application/json":{"schema":{"type":"object"},"example":{"date":"2026-07-01","top_n":3,"count":3,"coins":[{"rank":1,"coin":"BTC-USD","avg_dollar_volume_20d":1100000000.0,"age_days":162,"close":107000.0}]}}}},"402":{"description":"Payment Required: x402 v2 challenge in the PAYMENT-REQUIRED header ($0.05 USDC on eip155:8453)"},"400":{"description":"Invalid input (after payment verification, before settlement: not charged)"},"422":{"description":"Schema validation error (not charged)"}},"security":[],"description":"Survivorship-free top-N coin list for any past date. Top-N Coinbase USD pairs by trailing 20-day dollar volume as of a past date, using only data available that day (survivorship-bias-free universe for backtests). Price: $0.05 USDC.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{"version":2,"scheme":"exact","network":"eip155:8453","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3","asset":"USDC"}}]}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"servers":[{"url":"https://grok-backtest-api.fly.dev"}],"x-agentcash-guidance":{"llmsTxtUrl":"https://grok-backtest-api.fly.dev/llms.txt"},"x-x402":{"x402Version":2,"scheme":"exact","network":"eip155:8453","asset":"USDC","payTo":"0x4E6E6C5889dc8B1B96c60AB82D21ED45C6b629f3"}}