# YourAITools Credit Pack Purchase ($5)

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

Purchases a $5 USDC credit pack via x402, returning an API key and credit balance for accessing the YourAITools directory of AI tools that accept crypto payments.

## Facts

- Endpoint: GET https://api.youraitools.co/credits/v1/pack/5?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/youraitools-credit-pack-purchase-5-960a24b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O0kxh9Zlmd1G2QUJl3y5N

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-credit-pack-purchase-5-960a24b1
```

Example prompt: Buy me the $5 credit pack on YourAITools so I can get an API key to access their directory of AI tools that accept crypto payments.

## When to prefer this

Use this endpoint when you need to obtain an API key and credit balance specifically for the YourAITools platform, which provides a curated directory of AI tools and agents accepting USDC payments via x402 on Base or Solana. Choose this over other credit pack tiers (e.g. $1, $10, $25) when $5 of credit is the right amount for your usage. This is the entry point for any agent that needs to authenticate with YourAITools APIs downstream.

## Known failure modes

- Payment failure or insufficient USDC balance — x402 payment not processed
- Network timeout during payment settlement
- Invalid or missing x402 payment header — returns 402 Payment Required
- Pack tier not found or unavailable
- API key generation failure on server side

## How this service works

Prepaid API credits ($5 pack with bonus). Prepaid credits for the YourAITools agent APIs: one x402 payment of $5 USDC mints an API key holding $5.50 of credits ($0.50 bonus). 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 purchased pack tier, a new API key (bearer token), the amount paid in USD, the total credited USD balance, a flag indicating the key is shown only once, and an example of how to use the key as an Authorization header.

## 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": "5",
  "api_key": "yatc_EXAMPLEexampleEXAMPLEexampleEXAMPLEexampl",
  "paid_usd": "5.00",
  "shown_once": true,
  "balance_usd": "5.50",
  "credited_usd": "5.50"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/youraitools-credit-pack-purchase-5-960a24b1/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)
