# dev.x420.dev DEV Token Purchase

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

Buys a custom USDC amount worth of DEV tokens (0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) on-chain and returns transaction details

## Facts

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

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 dev-x420-dev-5a5ef53f -d '<json body>'
```

Example prompt: Buy me $15 worth of DEV tokens using USDC — I want to spend exactly 15 USDC on the DEV token at 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07.

## When to prefer this

Use this endpoint when an agent needs to programmatically purchase a specific dollar amount of the DEV token (0x64a3fc16f47d5c39D526eF40adEcc8C050751b07) using USDC, especially when the amount is variable or user-specified. Prefer this over fixed-amount endpoints when flexibility in purchase size is required.

## Known failure modes

- Insufficient USDC balance — transaction fails if caller lacks enough USDC
- Invalid amount format — non-numeric or malformed string causes rejection
- On-chain swap failure — DEX liquidity issues or slippage may cause swap transaction to revert
- Payment not processed — x402 payment of $5 USDC not fulfilled causes 402 response
- Network congestion — transaction may time out or return null transaction hashes

## How this service works

Buy custom USDC amount worth of DEV tokens 0x64a3fc16f47d5c39D526eF40adEcc8C050751b07

## Output

Returns a message confirming the purchase, the number of DEV tokens received, the USDC amount paid, the send transaction hash, and the swap transaction hash (both nullable strings).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "string",
   "description": "Optional amount in USDC (e.g., '10', '10.5', '0.5'). Defaults to 5 if not provided."
  }
 }
}
```

## 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/dev-x420-dev-5a5ef53f/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)
