{"uid":"cap_GuDBc4AZxaTcVxAFlOYvZ","slug":"gblin-digital-b98a0117","name":"GBLIN Swap Quote","description":"Preview a GBLIN swap (buy ETH→GBLIN or sell GBLIN→ETH) with dynamic slippage and a MEV-safe minOut.","url":"https://gblin.digital/api/x402/quote","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":["direction","amount"],"properties":{"amount":{"type":"string","description":"Input amount as a decimal string (ETH for buy, GBLIN for sell)"},"direction":{"enum":["buy","sell"],"type":"string","description":"Swap direction: buy = ETH→GBLIN, sell = GBLIN→ETH"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"fees":{"founder_eth":"0.000005","stability_eth":"0.000005","total_fee_bps":10},"direction":"buy","next_step":"Call contract.buyGBLIN(safe_min_gblin_out) with msg.value = amount_in_eth.","amount_in_eth":"0.01","slippage_reason":"normal","expected_gblin_out":"27.853214","safe_min_gblin_out":"27.156885","slippage_buffer_bps":250}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"amount":"0.25","direction":"buy"}}},"response":{"fees":{"founder_eth":"0.000125","stability_eth":"0.000125","total_fee_bps":10},"direction":"buy","next_step":"Call contract.buyGBLIN(safe_min_gblin_out) with msg.value = amount_in_eth.","amount_in_eth":"0.25","slippage_reason":"normal","expected_gblin_out":"0.257082601998332907","safe_min_gblin_out":"0.250655536948374584","slippage_buffer_bps":250}},"exampleRequest":{"amount":"0.25","direction":"buy"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.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_XpMaBKU6LVG8lQaT2z3xC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a preview quote for a GBLIN swap (buy ETH→GBLIN or sell GBLIN→ETH) with dynamic slippage and MEV-safe minimum output amount.","exampleAgentPrompt":"Can you get me a GBLIN buy quote for 0.25 ETH — show me how much GBLIN I'd receive and what the MEV-safe minimum output is?","exampleUseCases":null,"resultDescription":"A swap preview including the expected output amount of GBLIN (for buy) or ETH (for sell), computed dynamic slippage, and a MEV-safe minOut value that can be used when constructing the actual swap transaction.","failureModes":["Missing required query parameter 'direction' or 'amount' → 400 Bad Request","Amount is zero or negative → validation error","Amount is not a valid decimal string → parse error","Network congestion or RPC failure may delay response","Extremely large amounts may hit liquidity limits"],"whenToPreferThis":"Use this endpoint when you need a read-only, non-executing price preview for a GBLIN↔ETH swap with built-in MEV protection parameters. Prefer this over executing a swap directly when you want to check slippage, confirm expected output, or build a transaction with a safe minOut before committing funds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:52.370Z","isFirstParty":false}