# CodeNut AI Credit Drop (x402)

> CodeNut AI Credit Drop (x402) is a paid API for AI agents from codenut.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Purchase CodeNut AI credits at a promotional rate of $0.01 USDC to receive 100x the equivalent credit value on the CodeNut platform.

## Facts

- Endpoint: POST https://codenut.ai/api/x402/credit-drop/xs
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/codenut-ai-73f6add9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6uag1w15yXNPSm3EnHXw4

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 codenut-ai-73f6add9 -d '<json body>'
```

Example prompt: Claim the CodeNut AI promotional credit drop for me — spend $0.01 USDC to get 100x worth of CodeNut credits added to my account.

## When to prefer this

Choose this endpoint when you need to fund a CodeNut AI account with credits at a significant discount using a micro-payment via the x402 protocol. Best used when a user wants to top up their CodeNut balance cost-effectively before using CodeNut AI services.

## Known failure modes

- Payment failure or insufficient USDC balance — payment rejected
- x402 payment header missing or malformed — 402 or 400 error
- Offer expired or no longer available — 404 or 410 error
- Account not eligible for the promotion — 403 forbidden
- Rate limiting if called too frequently — 429 too many requests

## How this service works

Charges a $0.01 USDC payment on Base to issue CodeNut credits and returns a JSON object with the credited amount.

## Output

The agent receives confirmation that CodeNut credits have been added to the account at the promotional 100x rate, reflecting the credit balance update after a $0.01 USDC payment.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "amount"
  ],
  "properties": {
   "amount": {
    "type": "number"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/codenut-ai-73f6add9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from codenut.ai](https://www.zero.xyz/host/codenut.ai/llms.txt)
