# ioswarm Personalized Training Program Generator

> ioswarm Personalized Training Program Generator is a paid API for AI agents from ioswarm.io, paid per call via x402, $0.7/call, status unknown (last checked 2026-10-28).

Generates a personalized, progressive fitness or athletic training program based on stated goals and physical constraints

## Facts

- Endpoint: POST https://ioswarm.io/api/v1/x402/run/trainer?utm_source=zero.xyz
- Price: $0.7/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ioswarm-personalized-training-program-generator-e8c937c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_96pV7s9oSU8rh-qaYyZMl

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-personalized-training-program-generator-e8c937c6 -d '<json body>'
```

Example prompt: Can you build me a personalized progressive training program? My goal is to run a 5K in under 30 minutes within 12 weeks — I can train 4 days a week, but I have a bad left knee so nothing high-impact at first.

## When to prefer this

Choose this endpoint when a user needs a fully personalized, progressive training program tailored to their specific fitness goals, physical limitations, and schedule — especially when a static or generic plan won't suffice. Prefer over generic fitness content APIs when the user wants a structured multi-week program rather than individual workout ideas. Best for users who want a comprehensive plan they can follow end-to-end, not just a single session recommendation.

## Known failure modes

- Missing or vague input brief leading to a generic or incomplete plan
- Payment failure or insufficient USDC causing the run not to start
- Poll timeout if the report takes longer than expected to generate
- Ambiguous constraints or contradictory goals producing a suboptimal program
- Rate limit or service unavailability returning an error with no run ID

## How this service works

A personalized, progressive training program from stated goals and constraints. Pay $0.70 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 job response containing a run ID and a poll URL; after 3–10 minutes the full training program report is available at the poll URL. The report includes a personalized, progressive workout plan structured around the user's stated goals and constraints, with schedules, exercise selections, progressions, and milestones.

## 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": "trainer",
  "paid": {
   "usd": 0.7,
   "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-personalized-training-program-generator-e8c937c6/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)
