# GGWP API Hub - Code Explain

> GGWP API Hub - Code Explain is a paid API for AI agents from ggwp-ten.vercel.app, paid per call via x402, $0.19251/call, status unknown (last checked 2026-09-15).

Accepts code or API response data and returns a plain-language explanation of what it does

## Facts

- Endpoint: POST https://ggwp-ten.vercel.app/api/code-explain
- Price: $0.19251/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ggwp-api-hub-code-explain-f0bfb4b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sUo7ZdoWpPJzpWjIJ9NDZ

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 ggwp-api-hub-code-explain-f0bfb4b0 -d '<json body>'
```

Example prompt: Can you explain what this code does in plain English? Here's the snippet: `function calcTax(income) { return income * 0.3; }` — I want a clear breakdown of its logic and purpose.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call code or API response explanation without committing to a subscription. Best suited for one-off debugging, onboarding, or documentation tasks where a developer or agent needs a plain-English breakdown of a code snippet or structured API result.

## Known failure modes

- Missing or empty result object in request body returns a vague or empty explanation
- Malformed input that does not conform to the expected object schema may return an error or unhelpful response
- Ambiguous or minified code without context may yield an inaccurate explanation
- Payment failure on Base chain via x402 protocol results in 402 Payment Required with no output

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

A plain-language explanation of the submitted code or API response data, describing its logic, purpose, and what each component does in human-readable terms.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response 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/ggwp-api-hub-code-explain-f0bfb4b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ggwp-ten.vercel.app](https://www.zero.xyz/host/ggwp-ten.vercel.app/llms.txt)
