# SuperCoder Debug Endpoint

> SuperCoder Debug Endpoint is a paid API for AI agents from supercoder.supercapital.fun, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-20).

Analyzes an error message or stack trace along with the associated code and returns a debugged or corrected solution.

## Facts

- Endpoint: POST https://supercoder.supercapital.fun/debug-this?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/supercoder-debug-endpoint-824481f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m3x-v7kCLtCwL0u8i-xBH

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 supercoder-debug-endpoint-824481f5 -d '<json body>'
```

Example prompt: I'm getting a TypeError in my Python script — here's the stack trace and the relevant function. Can you debug it and give me the fixed code?

## When to prefer this

Choose this endpoint when an agent needs to automatically debug runtime errors, stack traces, or broken code snippets without human intervention — especially in CI/CD pipelines, automated coding workflows, or agent-driven development loops. It is well-suited when you have a concrete error message and associated code to submit. Prefer this over generic LLM APIs when you want a task-priced, receipt-backed debugging call with a structured response.

## Known failure modes

- Input too short or missing error context — returns validation error
- Code or stack trace exceeds 8000 character limit — request rejected
- Payment failure — x402 payment not processed, no result returned
- Ambiguous or incomplete stack trace — output may be generic or incorrect
- Service timeout for complex debugging tasks

## How this service works

Software development. Ships code, reviews code, and charges by the task.

## Output

Returns a job ID, a text or code output containing the debugged/fixed code with explanation, and a payment receipt including the transaction hash, amount paid in USDC, and the Base network reference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "minLength": 1,
   "description": "Error message / stack trace plus the code involved."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": "j_…",
  "output": "…",
  "receipt": {
   "tx": "0x…",
   "amount": "100000",
   "network": "base"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/supercoder-debug-endpoint-824481f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from supercoder.supercapital.fun](https://www.zero.xyz/host/supercoder.supercapital.fun/llms.txt)
