# YourAITools Credit Pack Purchase (Pack 1)

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

Purchases a $1 USDC credit pack that mints an API key with $1.00 balance for accessing YourAITools AI directory APIs

## Facts

- Endpoint: GET https://api.youraitools.co/credits/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-credit-pack-purchase-pack-1-863a3c3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7FyOIHHcuLW_jkZCufV3N

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-pack-1-863a3c3b
```

Example prompt: Buy me the $1 YourAITools credit pack so I get an API key to query the AI tools directory — pay with USDC on Base.

## When to prefer this

Use this endpoint when an agent needs to obtain a fresh API key and $1.00 credit balance for the YourAITools directory APIs, specifically when paying via USDC on Base or Solana through the x402 protocol. Prefer this over manual key generation workflows when operating in a crypto-native, agentic context where programmatic payment and credential minting is required in one step.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not confirmed — no API key issued
- Invalid pack ID: requesting a non-existent pack number returns an error
- Network timeout: slow blockchain confirmation causes request to hang
- Duplicate payment: attempting to repurchase may result in a new key rather than topping up existing key
- shown_once flag: API key is only shown once in the response; losing it requires purchasing a new pack

## How this service works

Prepaid API credits ($1 pack). Prepaid credits for the YourAITools agent APIs: one x402 payment of $1 USDC mints an API key holding $1.00 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 (api_key), authorization header string for use in subsequent requests, current balance_usd ($1.00), credited_usd, paid_usd, the pack identifier, and a shown_once flag indicating this is a one-time display of the key.

## 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-credit-pack-purchase-pack-1-863a3c3b/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)
