# SperaxOS Four.meme Quote Buy

> SperaxOS Four.meme Quote Buy is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Returns a price quote for buying a token on Four.meme (BSC) given either a BNB spend amount or a token amount to receive.

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/four-meme/quoteBuy?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-four-meme-quote-buy-762f7f82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V5_poTbW18tEDBvTKQIzY

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 speraxos-four-meme-quote-buy-762f7f82 -d '<json body>'
```

Example prompt: Get me a buy quote on Four.meme for the BSC token at 0x1234...abcd — I want to spend 0.1 BNB (100000000000000000 wei) and see how many tokens I'd receive.

## When to prefer this

Use this endpoint when you need a real-time buy quote specifically for tokens traded on the Four.meme launchpad/DEX on BSC, and want to pay per-call with USDC via x402 without managing API keys. Prefer this over generic DEX aggregators when targeting Four.meme's specific liquidity pools and pricing.

## Known failure modes

- Invalid or non-existent BSC token contract address returns an error
- Both fundsWei and amountWei set to non-zero may cause ambiguous request
- Token not listed on Four.meme returns not-found or unsupported token error
- Extremely small or zero amounts may return invalid input error
- Network or RPC issues on BSC may cause timeout or unavailable response
- Payment via x402 with insufficient USDC balance will block the request

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

A structured quote response indicating how many tokens would be received for a given BNB spend, or conversely how much BNB is needed to acquire a specified token amount on Four.meme, including pricing and exchange rate details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fundsWei": {
   "type": "string",
   "description": "BNB amount to spend in wei (use \"0\" or omit if buying by amount)."
  },
  "amountWei": {
   "type": "string",
   "description": "Token amount to buy in wei (use \"0\" if buying by funds instead)."
  },
  "tokenAddress": {
   "type": "string",
   "description": "BSC token contract address (0x…)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-four-meme-quote-buy-762f7f82/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
