{"uid":"cap_aQ051mj2gSW-P6buCF5ci","slug":"agent-rest-stop-two-quote-minimum-96bded97","name":"Agent Rest Stop – Two Quote Minimum","description":"Picks the smaller quote.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/TwoQuoteMin?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"label_a":{"type":"string"},"label_b":{"type":"string"},"amount_a":{"type":"string"},"amount_b":{"type":"string"}}},"responseSchema":null,"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_f83YrLmvaQ7HzIdb6D8mj","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":"Accepts two labeled price quotes and returns the smaller (cheaper) one.","exampleAgentPrompt":"I have two quotes: 'Vendor Alpha' for $42.50 and 'Vendor Beta' for $38.00 — which one is cheaper?","exampleUseCases":[{"title":"Cheapest swap route selection","prompt":"I got two swap quotes: 'RouteA' for 105.20 USDC and 'RouteB' for 98.75 USDC — pick the cheaper one for me."},{"title":"Vendor bid comparison for procurement","prompt":"Compare these two supplier bids: 'SupplierNorth' quoted $1,250 and 'SupplierSouth' quoted $1,180 — which should I go with based on price alone?"},{"title":"Gas fee minimization between chains","prompt":"I have two gas estimates: 'Ethereum' at 0.0045 ETH and 'Arbitrum' at 0.0008 ETH — return whichever is the lower quote."}],"resultDescription":"Returns the label and amount of whichever of the two input quotes has the smaller numeric value, allowing the caller to immediately act on the cheaper option.","failureModes":["Missing or non-numeric amount fields cause comparison to fail or return unexpected results","Both amounts equal — tie-breaking behavior may not be specified","Malformed string amounts (e.g. currency symbols embedded) may cause parse errors","Payment of $0.01 USDC required per call; missing payment returns 402 error"],"whenToPreferThis":"Use this endpoint when you have exactly two labeled price quotes as strings and need a fast, stateless determination of which is smaller, especially in agent pipelines where you want a pay-per-use micro-computation without managing comparison logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:34.427Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-two-quote-minimum-96bded97"}