{"openapi":"3.1.0","info":{"title":"Crypto Mixer API","version":"1.0.0","description":"Mix Bitcoin, Ethereum, BNB and Solana. No account or API key: each mix is reached through its own 64-character mix id."},"externalDocs":{"url":"https://bitcoinmix.io/api"},"servers":[{"url":"https://bitcoinmix.io/api/v1"}],"paths":{"/coins":{"get":{"operationId":"getMixerInfo","summary":"Coins, minimums, fees and the delay range","responses":{"200":{"description":"Mixer info"}}}},"/mixes":{"post":{"operationId":"createMix","summary":"Start a mix","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["coin","receiving_address","delay_minutes"],"additionalProperties":false,"properties":{"coin":{"type":"string","enum":["BTC","ETH","BNB","SOL"]},"receiving_address":{"type":"string","maxLength":100},"delay_minutes":{"type":"integer","minimum":30,"maximum":1200},"partner_code":{"type":"string","maxLength":32}}}}}},"responses":{"201":{"description":"The mix","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mix"}}}},"400":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"503":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/mixes/{mix_id}":{"get":{"operationId":"getMix","summary":"One mix","parameters":[{"name":"mix_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$"}}],"responses":{"200":{"description":"The mix","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mix"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/mixes/{mix_id}/sent":{"post":{"operationId":"notifyCoinsSent","summary":"Coins sent: check the one-time address at +1, +5 and +10 minutes","parameters":[{"name":"mix_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$"}}],"responses":{"200":{"description":"The mix","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mix"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"429":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}},"/mixes/{mix_id}/letter":{"get":{"operationId":"getLetterOfGuarantee","summary":"The Letter of Guarantee as plain text","parameters":[{"name":"mix_id","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$"}}],"responses":{"200":{"description":"Letter","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}},"components":{"schemas":{"Mix":{"type":"object","properties":{"mix_id":{"type":"string"},"coin":{"type":"string"},"network":{"type":"string"},"status":{"type":"string","enum":["waiting_for_coins","coins_received","processing","complete","below_minimum"]},"status_text":{"type":"string"},"send_to_address":{"type":["string","null"]},"receiving_address":{"type":"string"},"minimum_amount":{"type":"string"},"delay_minutes":{"type":"integer"},"service_fee_percent":{"type":"number"},"amount_received":{"type":["string","null"]},"amount_pending":{"type":["string","null"]},"payout_amount":{"type":["string","null"]},"network_fees":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"coins_received_at":{"type":["string","null"]},"delay_ends_at":{"type":["string","null"]},"completed_at":{"type":["string","null"]},"link_expires_at":{"type":["string","null"]},"mix_page_url":{"type":"string"},"letter_of_guarantee":{"type":"string"}}}}}}