{"uid":"cap_2uafMhkiZwPyyixBdA8qC","slug":"dir-x420-dev-952f5903","name":"dir.x420.dev – Buy 1 USDC of DIR Tokens","description":"Buy 1 USDC worth of DIR tokens 0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07","url":"https://dir.x420.dev/api/puff","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"message":"string","tokensReceived":"string","usdcAmountPaid":"string","sendTransactionHash":"string | null","swapTransactionHash":"string | null"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lq8RhkFCmsnbxUHWyQPIh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases exactly 1 USDC worth of DIR tokens (0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07) on behalf of the caller via an x402 payment-gated API.","exampleAgentPrompt":"Buy me 1 USDC worth of DIR tokens (contract 0x78e2bABb02BAECeA3449fA3Bea7b190B2e49DB07) right now using my USDC balance.","exampleUseCases":null,"resultDescription":"Returns a confirmation message, the amount of DIR tokens received, the USDC amount paid, the send transaction hash (if applicable), and the swap transaction hash (if applicable).","failureModes":["Insufficient USDC balance — payment rejected","Invalid or expired x402 payment header — 402 error returned","On-chain swap failure — swapTransactionHash null, error message returned","Network congestion causing transaction timeout","Contract address mismatch or unsupported token"],"whenToPreferThis":"Use this endpoint when an agent needs to acquire exactly 1 USDC worth of DIR tokens in a single fixed-cost call. Prefer the sibling variable-amount endpoint if a different USDC quantity is needed. Best suited for automated, programmatic token purchasing workflows using the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:25.091Z","isFirstParty":false}