# YourAITools Credits – $1 Pack

> YourAITools Credits – $1 Pack is a paid API for AI agents from credits.agentgate.workers.dev, paid per call via x402, $1/call, status unknown (last checked 2026-10-23).

Purchase a $1 prepaid credit pack via x402 payment to receive a Bearer API key for YourAITools agent APIs

## Facts

- Endpoint: GET https://credits.agentgate.workers.dev/v1/pack/1?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youraitools-credits-1-pack-f2246a85
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UDHWivXpA3AvIl42SuPY5

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 youraitools-credits-1-pack-f2246a85
```

Example prompt: Buy me the $1 YourAITools credit pack so I get an API key I can use with PayGuard, WebRead, and the other agent APIs — the key should be ready to use right away.

## When to prefer this

Choose this endpoint when you need immediate, low-friction access to YourAITools agent APIs (PayGuard, TokenVerdict, SignCheck, WebRead, InjectScan, DomainCheck, PkgGuard, StackDetect, AgentGate) without a subscription. Ideal for one-off tasks, prototyping, or testing where a $1 entry point is sufficient. Prefer the $5 pack endpoint if you expect higher usage volume and want the 10% bonus credits.

## Known failure modes

- x402 payment not received or underpaid — key not minted, no charge applied
- HTTP 400+ errors on downstream API calls are not charged but indicate bad input
- API key lost after first display — cannot be retrieved again; must purchase a new pack
- Service outage on Cloudflare Workers — endpoint temporarily unavailable
- Invalid or expired payment transaction — request rejected without credit

## How this service works

Prepaid credits for the YourAITools x402 agent APIs (PayGuard, TokenVerdict, SignCheck, WebRead, InjectScan, DomainCheck, PkgGuard, StackDetect, AgentGate). One x402 payment ($1, or $5 with a 10% bonus) mints an API key; send it as Authorization: Bearer <key> to any of those paid routes and each call debits its normal price, with no per-call on-chain payment. Credits are prepaid usage of the YourAITools APIs only, priced in USD at each route's normal per-call price. They are not money, not a token or investment, have no cash value, cannot be withdrawn and are not refundable; a failed call (HTTP 400 or higher) is not charged. Prices of individual routes can change; the balance does not expire while the service runs. Keep the key secret: whoever holds it can spend the credits.

## Output

Returns a JSON object containing the minted API key (shown only once), the pack identifier, the USD amount paid, the USD balance credited, and an example of how to use the key as an Authorization: Bearer header with any YourAITools paid route.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "description": "Search intents: prepaid api credits, api key for agents, pay once api credits, usdc api credits, x402 credits, agent api balance"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "use": {
       "type": "object"
      },
      "pack": {
       "type": "string"
      },
      "api_key": {
       "type": "string"
      },
      "paid_usd": {
       "type": "string"
      },
      "shown_once": {
       "type": "boolean"
      },
      "balance_usd": {
       "type": "string"
      },
      "credited_usd": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "use": {
   "header": "Authorization: Bearer yatc_EXAMPLEexampleEXAMPLEexampleEXAMPLEexampl",
   "example": "https://api.youraitools.co/payguard/v1/address?address=0x098B716B8Aaf21512996dC57EB0615e2383E2f96"
  },
  "pack": "1",
  "api_key": "yatc_EXAMPLEexampleEXAMPLEexampleEXAMPLEexampl",
  "paid_usd": "1.00",
  "shown_once": true,
  "balance_usd": "1.00",
  "credited_usd": "1.00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youraitools-credits-1-pack-f2246a85/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from credits.agentgate.workers.dev](https://www.zero.xyz/host/credits.agentgate.workers.dev/llms.txt)
