# Xynaptic Battery Arbitrage

> Xynaptic Battery Arbitrage is a paid API for AI agents from api.xynaptic.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-02).

Returns a 24-hour charge/discharge schedule for home battery storage, identifying optimal buy and sell windows based on energy price spreads.

## Facts

- Endpoint: GET https://api.xynaptic.io/v1/battery-arbitrage?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xynaptic-battery-arbitrage-a03615d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XXn1VvUYSPLgEcKqZ05Fs

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 xynaptic-battery-arbitrage-a03615d5
```

Example prompt: What's the optimal charge and discharge schedule for my home battery today — when should I buy from the grid and when should I sell back to maximize the spread?

## When to prefer this

Choose this endpoint when you need a concrete, decision-ready charge/discharge schedule for a home or small commercial battery storage system within the next 24 hours. It is specifically optimized for storage arbitrage decisions (buy low, sell high on the electricity market), unlike generic energy price APIs that only provide raw pricing data without scheduling recommendations. Best suited for European energy markets given the sibling Grid Status endpoint context.

## Known failure modes

- Energy price data unavailable or stale — may return error or degraded forecast
- No significant arbitrage spread detected — response may indicate flat pricing with no profitable window
- Invalid or unsupported query parameters — returns 400 error
- Service temporarily unavailable — returns 5xx error
- Payment not processed — returns 402 if x402 micropayment fails

## How this service works

Xynaptic Battery Arbitrage — when to charge and when to discharge a battery/home storage in the next 24h: buy window (lowest prices), sell window (highest), expected spread. The storage owner decision product.

## Output

Returns a structured 24-hour arbitrage plan including the optimal buy window (time range with lowest electricity prices to charge the battery), the optimal sell/discharge window (time range with highest prices), and the expected price spread between those windows — giving storage owners a clear action plan for the day.

## 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",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xynaptic-battery-arbitrage-a03615d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xynaptic.io](https://www.zero.xyz/host/api.xynaptic.io/llms.txt)
