# wtsp.dev Credits Purchase

> wtsp.dev Credits Purchase is a paid API for AI agents from wtsp.dev, paid per call via x402, $10/call, status unknown (last checked 2026-10-11).

Purchase USDC-denominated API credits for the wtsp.dev WhatsApp lookup service, receiving a new API key or topping up an existing one

## Facts

- Endpoint: POST https://wtsp.dev/v1/credits?utm_source=zero.xyz
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wtsp-dev-credits-purchase-b8d6c1c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qB4lims6xNgfQ5WoMpK7g

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 wtsp-dev-credits-purchase-b8d6c1c2 -d '<json body>'
```

Example prompt: I want to start looking up WhatsApp numbers — add 50 USDC of credits to wtsp.dev so I get an API key I can use right away.

## When to prefer this

Use this endpoint when an AI agent needs to acquire or replenish API credits for the wtsp.dev WhatsApp lookup service without any prior sign-up or API key — it is the entry point for the entire service, enabling keyless, pay-per-use USDC payments on Base via x402.

## Known failure modes

- Amount outside 1-500 range returns validation error
- Payment failure via x402 results in no key or credit being issued
- Duplicate payment to existing key returns null for 'key' field but updates balance
- Network or blockchain confirmation delays may cause latency
- Invalid USDC transaction results in no credits added

## How this service works

Look up any phone number on WhatsApp: registration, business profile, profile photo and carrier. AI agents pay per request in USDC on Base with x402. No sign-up, no API key.

## Output

Returns a newly created API key (shown only once, null if topping up an existing key), a key prefix for identification, the amount of USDC added, and the resulting credit balance on the key in USD.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount"
 ],
 "properties": {
  "amount": {
   "type": "integer",
   "description": "Whole USDC to add, from 1 to 500. It is also the price."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "key",
  "keyPrefix",
  "added",
  "balance"
 ],
 "properties": {
  "key": {
   "type": [
    "string",
    "null"
   ],
   "description": "The new API key, shown this once. Null when an existing key was topped up."
  },
  "added": {
   "type": "string",
   "description": "USDC added by this purchase."
  },
  "balance": {
   "type": "string",
   "description": "Credit on the key afterwards, in USD."
  },
  "keyPrefix": {
   "type": "string",
   "description": "The key's first characters, to tell keys apart."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wtsp-dev-credits-purchase-b8d6c1c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wtsp.dev](https://www.zero.xyz/host/wtsp.dev/llms.txt)
