# dream.x420.dev DREAM Token Purchase

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

Purchases $1 USDC worth of DREAM tokens (0xD7dA53A5d367CB31447FF74E3F9EEBd0e6932b07) on behalf of the caller via an x402 payment-gated API

## Facts

- Endpoint: POST https://dream.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/dream-x420-dev-2f193e3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qy6ttc44H1h63_JU-QmK8

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 dream-x420-dev-2f193e3a -d '<json body>'
```

Example prompt: Buy me $1 worth of DREAM tokens — use USDC and swap into the DREAM contract at 0xD7dA53A5d367CB31447FF74E3F9EEBd0e6932b07.

## When to prefer this

Use this endpoint when an agent needs to programmatically acquire DREAM tokens by spending exactly $1 USDC in a single API call with x402 micropayment support. Prefer this over manual DEX interactions when automating on-chain token purchases in an agentic workflow that already handles x402 payments.

## Known failure modes

- Insufficient USDC balance — payment fails and no tokens are received
- x402 payment header missing or invalid — request rejected before swap executes
- Smart contract swap failure — send transaction may succeed but swap transaction hash is null
- Network congestion or RPC failure — transaction may time out or remain pending
- Token liquidity too low — swap may fail or return fewer tokens than expected

## How this service works

Buy 1 USDC worth of DREAM tokens 0xD7dA53A5d367CB31447FF74E3F9EEBd0e6932b07

## Output

Returns a JSON object with a confirmation message, the number of DREAM tokens received, the USDC amount paid, and up to two blockchain transaction hashes: one for the USDC send and one for the token swap.

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