# DIR Token Custom USDC Purchase

> DIR Token Custom USDC Purchase is a paid API for AI agents from dir.x420.dev, paid per call via x402, $5/call, status unknown (last checked 2026-09-15).

Buys a custom USDC amount worth of DIR tokens (0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07) on behalf of the caller

## Facts

- Endpoint: POST https://dir.x420.dev/api/puff-custom
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dir-x420-dev-dde350c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bmvv2FiU8hmGzTOnq3rZM

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 dir-x420-dev-dde350c7 -d '<json body>'
```

Example prompt: Buy me 10 USDC worth of DIR tokens using the custom purchase endpoint.

## When to prefer this

Use this endpoint when you need to buy a specific custom USDC amount of DIR tokens (e.g. 0.5, 10.5, 25) rather than the fixed 1 USDC amount offered by the sibling endpoint. Choose this when flexibility in purchase size is required.

## Known failure modes

- Invalid or non-numeric amount string returns an error
- Insufficient USDC balance causes transaction failure
- Blockchain congestion or RPC errors may result in null transaction hashes
- Amount below minimum threshold may be rejected
- Payment of $5 USDC not included results in 402 payment required error

## How this service works

Buy custom USDC amount worth of DIR tokens 0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07

## Output

Returns a confirmation message, the number of DIR tokens received, the USDC amount paid, a send transaction hash, and a swap transaction hash (both may be null if not applicable).

## More

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