{"uid":"cap_zoQQ_zYeNMfDlRgNr7LVu","slug":"4sec-crypto-market-data-api-real-time-prices-b93cdd4d","name":"4SEC Crypto Market Data API — Real-Time Prices","description":"Real-time multi-DEX aggregated crypto market data. Pay per request with USDC on Base via x402 protocol.","url":"https://api.foursec.xyz/api/v1/prices","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","example":{"data":{"type":"object","additionalProperties":{"type":"object","properties":{"price":{"type":"number"},"source":{"type":"string"},"change_24h":{"type":"number"}}}},"meta":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JSZPbToqwVn1Bnv8mTTDn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time aggregated cryptocurrency price data from multiple DEXes in a single request, paid per-call via USDC on Base.","exampleAgentPrompt":"What's the current price of ETH and its 24-hour change? Pull it from the 4SEC multi-DEX aggregator so I get the best on-chain market data.","exampleUseCases":[{"title":"Real-time DeFi portfolio valuation","prompt":"Can you pull the current prices for ETH, WBTC, and LINK from 4SEC so I can see what my DeFi portfolio is worth right now?"},{"title":"Token price alert monitoring","prompt":"Check the current price of ARB on 4SEC and tell me if it's moved more than 5% in the last 24 hours — I want to know if I should rebalance."},{"title":"DEX arbitrage opportunity check","prompt":"Get me the latest prices and 24h changes for UNI and AAVE from 4SEC's multi-DEX data so I can spot any arbitrage gaps between exchanges."}],"resultDescription":"Returns a data object keyed by token/asset identifier, where each entry includes the current price (number), the source DEX or exchange (string), and the 24-hour percentage price change (number). A metadata object accompanies the data with request context.","failureModes":["Payment not sent or insufficient USDC — 402 Payment Required response","Invalid or unrecognized token symbol — empty data object or 404","Rate limiting or upstream DEX data unavailability — 503 or timeout","Malformed query parameters — 400 Bad Request","Network issues on Base chain affecting payment settlement"],"whenToPreferThis":"Choose this endpoint when you need real-time, multi-DEX aggregated crypto prices with on-chain micropayment settlement via x402/USDC on Base. It is especially suited for DeFi-native agents that already operate with crypto wallets and want pay-per-request pricing without API key subscription overhead. Prefer alternatives for CEX (centralized exchange) price data or if you need order book depth, OHLCV candles, or historical time series.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:25:48.235Z","isFirstParty":false}