# dir.x420.dev – Buy 1 USDC of DIR Tokens

> dir.x420.dev – Buy 1 USDC of DIR Tokens is a paid API for AI agents from dir.x420.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-15).

Purchases exactly 1 USDC worth of DIR tokens (0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07) on behalf of the caller via an x402 payment-gated API.

## Facts

- Endpoint: POST https://dir.x420.dev/api/puff
- Price: $1/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-952f5903
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2uafMhkiZwPyyixBdA8qC

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-952f5903 -d '<json body>'
```

Example prompt: Buy me 1 USDC worth of DIR tokens (contract 0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07) right now using my USDC balance.

## When to prefer this

Use this endpoint when an agent needs to acquire exactly 1 USDC worth of DIR tokens in a single fixed-cost call. Prefer the sibling variable-amount endpoint if a different USDC quantity is needed. Best suited for automated, programmatic token purchasing workflows using the x402 micropayment protocol.

## Known failure modes

- Insufficient USDC balance — payment rejected
- Invalid or expired x402 payment header — 402 error returned
- On-chain swap failure — swapTransactionHash null, error message returned
- Network congestion causing transaction timeout
- Contract address mismatch or unsupported token

## How this service works

Buy 1 USDC worth of DIR tokens 0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07

## Output

Returns a confirmation message, the amount of DIR tokens received, the USDC amount paid, the send transaction hash (if applicable), and the swap transaction hash (if applicable).

## Response schema (JSON Schema)

```json
{
 "message": "string",
 "tokensReceived": "string",
 "usdcAmountPaid": "string",
 "sendTransactionHash": "string | null",
 "swapTransactionHash": "string | null"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dir-x420-dev-952f5903/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)
