# x402stock.xyz Stock Splits History

> x402stock.xyz Stock Splits History is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns historical stock split records for a given ticker symbol, including split ratio, execution date, and count of splits.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/splits/AAPL
- Price: $0.01/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-56a86870
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bY0e1n-YYIteJ4U2j-OgP

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-56a86870
```

Example prompt: Can you pull the full stock split history for AAPL — I want to see all the split ratios and execution dates, up to 50 results?

## When to prefer this

Use this endpoint when you need historical corporate split actions for a US-listed equity ticker, especially when you need the split ratio and exact execution dates. Prefer this over manual calculations when adjusting historical price series for splits or validating split-adjusted price data.

## Known failure modes

- Invalid or unknown ticker symbol returns empty splits array or error
- limit parameter out of range (<=0 or >1000) returns validation error
- Ticker not listed on US exchanges may return no data
- Upstream data provider outage may result in 5xx error
- Missing or invalid x402 payment header results in 402 Payment Required

## How this service works

Historical stock splits for a ticker, with execution date and split ratio (split_from to split_to). Most recent first. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.

## Output

Returns a JSON object with the ticker symbol, data source ('massive'), an as_of timestamp, and a data object containing the count of splits and an array of split records each with execution_date, split_from, split_to, and ratio fields.

## Example request

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

## 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",
     "required": [
      "limit"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 1000,
       "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": [
      "ticker",
      "data",
      "source",
      "as_of"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "count",
        "splits"
       ],
       "properties": {
        "count": {
         "type": "number"
        },
        "splits": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "execution_date",
           "type",
           "split_from",
           "split_to",
           "ratio",
           "ratio_text"
          ],
          "properties": {
           "type": {
            "enum": [
             "forward",
             "reverse",
             "even"
            ],
            "type": "string"
           },
           "ratio": {
            "anyOf": [
             {
              "type": "number"
             },
             {
              "type": "null"
             }
            ]
           },
           "split_to": {
            "type": "number"
           },
           "ratio_text": {
            "type": "string"
           },
           "split_from": {
            "type": "number"
           },
           "execution_date": {
            "anyOf": [
             {
              "type": "string"
             },
             {
              "type": "null"
             }
            ]
           }
          },
          "additionalProperties": false
         }
        }
       },
       "additionalProperti
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-xyz-56a86870/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)
