Get the current price of GMX token via a pay-per-call x402 endpoint on Base.
What it does
This endpoint returns the current price of the GMX token. It is part of a broader suite of paid API endpoints hosted at lowpaymentfee.com, which covers data analytics, AI/ML inference, finance/Web3 data, and utility services. All endpoints use the x402 payment protocol, settling in USDC on the Base network.
The specific endpoint `/api/v1/tokens/GMX/price` accepts POST requests and returns JSON. Each call costs a maximum of $0.02 (20,000 base units of USDC with 6 decimals). Payment is handled via the x402 `exact` scheme — callers attach an `X-PAYMENT` header with a signed payment facilitator token. No API keys or accounts are required; access is instant once payment is provided.
The provider advertises uniform $0.02/request pricing across all endpoints, with no rate limits and no minimum commitments. Documentation beyond the landing page is sparse — the /docs, /pricing, and /README pages all resolve to a minimal "Connect wallet" prompt with no additional technical detail. The response schema for this token price endpoint is not documented, so the exact shape of the returned JSON must be discovered empirically.
Capabilities
Use cases
- —Fetching the current GMX token price for a trading bot or portfolio tracker
- —Integrating real-time GMX pricing into a DeFi dashboard without managing API keys
- —Agent-driven price lookups where per-call micropayments replace subscription billing
Fit
Best for
- —Agents or bots that need on-demand GMX price data without account setup
- —Low-volume or sporadic price checks where $0.02/call is cheaper than a subscription
- —x402-native workflows that already settle on Base in USDC
Not for
- —High-frequency trading requiring sub-second latency and bulk pricing tiers
- —Users who need historical OHLCV candle data or order-book depth (not offered here)
- —Callers who cannot produce x402 payment headers (no free tier available)
Quick start
curl -X POST https://lowpaymentfee.com/api/v1/tokens/GMX/price \
-H "X-PAYMENT: <x402-payment-token>" \
-H "Content-Type: application/json"Endpoint
Quality
The endpoint is live and returns a valid x402 402 challenge with clear pricing. However, there is no OpenAPI schema, no documented response format, no request body schema, and the docs/pricing/README pages are all empty stubs. The actual response shape must be discovered empirically.
Warnings
- —No response schema documented — the shape of the returned JSON is unknown.
- —Documentation pages (/docs, /pricing, /README) are effectively empty, showing only a 'Connect wallet' prompt.
- —No request body schema provided; it is unclear whether a POST body is needed or what parameters are accepted.
- —The endpoint path suggests it is specific to GMX; generalization to other tokens is not confirmed by the probe.
Citations
- —The endpoint returns HTTP 402 with an x402 challenge requiring USDC payment on Basehttps://lowpaymentfee.com/api/v1/tokens/GMX/price
- —maxAmountRequired is 20000 base units of USDC (USD Coin, 6 decimals) = $0.02https://lowpaymentfee.com/api/v1/tokens/GMX/price
- —The provider advertises $0.02/request pricing with no API keys, no rate limits, and instant access on Basehttps://lowpaymentfee.com
- —Documentation, pricing, and README pages resolve to minimal 'Connect wallet' contenthttps://lowpaymentfee.com/docs