{"uid":"cap_YVvoORg4Ut7_SRwMSMwF1","slug":"agent-rest-stop-duplicateguard-ac23dc4a","name":"Agent Rest Stop DuplicateGuard","description":"New or already bought from today's log.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/DuplicateGuard?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"buyer_id":{"type":"string"},"resource_id":{"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_qdRgqoMqZB8r_LOa1tQpy","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":"Checks whether a buyer has already purchased a specific resource today, returning a new or duplicate purchase status.","exampleAgentPrompt":"Before processing this purchase, check if buyer 'user-8821' has already bought resource 'report-2024-q3' today so we don't charge them twice.","exampleUseCases":[{"title":"Prevent double charge on retry","prompt":"A user just retried their checkout — can you check if buyer 'usr-4412' already purchased resource 'video-lesson-07' today before we bill them again?"},{"title":"Gating access to paid content","prompt":"Before unlocking this premium article for buyer 'member-993', verify whether they've already bought resource 'article-fintech-101' today so we don't show a paywall to someone who already paid."},{"title":"Idempotent agent payment flow","prompt":"My agent is about to buy resource 'data-feed-usd' for buyer 'agent-bot-55' — first check if that purchase already went through today so we avoid a duplicate transaction."}],"resultDescription":"Returns a status indicating whether the (buyer_id, resource_id) combination is new or already present in today's purchase log, allowing the caller to decide whether to proceed with or skip a purchase.","failureModes":["Missing buyer_id or resource_id returns a validation error","If the daily log is unavailable, a service error may be returned","Ambiguous buyer/resource IDs may cause incorrect match results","Timezone boundary edge cases may affect 'today' determination"],"whenToPreferThis":"Use this endpoint when you need a lightweight, fast idempotent check to prevent duplicate purchases or double-billing for the same buyer/resource pair within a single day. Prefer it over full purchase history lookups when only today's deduplication is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:52.147Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-duplicateguard-ac23dc4a"}