{"uid":"cap_DvPXkBe5PykPk_p89JqW1","slug":"hcrb-in-fx-best-execution-quote-4e65e31c","name":"hcrb.in FX Best-Execution Quote","description":"4-Way Base & Polygon Stablecoin FX Meta-Aggregator Race (KyberSwap, ParaSwap, OpenOcean, Relay) + Pyth Real-Time & 30-Currency ECB MiCA Best-Execution Proof","url":"https://hcrb.in/fx/best-execution-quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["buy_token","sell_amount_human","sell_token","taker_address"],"properties":{"buy_token":{"type":"string","description":"EURC or USDC on Base"},"sell_token":{"type":"string","description":"USDC or EURC on Base"},"taker_address":{"type":"string","description":"Base EVM wallet address executing the swap"},"sell_amount_human":{"type":"number","description":"Amount to swap (e.g. 10000)"}}},"responseSchema":{"type":"application/json","description":"4-Way Base Meta-Aggregator Race (KyberSwap, ParaSwap, OpenOcean, Relay) + Pyth Real-Time & ECB MiCA Best-Execution Proof"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ltvFffzhT48BETkiwbFfK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Races four DEX aggregators (KyberSwap, ParaSwap, OpenOcean, Relay) simultaneously for USDC/EURC swaps on Base, returning the best rate with Pyth real-time pricing and ECB MiCA-compliant FX proof","exampleAgentPrompt":"I need to swap 10000 USDC for EURC on Base — can you race all four aggregators (KyberSwap, ParaSwap, OpenOcean, Relay) and get me the best-execution quote with a MiCA-compliant ECB FX proof for my wallet 0xAbC123...?","exampleUseCases":[{"title":"Best rate for large stablecoin FX swap","prompt":"I want to swap 50000 USDC into EURC on Base — check KyberSwap, ParaSwap, OpenOcean, and Relay at once and tell me which gives the best rate, with the Pyth real-time price and ECB proof attached, for my wallet 0x1234abcd..."},{"title":"MiCA-compliant treasury rebalancing","prompt":"Our treasury needs to move 100000 EURC into USDC on Base with a MiCA best-execution proof for compliance records — can you get me the best aggregated quote across all four DEX aggregators for wallet 0xDeadBeef...?"},{"title":"Automated agent FX arbitrage check","prompt":"Every hour, check what the best available rate is to swap 5000 USDC to EURC on Base across KyberSwap, ParaSwap, OpenOcean, and Relay for wallet 0xFeedFace..., and show me the ECB reference rate alongside the Pyth live rate so I can spot any arbitrage."}],"resultDescription":"Returns the winning DEX aggregator quote for the requested USDC/EURC or EURC/USDC swap on Base, including the best output amount, routing details, a Pyth Network real-time FX price, and an ECB MiCA-compliant best-execution proof covering 30 currencies — enabling regulatory-grade documentation of the FX trade.","failureModes":["Invalid or unsupported token pair (only USDC↔EURC on Base supported) — returns 400 with token validation error","Invalid taker_address (not a valid EVM address) — returns 400","sell_amount_human is zero or negative — returns 400","All four aggregators fail or return no liquidity — returns 500 or empty best quote","Payment not received (x402 protocol failure) — returns 402","Pyth or ECB feed temporarily unavailable — may return degraded response without proof or timeout"],"whenToPreferThis":"Choose this endpoint when you need a MiCA-compliant best-execution proof for USDC/EURC stablecoin swaps on Base, or when regulatory documentation of the FX rate source (ECB + Pyth) is required. Prefer it over single-DEX quotes when you want simultaneous comparison across KyberSwap, ParaSwap, OpenOcean, and Relay to guarantee best price. Ideal for compliance-conscious treasury operations, DeFi agents operating under European MiCA obligations, or any scenario where auditability of the FX rate matters alongside execution quality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:02:00.814Z","isFirstParty":false,"canonicalSlug":"hcrb-in-fx-best-execution-quote-4e65e31c"}