Get the current price of COMP token via a pay-per-call x402 endpoint on Base.
What it does
This endpoint returns the current price of the COMP (Compound) token. It is part of the lowpaymentfee.com platform, which offers a variety of data, AI, finance, and utility APIs all accessible via the x402 payment protocol on the Base network. Each request costs $0.02 in USDC — no API keys, no rate limits, and no subscriptions required.
The specific endpoint at `/api/v1/tokens/COMP/price` accepts POST requests and returns JSON. Payment is handled inline via the x402 protocol: callers attach an `X-PAYMENT` header containing a signed USDC payment on Base (contract `0x8335...2913`). The x402 challenge confirms the endpoint is live, with a max amount of 20,000 base units (i.e., $0.02 USDC at 6 decimals).
The broader lowpaymentfee.com platform also exposes endpoints for analytics, AI inference (sentiment analysis, summarization, classification, embeddings), exchange rates, gas estimates, geocoding, and more — all at the same $0.02/request price point. Documentation pages exist but appear to require a wallet connection to view, so detailed request/response schemas are not publicly available.
Capabilities
Use cases
- —Fetching the real-time price of COMP token for trading bots or dashboards
- —Integrating token price data into DeFi applications without managing API keys
- —Agent-driven portfolio monitoring that pays per request with USDC on Base
Fit
Best for
- —Developers needing quick, keyless access to COMP token pricing
- —AI agents that can settle micropayments via x402 on Base
- —Applications requiring on-demand crypto price data without subscriptions
Not for
- —Bulk historical price data retrieval (no evidence of historical endpoints)
- —Users who cannot transact in USDC on the Base network
Quick start
curl -X POST https://lowpaymentfee.com/api/v1/tokens/COMP/price \
-H "X-PAYMENT: <x402-signed-payment>" \
-H "Content-Type: application/json"Endpoint
Quality
The x402 challenge is live and confirms pricing and payment details, but there is no OpenAPI schema, no documented request/response format, and the docs pages require wallet connection. The endpoint's actual response shape must be inferred.
Warnings
- —No public API documentation available — docs, pricing, and README pages all require wallet connection to view.
- —Request body schema and response schema are undocumented; callers must discover the format experimentally.
- —The endpoint path suggests token-specific pricing but the broader /api/v1/tokens/{symbol}/price pattern is not confirmed.
Citations
- —The endpoint returns HTTP 402 with an x402 challenge requiring USDC payment on Base, maxAmountRequired 20000 base units ($0.02).https://lowpaymentfee.com/api/v1/tokens/COMP/price
- —The platform advertises $0.02/request pricing with no API keys, no rate limits, and instant access on the Base network.https://lowpaymentfee.com
- —USDC asset contract on Base is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913.https://lowpaymentfee.com/api/v1/tokens/COMP/price