# x420 Custom USDC Token Purchase

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

Buys a custom USDC amount worth of x420 tokens (0x68e284F21D04D4D62398C290EC3EF41C97F80b07) on behalf of the caller

## Facts

- Endpoint: POST https://x420.x420.dev/api/puff-custom?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x420-x420-dev-68bf3b36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rh1bXMOrcelQGiPCfw53H

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 x420-x420-dev-68bf3b36 -d '<json body>'
```

Example prompt: Buy me $15 USDC worth of x420 tokens using the custom amount endpoint.

## When to prefer this

Use this endpoint when you need to purchase a specific, non-standard USDC amount of x420 tokens — especially amounts other than the fixed $1 or $5 tiers offered by sibling endpoints. Ideal for agents that need precise control over spend amount (e.g. $10.50, $0.75).

## Known failure modes

- Invalid or non-numeric USDC amount string returns an error
- Insufficient USDC balance in the calling wallet causes transaction failure
- Token liquidity too low for the requested swap amount
- On-chain transaction reverted, returning null transaction hashes
- Network congestion causing timeout or delayed transaction confirmation
- Amount below minimum threshold (e.g. less than 0.01 USDC) rejected by contract

## How this service works

Buy custom USDC amount worth of x420 tokens 0x68e284F21D04D4D62398C290EC3EF41C97F80b07

## Output

Returns a message confirming the purchase, the number of x420 tokens received, the USDC amount paid, and the on-chain transaction hashes for both the USDC send and the token swap (which may be null if not yet available).

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