SnowSignals x402 Gateway

Pay-per-call retail gateway for the same TrendVane phase reads over the x402 payment protocol (v2) — no account, API key, or OAuth anywhere: a metered GET answers 402 with a signed quote (exact amount in USDC on Base, eip155:8453) and the agent pays per request; the free discovery routes (/phases with the live price list, /phase/resolution-stats) need no payment at all. First-party Cloudflare Worker fronting the v1 daas origin as a house account; went live 2026-09-10, probed the same day.

Operations 4

GET /phase/boundary Settled phase (last closed bar)
GET /phase/updates Live phase (current bar)
GET /phases Metadata + price list (free)
GET /phase/resolution-stats Phase resolution statistics (free)

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snowsignals-x402-gateway"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snowsignals-x402-openapi.json Raw ↑
{
  "openapi": "3.1.0",
  "info": {
    "title": "SnowSignals x402 gateway",
    "version": "1.0.0",
    "description": "Market-phase data (TrendVane) over the x402 pay-per-call protocol. Paid endpoints require an x402 payment (USDC on Base); metadata endpoints are free. The phase names the market state for a currency on a timeframe.",
    "contact": { "name": "SnowSignals", "url": "https://snowsignals.io" }
  },
  "servers": [{ "url": "https://pay.snowsignals.io" }],
  "paths": {
    "/phase/boundary": {
      "get": {
        "summary": "Settled phase (last closed bar)",
        "description": "The deterministic phase from the last closed bar. Metered per row; requires an x402 payment. The 402 response quotes the exact price.",
        "parameters": [
          { "$ref": "#/components/parameters/currency" },
          { "$ref": "#/components/parameters/tf" }
        ],
        "responses": {
          "200": { "$ref": "#/components/responses/PhaseData" },
          "402": { "$ref": "#/components/responses/PaymentRequired" },
          "400": { "$ref": "#/components/responses/BadRequest" }
        }
      }
    },
    "/phase/updates": {
      "get": {
        "summary": "Live phase (current bar)",
        "description": "The phase forming in the current bar; refreshed about once per minute. Metered per row; requires an x402 payment.",
        "parameters": [
          { "$ref": "#/components/parameters/currency" },
          { "$ref": "#/components/parameters/tf" }
        ],
        "responses": {
          "200": { "$ref": "#/components/responses/PhaseData" },
          "402": { "$ref": "#/components/responses/PaymentRequired" },
          "400": { "$ref": "#/components/responses/BadRequest" }
        }
      }
    },
    "/phases": {
      "get": {
        "summary": "Metadata + price list (free)",
        "description": "Enabled currencies, timeframes, phase labels, and the live pricing model. Free, no payment.",
        "responses": { "200": { "description": "Metadata document" } }
      }
    },
    "/phase/resolution-stats": {
      "get": {
        "summary": "Phase resolution statistics (free)",
        "description": "Successor-phase transition probabilities and reward-vs-drawdown stats. Free, no payment.",
        "responses": { "200": { "description": "Resolution-stats document" } }
      }
    }
  },
  "components": {
    "parameters": {
      "currency": {
        "name": "currency", "in": "query",
        "description": "A single currency (e.g. BTC), a comma list, or 'all'.",
        "schema": { "type": "string", "default": "BTC" }
      },
      "tf": {
        "name": "tf", "in": "query",
        "description": "A single timeframe, a comma list, or 'all'. One of 15m, 1h, 2h, 4h, 1d, 1w.",
        "schema": { "type": "string", "default": "1h" }
      }
    },
    "responses": {
      "PhaseData": {
        "description": "Phase readings keyed currency -> timeframe.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "object",
                    "additionalProperties": {
                      "type": ["object", "null"],
                      "properties": {
                        "ts": { "type": "string", "format": "date-time" },
                        "phase": { "type": "string", "example": "establishing_bull" },
                        "label": { "type": "string", "example": "Establishing Bull" }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "PaymentRequired": {
        "description": "x402 payment required (x402 v2). The accepted payment requirements — price (USDC on Base), pay-to address, and asset — are carried in the base64 PAYMENT-REQUIRED response header; an x402 client decodes it, signs a USDC authorization for the quoted amount, and retries. The response body is empty.",
        "headers": {
          "PAYMENT-REQUIRED": {
            "description": "Base64-encoded x402 v2 PaymentRequired document: x402Version, accepts[] (scheme, network, asset, amount, payTo), and discovery extensions.",
            "schema": { "type": "string" }
          }
        }
      },
      "BadRequest": {
        "description": "Invalid currency or timeframe, or a request exceeding the enabled-basket cap.",
        "content": { "application/json": { "schema": { "type": "object", "properties": { "error": { "type": "string" } } } } }
      }
    }
  }
}