# ioswarm Wellness Plan Generator

> ioswarm Wellness Plan Generator is a paid API for AI agents from ioswarm.io, paid per call via x402, $1.85/call, status unknown (last checked 2026-10-27).

Generates a literature-grounded personalized wellness plan around a stated health or lifestyle goal, delivered as an async report within 3–10 minutes.

## Facts

- Endpoint: POST https://ioswarm.io/api/v1/x402/run/wellness?utm_source=zero.xyz
- Price: $1.85/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ioswarm-wellness-plan-generator-bfac2622
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_apyOr9dZoPenRhZMlA-7C

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 ioswarm-wellness-plan-generator-bfac2622 -d '<json body>'
```

Example prompt: Can you put together a science-backed wellness plan for me? My main goals are improving sleep quality and reducing stress — I work a desk job, exercise occasionally, and want something realistic and grounded in research.

## When to prefer this

Choose this endpoint when a user needs a personalized, research-grounded wellness plan tied to a specific health or lifestyle goal — especially when breadth and scientific grounding matter more than speed. Prefer this over fitness-only or meal-only endpoints when the user's goal spans multiple wellness dimensions (sleep, stress, nutrition, movement). The $1.85 price point and async delivery make it suitable for comprehensive single-use plan generation rather than real-time queries.

## Known failure modes

- Invalid or missing 'input' field in the request body returns a validation error
- Payment failure or insufficient USDC balance prevents the run from starting
- Polling URL returns a pending status if checked before the 3–10 minute generation window
- Malformed or overly vague input brief may result in a generic or low-quality wellness plan
- Network timeout if the poll URL is not checked within the valid window

## How this service works

A literature-grounded wellness plan around a stated goal. Pay $1.85 USDC per run; the response carries a run id and poll URL, the report lands in 3–10 minutes. No account needed — the paying wallet becomes the account and an API key is returned once.

## Output

An async response containing a run ID and a poll URL. Within 3–10 minutes, the full report is available at the poll URL — a structured, literature-grounded wellness plan tailored to the stated goal, including evidence-based recommendations spanning relevant wellness dimensions such as sleep, nutrition, movement, stress, and mindset. An API key is also returned on first use for the paying wallet.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "The question or brief."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "wellness",
  "paid": {
   "usd": 1.85,
   "transaction": "0x…"
  },
  "run_id": "run-1789440847776-0001",
  "status": "running",
  "poll_url": "https://ioswarm.io/api/v1/runs/run-1789440847776-0001",
  "report_url": "https://ioswarm.io/api/v1/runs/run-1789440847776-0001/report"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ioswarm-wellness-plan-generator-bfac2622/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ioswarm.io](https://www.zero.xyz/host/ioswarm.io/llms.txt)
