# adevcooks DEV Token Purchase - $5 USDC

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

Purchases exactly $5 USDC worth of DEV tokens (0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) on behalf of the caller via an x402 payment-gated API call

## Facts

- Endpoint: GET https://dev.x420.dev/api/puff-5
- 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/adevcooks-dev-token-purchase-5-usdc-c37769e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xotpBNGAmLCfeProp-AUH

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 adevcooks-dev-token-purchase-5-usdc-c37769e2
```

Example prompt: Buy me $5 worth of DEV tokens (contract 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) right now using USDC and show me how many tokens I received and the transaction hashes.

## When to prefer this

Use this endpoint when you need to purchase exactly $5 USDC worth of DEV tokens in a single atomic API call with x402 micropayment support. Prefer this over the $1 sibling endpoint when you want a larger fixed purchase without configuring a custom amount. Choose the custom-amount endpoint if you need a different spend size.

## Known failure modes

- Payment not received or insufficient USDC balance — payment rejected before swap executes
- Swap transaction fails on-chain — swapTransactionHash may be null and message will indicate failure
- Token contract address unreachable or liquidity insufficient — swap cannot complete
- x402 payment protocol error — caller's wallet not configured for x402 payments
- Network congestion causes transaction timeout — sendTransactionHash present but swap pending

## How this service works

Buy 5 USDC worth of DEV tokens 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07

## Output

Returns a JSON object with a confirmation message, the number of DEV tokens received (as a string), the USDC amount paid, the send transaction hash, and the swap transaction hash (null if not yet available).

## 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/adevcooks-dev-token-purchase-5-usdc-c37769e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dev.x420.dev](https://www.zero.xyz/host/dev.x420.dev/llms.txt)
