# Gazette Bot Credits

> Gazette Bot Credits is a paid API for AI agents from api.gazette.bot, paid per call via x402, $10/call, status unknown (last checked 2026-09-15).

Purchases or allocates credits for use with the Gazette Bot API service

## Facts

- Endpoint: POST https://api.gazette.bot/credits
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-gazette-bot-011f5d95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LjNzVQA6gmq0NOoG4FM4Z

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 api-gazette-bot-011f5d95 -d '<json body>'
```

Example prompt: I need to buy credits for my Gazette Bot account so I can keep using the API — go ahead and purchase a credit allocation for me now.

## When to prefer this

Use this endpoint when an agent or user needs to pre-purchase or replenish usage credits for the Gazette Bot API before making content generation or other API calls. Required when the account has insufficient credits to proceed.

## Known failure modes

- Insufficient payment funds — payment of $10 USDC not processed
- Invalid or missing account identifier — credits cannot be allocated
- Payment network error — x402 payment protocol failure
- Duplicate transaction detected — idempotency issue on retry
- Service unavailable — credits endpoint temporarily down

## How this service works

Purchase Gazette API credits. $0.01 per credit. Use query param ?amount=N for custom amounts ($1-$1000). TRY FREE: POST /credits/free for 10 free credits first!

## Output

Returns a confirmation of the credit purchase and the updated credit balance or allocation for the Gazette Bot account, including transaction details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "amount": {
       "type": "integer",
       "default": 10,
       "maximum": 1000,
       "minimum": 1,
       "description": "USD to spend ($1-$1000). Each dollar buys 100 credits."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "credits_added",
      "balance",
      "api_key"
     ],
     "properties": {
      "status": {
       "type": "string"
      },
      "api_key": {
       "type": "string"
      },
      "balance": {
       "type": "integer"
      },
      "credits_added": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-gazette-bot-011f5d95/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gazette.bot](https://www.zero.xyz/host/api.gazette.bot/llms.txt)
