{"uid":"cap_3j71_t8FmOQEbAAdzAlxl","slug":"crypto-tax-rules-lookup-44595a4c","name":"Crypto Tax Rules Lookup","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"short-term vs long-term","country":"US","defi_staking":"taxable as income","capital_gains_rate":"0-37%"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TlSriRdi_AFHc47LaBXB6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns general cryptocurrency tax rules and guidance including capital gains rates, DeFi/staking treatment, and short-term vs long-term classification for a given country.","exampleAgentPrompt":"Can you look up the crypto tax rules for the US — specifically how DeFi staking is treated, what the capital gains rates are, and how short-term vs long-term gains differ?","exampleUseCases":[{"title":"Filing crypto taxes as a US investor","prompt":"I made some crypto gains this year — can you pull up the US crypto tax rules, especially the capital gains rates and how they differ for short-term versus long-term holds?"},{"title":"Understanding DeFi staking tax implications","prompt":"I've been staking on some DeFi protocols and want to understand how staking rewards are taxed in the US — is it income, capital gains, or something else?"},{"title":"Comparing crypto tax treatment across jurisdictions","prompt":"Can you check what the crypto tax rules look like for the US? I want to know the capital gains rates and whether DeFi is treated as taxable income there."}],"resultDescription":"Returns a JSON object with the country, a note distinguishing short-term vs long-term treatment, the capital gains rate range (e.g. 0–37%), and how DeFi/staking income is classified for tax purposes.","failureModes":["Endpoint may return generic US-only data regardless of jurisdiction query","No dynamic calculation — only static reference rules returned","Schema shows no queryParams, so country filtering may not be supported","Payment failure if USDC balance on Base is insufficient","DuckDNS hostname may be unreliable or go offline"],"whenToPreferThis":"Use this endpoint when an agent needs quick, static reference information about cryptocurrency tax rules — particularly for the US market — without requiring account setup or API keys. Best for informational lookups rather than precise tax calculations or jurisdiction-specific legal advice. Suitable for fintech agents, crypto portfolio tools, or tax-prep assistants that need a lightweight, pay-per-call tax reference.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:14.953Z","isFirstParty":false,"canonicalSlug":"crypto-tax-rules-lookup-44595a4c"}