{"uid":"cap_GT2mV9HMtTJY3q2qcjmob","slug":"x402-eruditepay-com-6d1f354f","name":"EruditePay USDC/USDT Rates & Gas Estimates","description":"Current USDC/USDT prices and gas estimates","url":"https://x402.eruditepay.com/v1/pay/rates","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"rates":{"type":"object"},"gas_estimates":{"type":"object"}}}}}}},"responseSchema":{"type":"object","required":["_meta","rates","cached","source","gas_estimates"],"properties":{"_meta":{"type":"object","required":["cached","dataAge","endpoint","provider","timestamp","responseTimeMs"],"properties":{"cached":{"type":"boolean"},"dataAge":{"type":"string"},"endpoint":{"type":"string"},"provider":{"type":"string"},"timestamp":{"type":"string"},"responseTimeMs":{"type":"number"}}},"rates":{"type":"object","required":["usdc","usdt"],"properties":{"usdc":{"type":"object","required":["usd"],"properties":{"usd":{"type":"number"}}},"usdt":{"type":"object","required":["usd"],"properties":{"usd":{"type":"number"}}}}},"cached":{"type":"boolean"},"source":{"type":"string"},"gas_estimates":{"type":"object","required":["base","tron"],"properties":{"base":{"type":"object","required":["transfer_usdc","confirmation_time"],"properties":{"transfer_usdc":{"type":"string"},"confirmation_time":{"type":"string"}}},"tron":{"type":"object","required":["transfer_usdt","confirmation_time"],"properties":{"transfer_usdt":{"type":"string"},"confirmation_time":{"type":"string"}}}}}}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"_meta":{"cached":true,"dataAge":"cached","endpoint":"/v1/pay/rates","provider":"EruditePay","timestamp":"2026-04-16T21:48:58.774Z","responseTimeMs":383},"rates":{"usdc":{"usd":1},"usdt":{"usd":0.999935}},"cached":true,"source":"coinbase","gas_estimates":{"base":{"transfer_usdc":"$0.001 - $0.01","confirmation_time":"~2 seconds"},"tron":{"transfer_usdt":"Free with energy, otherwise ~6.5 TRX","confirmation_time":"~3 seconds"}}}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LfA4fpwofwEVT5znfXYqk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current USDC and USDT USD prices plus gas cost estimates for Base and Tron network transfers","exampleAgentPrompt":"What's the current price of USDC and USDT right now, and how much would it cost in gas to transfer USDC on Base versus USDT on Tron?","exampleUseCases":[{"title":"Calculate stablecoin transfer costs before payment","prompt":"I need to send $500 in stablecoins to a vendor. Should I use USDC on Base or USDT on Tron, and what will the gas fees be?"},{"title":"Monitor stablecoin rates for arbitrage opportunities","prompt":"Pull the latest USDC and USDT prices for me so I can check if there's a spread worth trading between the two."},{"title":"Estimate customer payout costs across networks","prompt":"What are the current gas fees for USDT transfers on Tron? I need to calculate the actual cost of paying out our users on that network."}],"resultDescription":"Returns a JSON object with USDC and USDT prices in USD (e.g. USDC=1.0, USDT=0.9999), plus gas cost estimates for Base (USDC transfer: $0.001–$0.01, ~2s confirmation) and Tron (USDT transfer: free with energy or ~6.5 TRX, ~3s confirmation), along with metadata like data source (Coinbase), cache status, and response timestamp.","failureModes":["Stale or cached data returned if upstream Coinbase price feed is unavailable","Network timeout if EruditePay infrastructure is down","Rate or price data may lag real-time market by cache duration","Payment required error (402) if USDC payment of $0.001 is not provided"],"whenToPreferThis":"Use this endpoint when you need both stablecoin price rates and gas estimates in a single call, especially when operating in the EruditePay/x402 payment ecosystem on Base or Tron. Prefer this over generic crypto price APIs when you also need network-specific fee context for USDC (Base) or USDT (Tron) transfers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T20:27:34.750Z","isFirstParty":false}