# Magnum.ai Pretrade API Endpoint

> Magnum.ai Pretrade API Endpoint is a paid API for AI agents from magnum-ai-flame.vercel.app, paid per call via x402, $0.11/call, status unknown (last checked 2026-10-23).

Executes a pretrade analysis or simulation call via a pay-per-call API marketplace on Base chain using x402 micropayments.

## Facts

- Endpoint: POST https://magnum-ai-flame.vercel.app/api/pretrade?utm_source=zero.xyz
- Price: $0.11/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magnum-ai-pretrade-api-endpoint-cd3ebe14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vN_zQtPKkCf42lni7AEa0

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 magnum-ai-pretrade-api-endpoint-cd3ebe14 -d '<json body>'
```

Example prompt: Run a pretrade analysis on Magnum.ai for my trade data and return the result — charge the $0.11 USDC fee via my Base wallet.

## When to prefer this

Use this endpoint when you need to perform a pretrade evaluation or simulation and are operating within the Magnum.ai API marketplace ecosystem with x402 micropayment support on Base chain. Prefer this over generic trading APIs when you want pay-per-call pricing with no subscription.

## Known failure modes

- Payment failure: insufficient USDC balance on Base chain returns 402 Payment Required
- Invalid input: malformed result object returns 400 Bad Request
- Upstream service error: Vercel or Magnum.ai backend unavailable returns 500 or 503
- Schema mismatch: missing required fields in the input object may return empty or error response

## How this service works

Pay-per-call API marketplace with 150 endpoints powered by x402 payments on Base chain.

## Output

Returns a result object containing the API response data from the pretrade analysis, structured as { result: { data: ... } }.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magnum-ai-pretrade-api-endpoint-cd3ebe14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from magnum-ai-flame.vercel.app](https://www.zero.xyz/host/magnum-ai-flame.vercel.app/llms.txt)
