# x402stock.xyz US Equity Gainers

> x402stock.xyz US Equity Gainers is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns the day's biggest percentage gainers across US equities with current and previous-day OHLCV data per ticker.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/gainers
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-xyz-7a196512
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mVrTO5hjEjBJlWbfaQaAo

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402stock-xyz-7a196512
```

Example prompt: Pull today's biggest percentage gainers for US stocks — I want to see which tickers are up the most, along with their OHLCV and how they compare to yesterday's close.

## When to prefer this

Choose this endpoint when you need a ranked list of the day's top US equity percentage gainers with full OHLCV context in a single call, rather than screening individual tickers or fetching end-of-day snapshots separately. Ideal for market-open scans, momentum strategies, or daily briefings.

## Known failure modes

- Market closed or no data yet for today — may return empty tickers array or stale as_of
- Payment failure (402) if USDC payment header is missing or insufficient
- Rate limiting or service unavailability returning 429 or 5xx
- Outside US market hours may return incomplete intraday data

## How this service works

The day's biggest percentage gainers across US equities, with current and previous-day OHLCV per ticker. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.

## Output

A JSON object containing an as_of timestamp, a count, the direction ('gainers'), and an array of ticker objects each with: ticker symbol, absolute change, percentage change, last-updated timestamp, and full OHLCV+VWAP for both the current day and previous day.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 10
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "exclusiveMinimum": 0
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "source",
      "as_of",
      "direction",
      "count",
      "tickers"
     ],
     "properties": {
      "as_of": {
       "type": "string"
      },
      "count": {
       "type": "number"
      },
      "source": {
       "type": "string",
       "const": "x402stock"
      },
      "tickers": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "ticker",
         "change",
         "change_percent",
         "updated"
        ],
        "properties": {
         "day": {
          "type": "object",
          "required": [
           "open",
           "high",
           "low",
           "close",
           "volume",
           "vwap"
          ],
          "properties": {
           "low": {
            "type": "number"
           },
           "high": {
            "type": "number"
           },
           "open": {
            "type": "number"
           },
           "vwap": {
            "type": "number"
           },
           "close": {
            "type": "number"
           },
           "volume": {
            "type": "number"
           }
          },
          "additionalProperties": false
         },
         "change": {
          "type": "number"
         },
         "ticker": {
          "type": "string"
         },
         "updated": {
          "anyOf": [
           {
            "type": "string"
           },
           {
            "type": "null"
           }
          ]
         },
         "previous_day": {
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-05-29T20:00:00.000Z",
  "count": 1,
  "source": "x402stock",
  "tickers": [
   {
    "day": {
     "low": 23.06,
     "high": 26.11,
     "open": 25.94,
     "vwap": 24.3,
     "close": 23.55,
     "volume": 19121
    },
    "change": 16.1942,
    "ticker": "CBRX",
    "updated": "2026-05-29T19:58:00.000Z",
    "previous_day": {
     "low": 6.91,
     "high": 7.44,
     "open": 6.97,
     "vwap": 7.17,
     "close": 7.36,
     "volume": 58578
    },
    "change_percent": 220.03
   }
  ],
  "direction": "gainers"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-xyz-7a196512/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
