# SperaxOS Academy Lessons API

> SperaxOS Academy Lessons API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Retrieves a list of DeFi educational lessons from the Sperax Academy, filterable by category and difficulty level

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/academy/getLessons?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-academy-lessons-api-73800d04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G5HYLewHwNInnq95_pQ9W

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 speraxos-academy-lessons-api-73800d04 -d '<json body>'
```

Example prompt: Can you pull up all the beginner-level DeFi Basics lessons available on Sperax Academy?

## When to prefer this

Use this endpoint when you need to programmatically browse or surface Sperax Academy's DeFi educational content, especially when filtering by topic category or learner difficulty level. Prefer this over generic web search when you want structured lesson metadata rather than free-form text results about DeFi education.

## Known failure modes

- Invalid difficulty enum value returns a validation error
- No lessons match the requested category/difficulty combination, returning an empty list
- Payment of $0.001 USDC on Base not fulfilled, resulting in HTTP 402 response
- Network timeout or service unavailability returning a 5xx error

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns a list of DeFi educational lessons matching the requested filters, including lesson titles, descriptions, categories, and difficulty levels available on the Sperax Academy platform.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "category": {
   "type": "string",
   "description": "Filter lessons by category (e.g., \"DeFi Basics\", \"Yield Farming\", \"Security\")"
  },
  "difficulty": {
   "enum": [
    "beginner",
    "intermediate",
    "advanced"
   ],
   "type": "string",
   "description": "Filter lessons by difficulty level: beginner, intermediate, or advanced"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-academy-lessons-api-73800d04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
