# YourAITools Credits – Prepaid API Key Pack

> YourAITools Credits – Prepaid API Key Pack is a paid API for AI agents from api.youraitools.co, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Purchase a prepaid $0.005 USDC API key via x402 payment that grants access to YourAITools agent APIs without per-call on-chain transactions

## Facts

- Endpoint: GET https://api.youraitools.co/credits/v1/pack/sample?utm_source=zero.xyz
- Price: $0.005/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-prepaid-api-key-pack-7fbda663
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pVZeK1dqgZIN-q9BXkAHu

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-prepaid-api-key-pack-7fbda663
```

Example prompt: Can you buy me a sample prepaid credit pack from YourAITools so I get a bearer key I can use across their PayGuard, InjectScan, and DomainCheck APIs without paying on-chain for every call?

## When to prefer this

Choose this endpoint when you need a reusable bearer token to make multiple calls across YourAITools APIs (PayGuard, TokenVerdict, SignCheck, WebRead, InjectScan, DomainCheck, PkgGuard, StackDetect, AgentGate) without triggering a separate on-chain x402 payment for each individual call. It is ideal for batch usage, automated agent pipelines, or evaluation workflows where per-call crypto transactions would be impractical. Prefer this over direct per-call payments when you expect to use more than one YourAITools API in a session.

## Known failure modes

- x402 payment not completed or rejected — no API key issued
- Insufficient USDC balance in paying wallet — payment fails
- Network or facilitator error during payment processing — no key minted
- Calling endpoint again after key was already shown — key not retrievable again (shown_once: true)
- Invalid or malformed payment header — 402 response returned

## How this service works

Prepaid API credits (sample pack). Prepaid credits for the YourAITools agent APIs: one x402 payment of $0.005 USDC mints an API key holding $0.005 of credits. Send it as Authorization: Bearer <key> to PayGuard, TokenVerdict, SignCheck, WebRead, InjectScan, DomainCheck, PkgGuard, StackDetect or AgentGate paid routes; each call debits its normal price instead of an on-chain payment. Key shown once. Prepaid API usage only, not refundable.

## Output

Returns a JSON object containing the minted API key (shown only once), the bearer token header string ready for use, the credited and balance amounts in USD ($0.005), the pack name, and an example endpoint URL demonstrating how to use the key. The key can be used as 'Authorization: Bearer <key>' on any paid YourAITools route until credits are exhausted.

## 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: api credits sample, try api credits, prepaid api key, 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": "sample",
  "api_key": "yatc_EXAMPLEexampleEXAMPLEexampleEXAMPLEexampl",
  "paid_usd": "0.005",
  "shown_once": true,
  "balance_usd": "0.005",
  "credited_usd": "0.005"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youraitools-credits-prepaid-api-key-pack-7fbda663/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.youraitools.co](https://www.zero.xyz/host/api.youraitools.co/llms.txt)
