{"uid":"cap_WabCip3X259VSt9basggq","slug":"starchild-relay-1inch-swap-quote-ethereum-a5b41e5c","name":"Starchild Relay — 1inch Swap Quote (Ethereum)","description":"All-in-one reputable data source for AI agents and developers. Crypto spot/OHLC, derivatives funding rates, open interest, liquidations, forex, commodities, indices, social sentiment, DeFi protocols, and more — 17+ upstream data sources behind a single x402 paywall.\n\nUsage: Send requests to any proxied path (e.g. GET /coingecko/api/v3/...). Unauthenticated requests receive a 402 challenge with payment instructions. Include X-PAYMENT header with a valid signature to access data.","url":"https://5108-data-api-proxy.community.iamstarchild.com/oneinch/swap/v6.0/1/quote","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dst":{"type":"string","description":"Destination token address"},"src":{"type":"string","description":"Source token address"},"amount":{"type":"string","description":"Amount in the source token's smallest unit"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00001","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.00001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aR4uUTu0xzFhzFZ8EeVbO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a DEX swap quote on Ethereum mainnet via the 1inch v6 aggregator, proxied through the Starchild x402 paywall","exampleAgentPrompt":"How much WETH would I get if I swap 5000 USDC on Ethereum right now — use the 1inch v6 aggregator to get me the best available quote, with source token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and destination 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 for amount 5000000000.","exampleUseCases":[{"title":"Real-time token swap pricing for portfolio rebalancing","prompt":"I need to rebalance my portfolio by swapping 2500 DAI for WETH on Ethereum — can you check the 1inch aggregator right now to see how much WETH I'd get and what the price impact would be? Use source token 0x6B175474E89094C44Da98b954EedeAC495271d0F and destination 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 for the amount 2500000000."},{"title":"DeFi arbitrage opportunity detection across tokens","prompt":"I'm looking for arbitrage opportunities — can you get me a quote to swap 1000 USDC to WBTC on 1inch mainnet and tell me the exact amount I'd receive, plus the gas cost and price impact so I can compare it against other exchanges? Use USDC token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and WBTC 0x2260FAC5E5542a773Aa44fBCfeDd86a4EfBAD57."},{"title":"Quick spot market rate lookup for trading decisions","prompt":"What's the current best rate to swap 10 ETH for USDC on Ethereum using the 1inch v6 aggregator? I need the destination amount, the optimal routing path, and estimated gas fees so I can decide whether to execute this trade now."}],"resultDescription":"A JSON object from the 1inch v6 /quote endpoint containing the estimated destination token amount, the optimal routing path across DEX liquidity sources, estimated gas cost, and price impact for the requested swap on Ethereum mainnet.","failureModes":["402 Payment Required — no or invalid X-PAYMENT header provided; agent must complete x402 payment challenge","400 Bad Request — invalid token address format or unsupported token pair","422 Unprocessable Entity — amount is zero or below minimum swap threshold","503 Service Unavailable — upstream 1inch API is temporarily unreachable","Token pair has insufficient liquidity — 1inch returns no valid route"],"whenToPreferThis":"Choose this endpoint when you need a real-time swap quote specifically from the 1inch v6 aggregator on Ethereum mainnet (chain ID 1), accessed via a micropayment x402 paywall requiring only $0.00001 USDC per call. Prefer this over direct 1inch API access when you want consolidated billing across multiple data sources through the Starchild Relay, or when you lack a direct 1inch API key. This is a read-only quote endpoint — it does not execute a trade.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:51.747Z","isFirstParty":false}