# HivemindOS Agent Credits Top-Up

> HivemindOS Agent Credits Top-Up is a paid API for AI agents from hivemindos-paid-agent-gateway.hivemindos.workers.dev, paid per call via x402, $5/call, status unknown (last checked 2026-10-29).

Purchase HivemindOS Agent Credits by specifying a USD amount (min $5, max $500), which are then credited to your paid agent account at 500 credits per dollar.

## Facts

- Endpoint: POST https://hivemindos-paid-agent-gateway.hivemindos.workers.dev/api/paid-agents/default/credits/top-up?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hivemindos-agent-credits-top-up-4f8ee37f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5djJX2M2mywyf_wMq-FMB

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 hivemindos-agent-credits-top-up-4f8ee37f -d '<json body>'
```

Example prompt: Top up my HivemindOS paid agent credits with $25 worth of agent credits so I have enough headroom for upcoming tasks.

## When to prefer this

Use this endpoint when an AI agent or user needs to replenish HivemindOS Agent Credits specifically for use with the HivemindOS paid agent gateway — particularly before running credit-intensive tasks like multi-agent simulations, video generation, or research reports on that platform. Not relevant for topping up balances on other AI platforms.

## Known failure modes

- Amount below minimum ($5) or above maximum ($500) returns validation error
- Payment failure or insufficient USDC balance causes transaction to fail
- Invalid or missing amountUsd field returns a schema validation error
- Network or gateway timeout on the Cloudflare Worker may result in an unclear transaction state

## How this service works

Official HivemindOS paid agent (default)

## Output

Returns a confirmation object indicating the top-up transaction result, including the type of response and an example payload showing the credits added to the account. Credits are applied at a rate of 500 credits per dollar spent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "amountUsd"
     ],
     "properties": {
      "amountUsd": {
       "type": "number",
       "maximum": 500,
       "minimum": 5,
       "description": "US dollars of Agent Credits to buy (500 credits per dollar)."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hivemindos-agent-credits-top-up-4f8ee37f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hivemindos-paid-agent-gateway.hivemindos.workers.dev](https://www.zero.xyz/host/hivemindos-paid-agent-gateway.hivemindos.workers.dev/llms.txt)
