mirrored listing x402 eip155:8453zeroclick:card

Backtests a simple rule on a US stock and returns a finished report PNG

Backtests a simple rule on a US stock and returns a finished report PNG. Runs an SMA crossover (?strategy=sma_cross&fast=50&slow=200) or RSI mean-reversion (?strategy=rsi_reversion&period=14&lower=30&upper=70) over daily history (?years=, max 5), no lookahead, rendered as an equity curve vs buy & hold. Returns full stats plus a hosted `artifact.png_url`. From x402stock

Do you run agents.x402stock.xyz? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
500000 (raw units)
price
2
calls / 30d
1
unique payers
2026-08-26
updated

Provider

agents.x402stock.xyz · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xfdb4b511f6ae1f270776e500b3360217d5e7ed03",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "500000",
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "zeroclick:card",
    "payTo": "merchant",
    "asset": "USD",
    "amount": "50",
    "maxTimeoutSeconds": 3600
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "method": "GET",
        "pathParams": {
          "ticker": "AAPL"
        },
        "queryParams": {},
        "type": "http"
      }
    },
    "routeTemplate": "/api/v1/backtest/:ticker",
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "method": {
              "enum": [
                "GET",
                "HEAD",
                "DELETE"
              ],
              "type": "string"
            },
            "pathParams": {
              "ticker": {
                "type": "string"
              },
              "type": "object"
            },
            "queryParams": {
              "properties": {
                "capital": {
                  "default": 10000,
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "type": "number"
                },
                "fast": {
                  "default": 50,
                  "exclusiveMinimum": 0,
                  "maximum": 200,
                  "type": "integer"
                },
                "lower": {
                  "default": 30,
                  "maximum": 99,
                  "minimum": 1,
                  "type": "number"
                },
                "period": {
                  "default": 14,
                  "exclusiveMinimum": 0,
                  "maximum": 100,
                  "type": "integer"
                },
                "slow": {
                  "default": 200,
                  "exclusiveMinimum": 0,
                  "maximum": 400,
                  "type": "integer"
                },
                "strategy": {
                  "default": "sma_cross",
                  "enum": [
                    "sma_cross",
                    "rsi_reversion"
                  ],
                  "type": "string"
                },
                "upper": {
                  "default": 70,
                  "maximum": 99,
                  "minimum": 1,
                  "type": "number"
                },
                "years": {
                  "default": 3,
                  "exclusiveMinimum": 0,
                  "maximum": 5,
                  "type": "number"
                }
              },
              "type": "object"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  },
  "zeroclick": {
    "info": {
      "payment": {
        "amountUsd": "0.500000",
        "id": "apay_bvEZcXLmX5_iu3Vof5YVB"
      },
      "requestId": "zcreq_kXsh134bYoVKM7wQx0_7r",
      "service": "screeners-scores-research"
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "agentId": {
          "type": "string"
        },
        "payment": {
          "properties": {
            "amountUsd": {
              "type": "string"
            },
            "id": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "amountUsd"
          ],
          "type": "object"
        },
        "requestId": {
          "type": "string"
        },
        "service": {
          "type": "string"
        }
      },
      "required": [
        "payment"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://agents.x402stock.xyz/api/v1/backtest/:ticker"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://agents.x402stock.xyz/api/v1/backtest/:ticker");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://agents.x402stock.xyz/api/v1/backtest/:ticker")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/10889.json, and this resource appears in /discovery/resources and /discovery/search.