{"uid":"cap_CD5Nh75b2I_sWDZp8kJAO","slug":"bitcoin-transaction-aml-check-caade932","name":"Bitcoin Transaction AML Check","description":"AML check for one Bitcoin transaction: the laundering-pattern case this node logged for it in the last 30 days (score, level, rules fired such as peel chains, post-mix consolidation, structuring), or a clear no-case answer. Heuristic, not proof.","url":"https://diamond.btc-intel.workers.dev/api/x402/tx_aml?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["txid"],"properties":{"txid":{"type":"string","maxLength":64,"description":"Transaction id (64 hex characters)"}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"txid":"a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d","as_of":"2026-11-07T18:00:00Z","product":"transaction_aml_check","verdict":"This node logged a laundering-pattern case for this transaction (score 55, flagged (40-69)).","aml_case":{"found":true,"level":"flagged (40-69)","score":55,"indicators":["aml_peel_chain","aml_rapid_layering"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oJzWf--U0Cp8cHu45Q432","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs anti-money-laundering (AML) risk analysis on a Bitcoin transaction, returning a risk score, verdict, and detected laundering-pattern indicators.","exampleAgentPrompt":"Can you run an AML check on this Bitcoin transaction — a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d — and tell me the risk score, verdict, and any laundering patterns detected?","exampleUseCases":[{"title":"Compliance screening before accepting payment","prompt":"Before we credit this customer, run an AML check on Bitcoin transaction a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d and tell me the risk score and whether any laundering indicators like peel chains or rapid layering were detected."},{"title":"Investigating a suspicious withdrawal","prompt":"We just received a large Bitcoin withdrawal and I need to know if it's flagged — can you check the AML status of txid 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b and show me any laundering patterns or risk verdict?"},{"title":"Automated exchange deposit screening","prompt":"Screen this incoming deposit for us — run an AML check on Bitcoin transaction 7301b595dc4b2dc21a4be198ab7bd27dfe1f655f03c4228cec2f5ef3b22ae7c and flag it if the score is in the flagged or high-risk range."}],"resultDescription":"Returns a JSON object with the queried txid, the timestamp of the check, an overall AML verdict string, and an aml_case object containing a 'found' boolean, a risk level label (e.g. 'flagged (40-69)'), a numeric score (0-100), and an array of specific laundering-pattern indicators such as 'aml_peel_chain' or 'aml_rapid_layering'.","failureModes":["Invalid or malformed txid (not 64 hex characters) returns a validation error","Transaction not found in the node's dataset returns found=false with no AML case","Payment not received or insufficient USDC/Lightning payment returns 402 Payment Required","Rate limiting or node unavailability returns 5xx error","Very recent unconfirmed transactions may not yet have AML data"],"whenToPreferThis":"Use this endpoint when you need per-transaction AML risk analysis on Bitcoin — specifically when you need laundering-pattern indicators (peel chains, rapid layering) and a numeric risk score for a specific txid. Prefer this over address-level checks when you have a transaction ID and need transaction-scoped verdicts. It is pay-per-call with no account required, making it ideal for on-demand compliance checks without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:35:53.626Z","isFirstParty":false,"canonicalSlug":"bitcoin-transaction-aml-check-caade932"}