# Wolfram|Alpha Simple API via Locus x402

> Wolfram|Alpha Simple API via Locus x402 is a paid API for AI agents from wolframalpha.x402.paywithlocus.com, paid per call via x402, $0.055/call, status unknown (last checked 2026-10-10).

Answers natural language queries as a simplified image response using Wolfram|Alpha's computational knowledge engine, with customizable display options.

## Facts

- Endpoint: POST https://wolframalpha.x402.paywithlocus.com/wolframalpha/simple?utm_source=zero.xyz
- Price: $0.055/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wolfram-alpha-simple-api-via-locus-x402-761231cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8GsJEB88OhGo7_uIHaBjF

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 wolfram-alpha-simple-api-via-locus-x402-761231cf -d '<json body>'
```

Example prompt: Ask Wolfram|Alpha what the integral of sin(x) is and return the result using metric units with a white background and a 600-pixel wide image.

## When to prefer this

Choose this endpoint when you need Wolfram|Alpha's computational knowledge in a simple, visually rendered image format — ideal for math, science, unit conversions, and factual lookups. Use this over the LLM or full structured result endpoints when a clean, displayable image output is sufficient and you don't need machine-parseable structured data. Best when the result will be shown directly to a user.

## Known failure modes

- Ambiguous or unparseable query returns an empty or error result image
- Query outside Wolfram|Alpha's knowledge domain returns no useful data
- Invalid color or layout parameter values may cause rendering errors
- Payment failure or insufficient USDC balance prevents query execution
- Network timeout for complex computations

## How this service works

Computational knowledge engine — math, science, geography, history, nutrition, finance, and more. Get answers as text, spoken audio, LLM-optimized data, or full structured results.

## Output

Returns a JSON object with a 'data' field containing the rendered answer (typically an image), payment settlement details including USDC amount charged, a unique request ID, and a status URL for tracking the request. The image format is configurable via layout, font size, width, and color parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "i": {
   "type": "string"
  },
  "units": {
   "type": "string"
  },
  "width": {
   "type": "number"
  },
  "layout": {
   "type": "string"
  },
  "fontsize": {
   "type": "number"
  },
  "background": {
   "type": "string"
  },
  "foreground": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wolfram-alpha-simple-api-via-locus-x402-761231cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wolframalpha.x402.paywithlocus.com](https://www.zero.xyz/host/wolframalpha.x402.paywithlocus.com/llms.txt)
