Get the current price of CAKE token via a pay-per-call x402 endpoint on Base.
What it does
This endpoint returns the current price of the CAKE token (PancakeSwap) in JSON format. It is part of the lowpaymentfee.com platform, which offers a suite of pay-per-request APIs spanning data analytics, AI/ML inference, finance/Web3, and utility services — all gated via the x402 payment protocol on the Base network.
The specific endpoint `/api/v1/tokens/CAKE/price` accepts POST requests and charges $0.02 per call, paid in USDC on Base (contract 0x8335…2913). There are no API keys, no rate limits, and no subscriptions — each request is individually settled on-chain via the x402 exact-payment scheme. The x402 challenge confirms the endpoint is live, returning a 402 with payment instructions including a 300-second timeout window.
Documentation beyond the landing page is minimal; the /docs, /pricing, /api, and /README pages all render only a "Connect wallet" prompt with no further technical detail. There is no OpenAPI spec, no example request/response payloads, and no description of the response schema. The endpoint appears to be one of many token-price endpoints following a `/api/v1/tokens/{symbol}/price` pattern, though only the CAKE variant is being listed here.
Capabilities
Use cases
- —Fetching the current CAKE (PancakeSwap) token price for trading bots or dashboards
- —Integrating real-time token pricing into DeFi applications without managing API keys
- —Agent-driven portfolio tracking that pays per query on Base
Fit
Best for
- —Developers needing on-demand CAKE token pricing without subscriptions
- —AI agents that can settle x402 payments autonomously on Base
- —Low-volume or sporadic price lookups where per-call billing is preferable
Not for
- —High-frequency trading requiring sub-second latency and bulk pricing (no documented batch endpoint)
- —Users who need historical OHLCV candle data or charting (not offered here)
- —Anyone without a Base-compatible USDC wallet
Quick start
curl -X POST https://lowpaymentfee.com/api/v1/tokens/CAKE/price \
-H "X-PAYMENT: <x402_payment_token>" \
-H "Content-Type: application/json"Endpoint
Quality
The endpoint is live (402 challenge confirmed) and pricing is clear ($0.02 USDC on Base), but there is no OpenAPI spec, no request/response schema, no documentation beyond a wallet-connect prompt, and no example payloads. Effectively a stub listing with verified liveness.
Warnings
- —No OpenAPI or machine-readable schema available
- —Documentation pages (/docs, /pricing, /api, /README) all render only 'Connect wallet' with no technical content
- —No example request or response payloads are documented — response format is unknown
- —The specific endpoint path suggests a pattern /api/v1/tokens/{symbol}/price but this is inferred, not confirmed
Citations
- —Endpoint returns HTTP 402 with x402 challenge requiring USDC payment on Basehttps://lowpaymentfee.com/api/v1/tokens/CAKE/price
- —Platform charges $0.02 per request with no API keys, no rate limits, and instant access on Base networkhttps://lowpaymentfee.com
- —USDC asset contract on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913https://lowpaymentfee.com/api/v1/tokens/CAKE/price
- —maxAmountRequired is 20000 base units (= $0.02 USDC with 6 decimals)https://lowpaymentfee.com/api/v1/tokens/CAKE/price