# GGWP API Hub - Code Execution

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

Executes code remotely and returns the result via a pay-per-call API endpoint on Base chain.

## Facts

- Endpoint: POST https://ggwp-ten.vercel.app/api/code-exec?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ggwp-api-hub-code-execution-3579e2bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UUjItmylk48gKAE2X39-U

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-execution-3579e2bf -d '<json body>'
```

Example prompt: Can you run this code snippet for me remotely using the GGWP code execution endpoint and give me back the result?

## When to prefer this

Use this endpoint when you need a pay-per-call remote code execution service that settles payments on the Base blockchain via the x402 protocol, and you want a lightweight, serverless execution environment without managing infrastructure.

## Known failure modes

- Payment not sent or insufficient USDC balance causes 402 response
- Malformed input object causes validation error
- Code execution timeout or runtime error returns failure in result field
- Base chain payment transaction failure blocks access
- Empty or null result object returned if code produces 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

Returns a JSON object with a 'result' field containing the output data from the executed code, structured as an API response object.

## 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-execution-3579e2bf/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)
