{
  "components": {
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "request_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "request_id"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "error"
              ],
              "type": "object"
            }
          }
        },
        "description": "Error of an API route: JSON envelope"
      },
      "HTMLError": {
        "content": {
          "text/html": {
            "schema": {
              "type": "string"
            }
          }
        },
        "description": "Error of a web route: a small HTML page (no-store)"
      }
    }
  },
  "info": {
    "description": "Signed trading signals for AI agents. Paid routes use x402 (HTTP 402, USDC). Every published signal is revealed with its salt after 24 hours. General market information for testing on Base Sepolia only; not personalized financial advice; no promise of profit.",
    "title": "AlgoReveal (testnet)",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/": {
      "get": {
        "operationId": "homePage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Landing page",
        "tags": [
          "web"
        ]
      }
    },
    "/.well-known/signals-key": {
      "get": {
        "description": "Public signing keys by key_id, including retired and revoked keys.",
        "operationId": "getSigningKeys",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Ed25519 public keys used to sign signals",
        "tags": [
          "verification"
        ]
      }
    },
    "/docs": {
      "get": {
        "operationId": "docsPage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "How to call, pay and verify",
        "tags": [
          "web"
        ]
      }
    },
    "/healthz": {
      "get": {
        "operationId": "healthz",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Health check",
        "tags": [
          "operations"
        ]
      }
    },
    "/legal": {
      "get": {
        "operationId": "legalPage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Legal information (terms pending)",
        "tags": [
          "web"
        ]
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "llmsTxt",
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Plain-text description for language models (llms.txt)",
        "tags": [
          "discovery"
        ]
      }
    },
    "/openapi.json": {
      "get": {
        "operationId": "openapi",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "This OpenAPI document",
        "tags": [
          "discovery"
        ]
      }
    },
    "/performance": {
      "get": {
        "operationId": "performancePage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          },
          "503": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Performance page (statistics and equity curve)",
        "tags": [
          "web"
        ]
      }
    },
    "/pricing": {
      "get": {
        "operationId": "pricingPage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Subscription plans and x402 prices",
        "tags": [
          "web"
        ]
      }
    },
    "/pricing/buy": {
      "get": {
        "operationId": "buyPlanPage",
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Plan purchase page (browser wallet, USDC on Base)",
        "tags": [
          "web"
        ]
      }
    },
    "/robots.txt": {
      "get": {
        "operationId": "robotsTxt",
        "responses": {
          "200": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Crawler rules (robots.txt) with the sitemap location",
        "tags": [
          "web"
        ]
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "sitemap",
        "responses": {
          "200": {
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Sitemap of the HTML pages on the canonical origin",
        "tags": [
          "web"
        ]
      }
    },
    "/static/plan-buy.js": {
      "get": {
        "operationId": "buyPlanScript",
        "responses": {
          "200": {
            "content": {
              "text/javascript": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Script of the plan purchase page (same origin, no library)",
        "tags": [
          "web"
        ]
      }
    },
    "/static/site.css": {
      "get": {
        "operationId": "stylesheet",
        "responses": {
          "200": {
            "content": {
              "text/css": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "304": {
            "description": "Not modified (If-None-Match matched the ETag)"
          },
          "405": {
            "$ref": "#/components/responses/HTMLError"
          },
          "413": {
            "$ref": "#/components/responses/HTMLError"
          },
          "500": {
            "$ref": "#/components/responses/HTMLError"
          }
        },
        "summary": "Stylesheet of the web pages",
        "tags": [
          "web"
        ]
      }
    },
    "/v1/account": {
      "get": {
        "description": "With the session cookie: plan, plan_source (free, x402 or stripe), plan_expires_at, renewal_hint, quota (day and month: limit, used, reset), subscription (Stripe only) and API keys (prefix only). With an API key (X-Api-Key or Authorization: Bearer ask_...): the same without keys; not metered. 401 auth_required, session_invalid or api_key_invalid.",
        "operationId": "getAccount",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Plan, quota usage and API keys of the account",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/account/keys": {
      "post": {
        "description": "Session cookie and Origin equal to the site origin (403 csrf_refused). Optional body {\"name\": \"<label>\", \"replaces\": \"<key id>\"}; replaces revokes that key in the same transaction (rotation). 201 {id, key, prefix, name, created_at}: the key is shown only once and stored as a SHA-256 hash. At most 10 active keys (409 key_limit).",
        "operationId": "createAPIKey",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Create (or rotate) an API key",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/account/keys/{id}": {
      "delete": {
        "description": "Session cookie and Origin equal to the site origin. 204; 404 key_not_found when the account has no such key. A revoked key answers 401 api_key_invalid (never 402).",
        "operationId": "revokeAPIKey",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Revoke an API key",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/account/login": {
      "post": {
        "description": "Body {\"email\": \"<address>\"}. Always 202 {\"status\":\"sent\"} for a valid address, whether or not an account exists (the account is created when the link is used). The link is valid 15 minutes and works once. Rate limited per client address and globally (429 rate_limited with Retry-After).",
        "operationId": "requestSignInLink",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Mail a one-time sign-in link",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/account/logout": {
      "post": {
        "description": "Session cookie and Origin equal to the site origin (403 csrf_refused). Deletes the session on the server and expires the cookie; 204.",
        "operationId": "signOut",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Sign out: deletes the session",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/account/verify": {
      "get": {
        "description": "The mailed link. Returns a small HTML page (no-store, Referrer-Policy same-origin so the browser sends the site Origin on the form POST) with a button that posts the token to POST /v1/account/verify. Opening the link does not use it, so mail scanners and link previews cannot consume it. 400 invalid_request for a missing or malformed token.",
        "operationId": "signInLinkPage",
        "parameters": [
          {
            "description": "Token of the sign-in link.",
            "in": "query",
            "name": "token",
            "required": true,
            "schema": {
              "pattern": "^[A-Za-z0-9_-]{43}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Sign-in link confirmation page (consumes nothing)",
        "tags": [
          "accounts"
        ]
      },
      "post": {
        "description": "Origin equal to the site origin (403 csrf_refused, checked before anything is used). Body: form field token (the confirmation page) or {\"token\": \"<token>\"}. Uses the link once, creates the account on its first use and sets the __Host-as_session cookie (HttpOnly, Secure, SameSite=Strict, 7 days); returns {account_id, email, session_expires_at}. 401 link_invalid for an unknown, used or expired link.",
        "operationId": "verifySignInLink",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Use a sign-in link: sets the session cookie",
        "tags": [
          "accounts"
        ]
      }
    },
    "/v1/auth/nonce": {
      "get": {
        "description": "A single-use nonce (32 hex characters, valid 5 minutes) to put in an EIP-4361 message for POST /v1/auth/siwe. Rate limited per client address and globally (429 with Retry-After).",
        "operationId": "getSIWENonce",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Nonce for Sign-In with Ethereum (pass recovery)",
        "tags": [
          "passes"
        ]
      }
    },
    "/v1/auth/siwe": {
      "post": {
        "description": "Body {\"message\": \"<EIP-4361 message>\", \"signature\": \"0x...\"} signed with EIP-191 by the paying wallet (an externally owned account; smart-contract wallets, EIP-1271, are not supported yet). Returns {\"passes\": [...]} with a new JWT for every active pass of that address. The nonce is consumed once the signature is valid.",
        "operationId": "recoverPassesSIWE",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Recover the passes of a wallet with Sign-In with Ethereum",
        "tags": [
          "passes"
        ]
      }
    },
    "/v1/billing/plans/{plan}": {
      "post": {
        "description": "Session cookie with Origin equal to the site origin (403 csrf_refused), or an API key. No query and no body. Checked before any payment: 404 plan_not_found (unknown or free plan), 401 auth_required/session_invalid/api_key_invalid, 409 plan_conflict (another plan is active), 409 plan_cap_exceeded (more than 365 days prepaid), 409 purchase_in_progress (another purchase of the account is running). Then x402: the 402 names the price of the plan (x-x402 products); the answer {plan, source, starts_at, expires_at, renewal} is delivered only after settlement and the period is recorded in the same database transaction as the payment. Buying the same plan again adds 30 days after the current end. Any wallet may pay; the plan belongs to the account. A plan is access for a fixed time, not a balance; payments are final.",
        "operationId": "buyPlan",
        "parameters": [
          {
            "in": "path",
            "name": "plan",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Buy or renew a 30-day plan with USDC (paid, x402; account plan)",
        "tags": [
          "billing"
        ],
        "x-x402": {
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "products": [
            {
              "amount": "19000000",
              "duration": "720h",
              "price_usd": "19",
              "product": "plan_starter",
              "route": "POST /v1/billing/plans/starter"
            },
            {
              "amount": "49000000",
              "duration": "720h",
              "price_usd": "49",
              "product": "plan_pro",
              "route": "POST /v1/billing/plans/pro"
            },
            {
              "amount": "199000000",
              "duration": "720h",
              "price_usd": "199",
              "product": "plan_team",
              "route": "POST /v1/billing/plans/team"
            }
          ],
          "scheme": "exact"
        }
      }
    },
    "/v1/funding/live": {
      "get": {
        "description": "Same comparison table as the free snapshot without the delay (newest snapshot, at most 5 minutes old). Paid per call with x402; 404 symbol_not_found and 503 funding_unavailable are not charged.",
        "operationId": "getFundingLive",
        "parameters": [
          {
            "description": "Optional base asset, e.g. BTC (exactly once); absent = every symbol.",
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "pattern": "^[A-Z0-9]{1,20}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Normalized funding comparison across venues, current (paid, x402)",
        "tags": [
          "funding"
        ],
        "x-x402": {
          "amount": "5000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.005",
          "product": "funding_live",
          "scheme": "exact"
        }
      }
    },
    "/v1/funding/opportunities": {
      "get": {
        "description": "Per symbol, the long/short venue pair with the largest estimated net result over hold_hours, after the fees of both venues (open and close) and an assumed slippage per trade. The answer states every assumption (fee table, slippage, model). Estimates assume current rates stay constant, which they usually do not; not investment advice. Values are percentages of one leg's notional, rounded. Paid per call with x402; 400, 404 (symbol not listed) and 503 are not charged.",
        "operationId": "getFundingOpportunities",
        "parameters": [
          {
            "description": "Optional base asset, e.g. BTC (exactly once); absent = every symbol.",
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "pattern": "^[A-Z0-9]{1,20}$",
              "type": "string"
            }
          },
          {
            "description": "Holding period in hours, 8..720 (default 168; at least the longest funding interval).",
            "in": "query",
            "name": "hold_hours",
            "required": false,
            "schema": {
              "pattern": "^[1-9][0-9]{0,2}$",
              "type": "string"
            }
          },
          {
            "description": "Assumed slippage per trade in basis points, decimal 0..100 (default 5).",
            "in": "query",
            "name": "slippage_bps",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "taker (default) or maker fees for every trade.",
            "in": "query",
            "name": "fee_mode",
            "required": false,
            "schema": {
              "enum": [
                "taker",
                "maker"
              ],
              "type": "string"
            }
          },
          {
            "description": "Rows, 1..100 (default 20).",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "pattern": "^[1-9][0-9]{0,2}$",
              "type": "string"
            }
          },
          {
            "description": "Optional minimum estimated net annual rate as a fraction (decimal, -10..100; 0.2 = 20 %).",
            "in": "query",
            "name": "min_net_apr",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Funding-rate spreads for delta-neutral pairs, net of assumed costs (paid, x402)",
        "tags": [
          "funding"
        ],
        "x-x402": {
          "amount": "10000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.01",
          "product": "funding_opportunities",
          "scheme": "exact"
        }
      }
    },
    "/v1/passes/day": {
      "post": {
        "description": "No query and no body. Paid with x402 (price in x-x402); the response {pass_id, jwt, plan, expires_at} is delivered only after the payment is settled, and the pass is activated in the same database transaction that records the payment. Send the JWT as Authorization: Bearer <jwt> on the paid signal routes (no per-call payment, 60 requests per minute per pass) and on GET /v1/stream. Lost JWT: recover it with POST /v1/auth/siwe.",
        "operationId": "buyDayPass",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Buy a day (24 hours) pass (paid, x402)",
        "tags": [
          "passes"
        ],
        "x-x402": {
          "amount": "3000000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "3",
          "product": "pass_day",
          "scheme": "exact"
        }
      }
    },
    "/v1/passes/month": {
      "post": {
        "description": "No query and no body. Paid with x402 (price in x-x402); the response {pass_id, jwt, plan, expires_at} is delivered only after the payment is settled, and the pass is activated in the same database transaction that records the payment. Send the JWT as Authorization: Bearer <jwt> on the paid signal routes (no per-call payment, 60 requests per minute per pass) and on GET /v1/stream. Lost JWT: recover it with POST /v1/auth/siwe.",
        "operationId": "buyMonthPass",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Buy a month (30 days) pass (paid, x402)",
        "tags": [
          "passes"
        ],
        "x-x402": {
          "amount": "50000000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "50",
          "product": "pass_month",
          "scheme": "exact"
        }
      }
    },
    "/v1/passes/week": {
      "post": {
        "description": "No query and no body. Paid with x402 (price in x-x402); the response {pass_id, jwt, plan, expires_at} is delivered only after the payment is settled, and the pass is activated in the same database transaction that records the payment. Send the JWT as Authorization: Bearer <jwt> on the paid signal routes (no per-call payment, 60 requests per minute per pass) and on GET /v1/stream. Lost JWT: recover it with POST /v1/auth/siwe.",
        "operationId": "buyWeekPass",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Buy a week (7 days) pass (paid, x402)",
        "tags": [
          "passes"
        ],
        "x-x402": {
          "amount": "15000000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "15",
          "product": "pass_week",
          "scheme": "exact"
        }
      }
    },
    "/v1/public/funding/snapshot": {
      "get": {
        "description": "Our comparison of perpetual funding across the venues the operator enabled (each venue is listed with its status: ok, stale, unavailable), for symbols listed on at least two of them whose prices agree: per symbol, each venue's rank by normalized funding and, per venue pair, the spread as an annual percentage (rounded to 0.01) with the estimated net annual percentage after the stated fees and slippage and the break-even hours. The venues' own rates, instrument names and prices are not included. At least 15 minutes old (delay_seconds); 404 symbol_not_found for a symbol not listed; 503 funding_unavailable when no snapshot fits. Market information, not advice.",
        "operationId": "getFundingSnapshot",
        "parameters": [
          {
            "description": "Optional base asset, e.g. BTC (exactly once); absent = every symbol.",
            "in": "query",
            "name": "symbol",
            "required": false,
            "schema": {
              "pattern": "^[A-Z0-9]{1,20}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Normalized funding comparison across venues (free, delayed 15 minutes)",
        "tags": [
          "funding"
        ]
      }
    },
    "/v1/public/history": {
      "get": {
        "description": "Every published signal and event (update, close, cancel) once it is at least 24 hours old, with signature, salt and commit hash, oldest first, keyset-paginated. Nothing newer than revealed_through is returned.",
        "operationId": "listHistory",
        "parameters": [
          {
            "description": "Opaque cursor taken verbatim from next_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Page size, 1..200 (default 50).",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "pattern": "^[1-9][0-9]{0,2}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Revealed signals and events with their salts",
        "tags": [
          "track record"
        ]
      }
    },
    "/v1/public/performance": {
      "get": {
        "description": "Signal counts by state (active, closed, cancelled, expired) as of the reveal cutoff (now - 24h). No count up to now.",
        "operationId": "getPerformanceCounts",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Counts of revealed signals by state",
        "tags": [
          "track record"
        ]
      }
    },
    "/v1/public/performance/summary": {
      "get": {
        "description": "Win rate, profit factor, total R and max drawdown in R computed by the evaluator from public market data, over revealed signals only, losses included; pending signals are counted. Decimal values are strings; undefined ratios are null.",
        "operationId": "getPerformanceSummary",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Performance statistics of revealed, graded signals",
        "tags": [
          "track record"
        ]
      }
    },
    "/v1/public/pricing": {
      "get": {
        "description": "Network (CAIP-2), asset, products with price_usd (decimal string) and amount (USDC base units, string).",
        "operationId": "getPricing",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Current price list",
        "tags": [
          "payments"
        ]
      }
    },
    "/v1/public/proofs/{id}": {
      "get": {
        "description": "Leaf, sibling path, Merkle root and the Base anchor (calldata) of a signal or event id (sig_/evt_), once it is revealed and its hourly batch is anchored. 404 not_revealed covers unknown and not yet revealed ids alike; 409 anchor_pending while the batch is not anchored.",
        "operationId": "getProof",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Merkle proof of a revealed signal or event",
        "tags": [
          "verification"
        ]
      }
    },
    "/v1/public/smart-money/summary": {
      "get": {
        "description": "Aggregates of the public Hyperliquid perpetual positions and trades of a fixed set of wallets chosen by the operator: per coin, long and short notional (two significant digits), wallets on each side, position changes since the previous snapshot and net flow over the window. Only coins held or traded by at least min_wallets_per_coin wallets are listed, and an amount is null unless at least that many wallets make it up (long or short side, traders for the net flow); no wallet address. At least 60 minutes old (delay_seconds); 503 smart_money_unavailable when no snapshot fits. Past positioning does not predict prices. Market information, not advice.",
        "operationId": "getSmartMoneySummary",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Net positioning of tracked Hyperliquid wallets per coin (free, delayed 60 minutes)",
        "tags": [
          "smart money"
        ]
      }
    },
    "/v1/signals/active": {
      "get": {
        "description": "Every active signal with its signed payload verbatim, signature, commit hash, events and state. No salt. Paid per call with x402; payment is settled only when the response is below 400. With a pass: Authorization: Bearer <pass JWT> instead of payment (401 pass_invalid/pass_expired, 429 pass_rate_limited).",
        "operationId": "listActiveSignals",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Active signals (paid, x402)",
        "tags": [
          "signals"
        ],
        "x-x402": {
          "amount": "100000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.1",
          "product": "active",
          "scheme": "exact"
        }
      }
    },
    "/v1/signals/by-id/{id}": {
      "get": {
        "description": "One signal (sig_ id) with its signed payload verbatim, signature, commit hash, events and state. No salt. Paid per call with x402; an unknown id answers 404 and is not charged. With a pass: Authorization: Bearer <pass JWT> instead of payment (401 pass_invalid/pass_expired, 429 pass_rate_limited).",
        "operationId": "getSignalByID",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "One signal by id (paid, x402)",
        "tags": [
          "signals"
        ],
        "x-x402": {
          "amount": "5000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.005",
          "product": "by_id",
          "scheme": "exact"
        }
      }
    },
    "/v1/signals/latest": {
      "get": {
        "description": "The latest signal of one symbol with its signed payload verbatim, signature, commit hash, events and state. No salt (it is revealed after 24 hours). Paid per call with x402; payment is settled only when the response is below 400. With a pass: Authorization: Bearer <pass JWT> instead of payment (401 pass_invalid/pass_expired, 429 pass_rate_limited).",
        "operationId": "getLatestSignal",
        "parameters": [
          {
            "description": "Symbol, e.g. BTC-USDT (exactly once).",
            "in": "query",
            "name": "symbol",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Latest signal for a symbol (paid, x402)",
        "tags": [
          "signals"
        ],
        "x-x402": {
          "amount": "20000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.02",
          "product": "latest",
          "scheme": "exact"
        }
      }
    },
    "/v1/smart-money/flows": {
      "get": {
        "description": "Same aggregates and thresholds as the free summary (a coin of at least 3 wallets, an amount null unless at least 3 wallets make it up) and the same two significant digits, from the newest snapshot (at most 30 minutes old), with bought and sold notional, the number of wallets involved and the coins at least 3 wallets bought or sold heavily over the window (alerts). No wallet address, no individual position. Paid per call with x402; 400, 404 coin_not_found and 503 smart_money_unavailable are not charged. Market information, not advice.",
        "operationId": "getSmartMoneyFlows",
        "parameters": [
          {
            "description": "Optional Hyperliquid perpetual, e.g. BTC (exactly once); absent = every coin.",
            "in": "query",
            "name": "coin",
            "required": false,
            "schema": {
              "pattern": "^[A-Za-z0-9]{1,20}$",
              "type": "string"
            }
          },
          {
            "description": "Coins, 1..100 (default 50).",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "pattern": "^[1-9][0-9]{0,2}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Per coin positioning and flows of tracked Hyperliquid wallets, current (paid, x402)",
        "tags": [
          "smart money"
        ],
        "x-x402": {
          "amount": "20000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.02",
          "product": "smart_money_flows",
          "scheme": "exact"
        }
      }
    },
    "/v1/smart-money/wallets": {
      "get": {
        "description": "The tracked wallets ranked by realized PnL over the window (closed PnL minus fees) or by the change of their reported PnL over the last week or month. Each row has only the rank, the shortened address, the PnL of the period rounded to two significant digits, the number of open positions as a bucket (0, 1-2, 3-5, 6+) and fills_complete; nothing per coin. A wallet whose window trades could not all be read has no window PnL and ranks last. Past results do not predict future results. Paid per call with x402; 400 and 503 are not charged. Market information, not advice.",
        "operationId": "getSmartMoneyWallets",
        "parameters": [
          {
            "description": "window (default), week or month.",
            "in": "query",
            "name": "period",
            "required": false,
            "schema": {
              "enum": [
                "window",
                "week",
                "month"
              ],
              "type": "string"
            }
          },
          {
            "description": "Wallets, 1..100 (default 20).",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "pattern": "^[1-9][0-9]{0,2}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "description": "Payment required (x402): the PAYMENT-REQUIRED header states scheme, network, asset, amount and payTo. Retry with a PAYMENT-SIGNATURE header."
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Ranking of tracked Hyperliquid wallets by PnL (paid, x402)",
        "tags": [
          "smart money"
        ],
        "x-x402": {
          "amount": "30000",
          "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
          "asset_symbol": "USDC",
          "network": "eip155:84532",
          "price_usd": "0.03",
          "product": "smart_money_wallets",
          "scheme": "exact"
        }
      }
    },
    "/v1/stream": {
      "get": {
        "description": "Requires Authorization: Bearer <pass JWT> (401 pass_required without it; never x402). Events: signal and event (data = signed payload verbatim with signature, commit_hash and feed_seq; no salt; id = feed_seq), pass_expired, pass_revoked, resume_gap, shutdown; comment heartbeats every 15 s. Last-Event-ID resumes within 500 items, never before the activation of the pass. At-least-once delivery: deduplicate by id. At most 3 connections per pass (429).",
        "operationId": "streamSignals",
        "parameters": [
          {
            "description": "Optional comma-separated symbols (BASE-QUOTE, at most 20, distinct); absent = every symbol.",
            "in": "query",
            "name": "symbols",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "405": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "500": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          }
        },
        "summary": "Live signal stream for pass holders (Server-Sent Events)",
        "tags": [
          "passes"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.algoreveal.com"
    }
  ]
}
