# BasedSnek $5 USDC Token Purchase

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

Purchases $5 USDC worth of Snek (0x56517222e270e12A290B6Ba4c4C7276730126B07) tokens on Base and returns transaction details

## Facts

- Endpoint: GET https://snek.x420.dev/api/puff-5
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basedsnek-5-usdc-token-purchase-c9dec1b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gz8m3cS9KV3qppG38lBkf

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 basedsnek-5-usdc-token-purchase-c9dec1b9
```

Example prompt: Buy $5 worth of Snek tokens for me using BasedSnek on x420.dev.

## When to prefer this

Use this endpoint when you want to buy $5 USDC worth of Snek tokens in a single API call with automatic swap execution. Choose the $1 sibling endpoint instead if you want a smaller position. This is best for agents automating DeFi token purchases on Base without needing to interact with a DEX directly.

## Known failure modes

- Payment of exactly $5 USDC not received — returns error or HTTP 402
- Swap transaction fails on-chain — swapTransactionHash may be null with error message
- Insufficient liquidity for Snek token on Base DEX
- Network congestion causing transaction timeout
- Invalid or missing x402 payment header

## How this service works

Buy 5 USDC worth of Snek tokens 0x56517222e270e12A290B6Ba4c4C7276730126B07

## Output

Returns a JSON object with a status message, the number of Snek tokens received, the USDC amount paid, and the on-chain transaction hashes for both the USDC send and the token swap (nullable if not 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/basedsnek-5-usdc-token-purchase-c9dec1b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from snek.x420.dev](https://www.zero.xyz/host/snek.x420.dev/llms.txt)
