Api Endpoint

Pocket Network

Do the claimed backtest numbers follow from the trades? Send a TradingView "List of trades" CSV or a JSON trade list with the claimed metrics; get net profit, win rate, profit factor, drawdown and per-trade P&L recomputed, each claim marked MATCH or MISMATCH, and findings such as cost-free backtests. Deterministic, no market data. POST /v1/reconcile.

Open interactive test console

Offering

Provider
agent.pocket.network
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agent.pocket.network/v1/backtest-reconcile-v1
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Finance, backtest-reconcile-v1, rest

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
  }
]

Observed health

Status
Reachable
Latest latency
411 ms
Average latency
1107 ms
HTTP status
405
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "description": "The body of POST /v1/reconcile, up to 2 MiB. Send trades_csv or trades.",
      "properties": {
        "claimed": {
          "description": "The claimed metrics to check, any of net_profit, net_profit_pct, gross_profit, gross_loss, total_trades, win_rate, profit_factor, max_drawdown, max_drawdown_pct, avg_trade, largest_win, largest_loss.",
          "type": "object"
        },
        "commission": {
          "description": "Commission applied to every trade.",
          "properties": {
            "type": {
              "enum": [
                "percent",
                "per_contract",
                "cash_per_order"
              ],
              "type": "string"
            },
            "value": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "initial_capital": {
          "description": "Starting capital for the percentage figures.",
          "type": "number"
        },
        "single_position": {
          "default": true,
          "description": "Flag overlapping trades.",
          "type": "boolean"
        },
        "tolerance_pct": {
          "default": 0.5,
          "description": "How far a claim may differ, in percent, and still MATCH.",
          "type": "number"
        },
        "trades": {
          "description": "The trades as a JSON list, in place of trades_csv.",
          "items": {
            "properties": {
              "commission": {
                "type": "number"
              },
              "entry_price": {
                "type": "number"
              },
              "entry_time": {
                "type": "string"
              },
              "exit_price": {
                "type": "number"
              },
              "exit_time": {
                "type": "string"
              },
              "n": {
                "description": "Trade number."
              },
              "qty": {
                "type": "number"
              },
              "reported_pnl": {
                "type": "number"
              },
              "side": {
                "enum": [
                  "long",
                  "short"
                ],
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "trades_csv": {
          "description": "A TradingView Strategy Tester \"List of trades\" CSV export.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "data": {
          "description": "POST /v1/reconcile answers a backtest-reconcile/v1 object: verdict, the recomputed metrics, each claim with claimed, recomputed, diff and status, findings with code and severity, counts, and the assumptions used. Properties are pinned from live paid responses; nothing is required, because every route's 2xx response is validated against this one schema.",
          "properties": {
            "assumptions": {
              "properties": {
                "commission": {
                  "type": "null"
                },
                "equity": {
                  "type": "string"
                },
                "initial_capital": {
                  "type": "number"
                },
                "tolerance_pct": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "claims": {
              "items": {
                "properties": {
                  "claimed": {
                    "type": "number"
                  },
                  "diff": {
                    "type": "number"
                  },
                  "metric": {
                    "type": "string"
                  },
                  "recomputed": {
                    "type": "number"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "counts": {
              "properties": {
                "error": {
                  "type": "number"
                },
                "info": {
                  "type": "number"
                },
                "warning": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "findings": {
              "items": {
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "metric": {
                    "type": "string"
                  },
                  "recomputed": {
                    "type": "number"
                  },
                  "reported": {
                    "type": "number"
                  },
                  "severity": {
                    "type": "string"
                  },
                  "trade": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "notes": {
              "items": {},
              "type": "array"
            },
            "recomputed": {
              "properties": {
                "avg_trade": {
                  "type": "number"
                },
                "gross_loss": {
                  "type": "number"
                },
                "gross_profit": {
                  "type": "number"
                },
                "largest_loss": {
                  "type": "number"
                },
                "largest_win": {
                  "type": "number"
                },
                "max_drawdown": {
                  "type": "number"
                },
                "max_drawdown_pct": {
                  "type": "number"
                },
                "net_profit": {
                  "type": "number"
                },
                "net_profit_pct": {
                  "type": "number"
                },
                "profit_factor": {
                  "type": "null"
                },
                "total_commission": {
                  "type": "number"
                },
                "total_trades": {
                  "type": "number"
                },
                "win_rate": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "schema": {
              "type": "string"
            },
            "scope": {
              "type": "string"
            },
            "service": {
              "type": "string"
            },
            "verdict": {
              "type": "string"
            },
            "version": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "portal": {
          "properties": {
            "provenance": {
              "const": "third-party-supplier"
            },
            "schemaCheck": {
              "enum": [
                "passed",
                "undeclared",
                "unchecked"
              ]
            },
            "serviceId": {
              "const": "backtest-reconcile-v1"
            }
          },
          "required": [
            "provenance",
            "serviceId",
            "schemaCheck"
          ],
          "type": "object"
        }
      },
      "required": [
        "portal",
        "data"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}