{"uid":"cap_HtFLxp3-4AWJjlYTOJp7S","slug":"bitcoin-x420-dev-db09640b","name":"bitcoin.x420.dev BITCOIN Token Purchase (Custom USDC Amount)","description":"Buy custom USDC amount worth of BITCOIN tokens 0xc41338b5Aff79e763c91ef550D15e1Cf92D64b07","url":"https://bitcoin.x420.dev/api/puff-custom","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","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":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uflGUEEy_sINjtNhopmk0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a specified USDC amount worth of BITCOIN tokens (0xc41338b5Aff79e763c91ef550D15e1Cf54bdA02913) on Base network via x402 payment protocol","exampleAgentPrompt":"Buy me $10 worth of BITCOIN tokens on Base — use 10 USDC for the swap.","exampleUseCases":null,"resultDescription":"Returns a message confirming the purchase, the amount of BITCOIN tokens received, the USDC amount paid, and transaction hashes for both the USDC send and the token swap on the Base network.","failureModes":["Missing X-PAYMENT header returns 402 with payment requirements and accepted asset details","Invalid or insufficient USDC payment amount causes transaction rejection","Amount field not parseable as a numeric string causes bad request error","Swap failure on-chain returns null transaction hashes with error message","Network congestion may cause timeout beyond 120 seconds"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically purchase a specific USDC-denominated amount of the BITCOIN token (0xc41338b5Aff79e763c91ef550D15e1Cf92D64b07) on the Base network using the x402 micropayment protocol, especially when the desired spend amount varies and is not a fixed $5.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:51.713Z","isFirstParty":false}