{"uid":"cap_folVFcYJJ8jgm6SgVa1kx","slug":"bounty-engineer-record-deduplication-api-b7680adc","name":"Bounty Engineer Record Deduplication API","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/record-dedupe?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array"},"records":{"type":"array"},"strategy":{"enum":["first","last"],"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"keys":["id"],"mode":"record_dedupe","strategy":"first","duplicates":[{"kept_index":0,"key_sha256":"ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb","duplicate_index":1}],"input_count":3,"unique_count":2,"unique_records":[{"v":1,"id":" A "},{"v":3,"id":"b"}],"duplicate_count":1,"duplicates_truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uiB4o5uU-VEepuGJ7_lVj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deduplicates an array of records by one or more key fields, returning only unique records and reporting which duplicates were found and kept based on a first/last strategy.","exampleAgentPrompt":"Deduplicate these 3 records by their 'id' field using the 'first' strategy: [{\"v\":1,\"id\":\"A\"},{\"v\":2,\"id\":\"A\"},{\"v\":3,\"id\":\"b\"}] — keep the first occurrence of each duplicate and return only the unique ones.","exampleUseCases":[{"title":"Deduplicating API result batches","prompt":"I'm getting paginated results from an API and some records appear in multiple pages — deduplicate them by their 'uuid' field using the 'last' strategy so I only process each item once."},{"title":"Cleaning user submission lists","prompt":"I have a list of form submissions where some users submitted twice — remove duplicates by the 'email' field keeping only the first submission for each person."},{"title":"Merging multi-source data feeds","prompt":"I've aggregated records from three different data sources and need to collapse duplicates by a composite key made of 'org_id' and 'event_type', keeping the last version of each — can you deduplicate them?"}],"resultDescription":"Returns a JSON object with ok:true, the keys used, the strategy applied, a list of unique records, the count of inputs/uniques/duplicates, and an array of duplicate pairs each containing the kept index, duplicate index, and SHA256 hash of the key value. Duplicates may be truncated if very large.","failureModes":["Missing or empty 'records' array returns an error","Missing 'keys' array causes deduplication to fail","Invalid strategy value (not 'first' or 'last') returns a validation error","Malformed JSON in records array causes parse failure","Payment not included or insufficient USDC results in 402 response","Very large record arrays may hit payload size limits"],"whenToPreferThis":"Use this endpoint when an AI agent needs to deduplicate structured JSON records on-the-fly as part of an automated pipeline, especially when paying per-call via x402/USDC is acceptable and no persistent database deduplication layer is available. Prefer this over in-agent logic when you need SHA256-verified key matching and a clear audit trail of which duplicates were found.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:40:21.876Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-record-deduplication-api-b7680adc"}