Neural API Reference
Documentation for the rlx-search engine and MCP orchestration.
Engine Overview
The rlx-search service exposes high-performance JSON endpoints designed for historical pattern matching, walk-forward backtesting, and reinforcement learning telemetry.
https://aipricepatterns.com/api/patterns*Use this lane for internal evaluation, Playground-style pattern search, metrics, and backtest calls before Manus checkout enters the flow.
https://aipricepatterns.com/api/v1/*Use this lane for production agent/API traffic. These routes can require Manus payment and reusable service tokens.
Free vs paid matters here
If you want to test the engine without payment, start from the Playground or call /api/patterns, /api/patterns/metrics, and /api/patterns/backtest. The production REST layer under /api/v1/* is the Manus-gated path.
Interactive Playground
Test pattern search and backtest logic directly in our high-fidelity sandbox. No setup required.
MCP Agent Protocol
Deploy autonomous agents that reason over pattern distributions using our Model Context Protocol server.
Core Telemetry Schema
| Parameter | Logic Type | Fallback | Description |
|---|---|---|---|
| symbol | string | BTCUSDT | Target trading pair for neural scanning. |
| interval | string | 1h | Data granularity (resolution). |
| q | integer | 40 | Query window length (Lookback window). |
| f | integer | 30 | Forecast horizon projection. |
| start | integer | latest | Anchor point in history (0 = inception). |
| limit | integer | 32 | Max match density per telemetry request. |
| sort | string | similarity | Metric prioritization (corr, rmse, similarity). |
| force | bool | false | Bypass telemetry cache for real-time recalculation. |
State Invalidation Notice
Dataset mutations (expand, pruning) automatically evict the in-memory pattern caches and ANN indices. Subsequent telemetry requests will rebuild state transparently, which may impact latencies for large (~1M+ bar) datasets.
Zero-to-One
1. Set Global Context
export BASE_URL="https://aipricepatterns.com"
2. Free Playground Research (no Manus)
curl -s "$BASE_URL/api/patterns?symbol=BTCUSDT&interval=1h&q=40&f=30&limit=10" | jq
3. Production Pattern Search (Manus-gated)
curl -s -X POST "$BASE_URL/api/v1/patterns/search" \
-H "Content-Type: application/json" \
-H "X-Manus-Token: <token_id>" \
-d '{"symbol":"BTCUSDT","interval":"1h","q":40,"f":30,"limit":10}' | jq