{"uid":"cap_Z1BhoGKE9R56k62H4U7Ru","slug":"zaref-dev-south-african-crypto-tax-calculator-d9ef6881","name":"zaref.dev South African Crypto Tax Calculator","description":"South African crypto-tax calculator. Estimated SA tax on crypto asset gains: revenue-nature profits taxed at the marginal rate, capital-nature gains via CGT with the annual exclusion and 40% inclusion. Handles staking/mining/airdrop receipts and FIFO batch matching of a raw buy/sell transaction list. Computed from officially-sourced tables. Example: /calc/crypto-tax?capital_gain=150000&revenue_gain=50000&other_taxable_income=600000&age=35","url":"https://zaref.dev/calc/crypto-tax?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"age":{"type":"string"},"capital_gain":{"type":"string"},"revenue_gain":{"type":"string"},"transactions":{"type":"string"},"mining_income":{"type":"string"},"airdrop_income":{"type":"string"},"classification":{"type":"string"},"staking_income":{"type":"string"},"other_taxable_income":{"type":"string"}}}},"additionalProperties":false}}},"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":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_I-bSUEqnqFJKkqXkdvJ5R","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":"Calculates estimated South African tax liability on cryptocurrency gains, handling both revenue-nature and capital-nature profits, staking/mining/airdrop income, and FIFO batch matching.","exampleAgentPrompt":"Calculate my South African crypto tax — I have a capital gain of R150,000 and revenue-nature profit of R50,000 from trading, plus R20,000 from staking, and my other taxable income is R600,000. I'm 35 years old.","exampleUseCases":[{"title":"Staking income and capital gains tax estimate","prompt":"I've been staking Ethereum for the past year and made about R45,000 in rewards. I also sold some Bitcoin at a R120,000 profit. My salary is R750,000 a year. What's my total tax bill in South Africa?"},{"title":"FIFO matching for frequent crypto trading","prompt":"I've been day-trading crypto pretty actively — bought and sold Bitcoin multiple times over the past year. Can you work out my capital gains using FIFO matching? I've got detailed buy and sell records, and my other income is R500,000."},{"title":"Mining and airdrop income classification","prompt":"I've been mining cryptocurrency and received some airdrops that are worth about R80,000 combined. Do these count as revenue or capital gains in South Africa? And what tax would I owe if my salary is R650,000?"}],"resultDescription":"Returns an estimated South African tax breakdown including tax on revenue-nature gains at the marginal rate, CGT on capital-nature gains after the annual exclusion and 40% inclusion rate, treatment of staking/mining/airdrop receipts, and FIFO-matched transaction gains/losses — all computed from officially-sourced SARS tables.","failureModes":["Missing required numeric parameters returns an error or zero result","Non-numeric values for gain fields cause parsing failures","Unsupported classification value may be ignored or return default behaviour","Very large transaction lists in the 'transactions' query param may be truncated or rejected","Edge cases around the annual exclusion threshold may not reflect the latest SARS tables if not recently updated"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic South African crypto tax estimate based on SARS rules — especially when the user has both capital and revenue-nature gains, staking/mining/airdrop income, or a list of buy/sell transactions needing FIFO matching. Prefer this over generic tax calculators when the jurisdiction is specifically South Africa and cryptocurrency asset classes are involved.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:38:41.664Z","isFirstParty":false,"canonicalSlug":"zaref-dev-south-african-crypto-tax-calculator-d9ef6881"}