{"x402Version":2,"schema_version":"1.0.0","updated_at":"2026-09-18","provider":{"name":"AgentTax","legal_name":"Agentic Tax Solutions LLC","url":"https://www.agenttax.io","docs":"https://www.agenttax.io/api-docs","agent_guide":"https://agenttax.io/api/v1/agents","openapi":"https://www.agenttax.io/openapi.json"},"resources":[{"method":"POST","url":"https://www.agenttax.io/api/v1/calculate","description":"AgentTax — AI agent tax calculation across 51 US jurisdictions including 304 local zip-level rates. Sales tax, use tax, nexus monitoring, 1099-DA export.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"base","maxAmountRequired":"5000","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x6f4B383B3DB9115120638DceF88F2fd382ADd6F7","maxTimeoutSeconds":300,"mimeType":"application/json","description":"AgentTax — Sales tax calculation for AI agent transactions across 51 US jurisdictions (50 states + DC) including 304 zip-level local rates. Returns sales tax, use tax, nexus status, confidence score, and citation sources. Purpose-built for x402-native agent-to-agent commerce, MCP tool monetization, and AI agent compliance. Free tier 1,500 calls/mo.","resource":"https://www.agenttax.io/api/v1/calculate","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","outputSchema":{"input":{"type":"http","method":"POST","discoverable":true,"bodyFields":{"role":{"type":"string","enum":["seller","buyer"],"description":"Your role in the transaction","required":true},"amount":{"type":"number","description":"Transaction amount in USD (0–100M)","required":true},"buyer_state":{"type":"string","description":"US state code (2-letter, e.g. TX, NY, CA)","required":true},"buyer_zip":{"type":"string","description":"Optional 5-digit zip for local rate lookup"},"transaction_type":{"type":"string","enum":["compute","api_access","data_purchase","saas","ai_labor","storage","digital_good","consulting","data_processing","cloud_infrastructure","ai_model_access","marketplace_fee","subscription","license","service"],"description":"Type of AI/digital transaction","required":true},"counterparty_id":{"type":"string","description":"Identifier for the other party","required":true},"work_type":{"type":"string","enum":["compute","research","content","consulting","trading"],"description":"Economic category of work — improves accuracy for TX, NY, NJ, MD, PA, CT, WA, IA"},"is_b2b":{"type":"boolean","description":"Business-to-business (affects IA, MD, NJ exemptions)"}}},"output":{"response":{"description":"Sales tax, use tax, nexus status, confidence score, and citation sources for an AI agent transaction across 51 US jurisdictions. Includes engine_version on every response.","type":"object","required":true}}},"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"base","maxAmountRequired":"5000","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x6f4B383B3DB9115120638DceF88F2fd382ADd6F7","maxTimeoutSeconds":300,"mimeType":"application/json","description":"AgentTax — Sales tax calculation for AI agent transactions across 51 US jurisdictions (50 states + DC) including 304 zip-level local rates. Returns sales tax, use tax, nexus status, confidence score, and citation sources. Purpose-built for x402-native agent-to-agent commerce, MCP tool monetization, and AI agent compliance. Free tier 1,500 calls/mo.","resource":"https://www.agenttax.io/api/v1/calculate","facilitator":"https://x402.org/facilitator","outputSchema":{"input":{"type":"http","method":"POST","discoverable":true,"bodyFields":{"role":{"type":"string","enum":["seller","buyer"],"description":"Your role in the transaction","required":true},"amount":{"type":"number","description":"Transaction amount in USD (0–100M)","required":true},"buyer_state":{"type":"string","description":"US state code (2-letter, e.g. TX, NY, CA)","required":true},"buyer_zip":{"type":"string","description":"Optional 5-digit zip for local rate lookup"},"transaction_type":{"type":"string","enum":["compute","api_access","data_purchase","saas","ai_labor","storage","digital_good","consulting","data_processing","cloud_infrastructure","ai_model_access","marketplace_fee","subscription","license","service"],"description":"Type of AI/digital transaction","required":true},"counterparty_id":{"type":"string","description":"Identifier for the other party","required":true},"work_type":{"type":"string","enum":["compute","research","content","consulting","trading"],"description":"Economic category of work — improves accuracy for TX, NY, NJ, MD, PA, CT, WA, IA"},"is_b2b":{"type":"boolean","description":"Business-to-business (affects IA, MD, NJ exemptions)"}}},"output":{"response":{"description":"Sales tax, use tax, nexus status, confidence score, and citation sources for an AI agent transaction across 51 US jurisdictions. Includes engine_version on every response.","type":"object","required":true}}},"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"name":"agenttax_calculate","description":"Sales tax calculation for AI agent transactions across 51 US jurisdictions (50 states + DC) including 304 zip-level local rates. Takes transaction amount, buyer state/zip, transaction type, and counterparty. Returns sales tax, use tax, nexus status, confidence score, and citation sources. Conservative-bias default. Supports TX 80% rule (§151.351), MD B2B/B2C split, NJ digital service treatment (TAM 2013-10), IA B2B exemption, CT data-processing rate distinction. Engine version tracked on every response. Purpose-built for x402-native agent-to-agent commerce, MCP tool monetization, and AI agent compliance. Free tier 1,500 calls/mo; paid tiers 10K-1M+ calls/mo.","category":"finance","tags":["tax","sales-tax","use-tax","compliance","nexus","ai-agents","agent-commerce","x402","mcp","1099-da","machine-to-machine","capital-gains"],"info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"role":"seller","amount":5000,"buyer_state":"TX","transaction_type":"compute","counterparty_id":"agent_buyer_42","work_type":"compute","is_b2b":false}},"output":{"type":"json","example":{"success":true,"engine_version":"1.5","role":"seller","amount":5000,"buyer_state":"TX","transaction_type":"compute","classification_basis":"data_processing","sales_tax":{"amount":250,"rate":0.05,"type":"sales","jurisdiction":"Texas","note":"80% taxable (§151.351 statutory exemption)"},"total_tax":250,"confidence":{"score":85,"level":"high"},"sources":[{"citation":"TX Tax Code §151.351","url":"https://statutes.capitol.texas.gov/"}]}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"role":{"type":"string","enum":["seller","buyer"],"description":"Your role in the transaction"},"amount":{"type":"number","minimum":0,"maximum":100000000,"description":"Transaction amount in USD (0–100M)"},"buyer_state":{"type":"string","pattern":"^[A-Z]{2}$","description":"US state code (2-letter, e.g. TX, NY, CA)"},"buyer_zip":{"type":"string","pattern":"^[0-9]{5}$","description":"Optional 5-digit zip for local rate lookup"},"transaction_type":{"type":"string","enum":["compute","api_access","data_purchase","saas","ai_labor","storage","digital_good","consulting","data_processing","cloud_infrastructure","ai_model_access","marketplace_fee","subscription","license","service"],"description":"Type of AI/digital transaction"},"counterparty_id":{"type":"string","description":"Identifier for the other party (e.g. agent_buyer_42)"},"work_type":{"type":"string","enum":["compute","research","content","consulting","trading"],"description":"Economic category of work — improves accuracy for states with per-category rules (TX, NY, NJ, MD, PA, CT, WA, IA)"},"is_b2b":{"type":"boolean","default":false,"description":"Business-to-business transaction (affects IA, MD, NJ exemptions)"}},"required":["role","amount","buyer_state","transaction_type","counterparty_id"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}},{"method":"POST","url":"https://www.agenttax.io/api/v1/trades","description":"AgentTax — Capital gains calculation for AI trading agents. FIFO/LIFO/Specific-ID cost basis, state + federal gains across 51 US jurisdictions, 1099-DA export.","mimeType":"application/json","accepts":[{"scheme":"exact","network":"base","maxAmountRequired":"5000","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x6f4B383B3DB9115120638DceF88F2fd382ADd6F7","maxTimeoutSeconds":300,"mimeType":"application/json","description":"AgentTax — Capital gains preview for AI trading agent transactions. Takes a buy/sell trade pair and returns realized gain/loss, holding period, cost basis, and state + federal tax estimate across 51 US jurisdictions. FIFO/LIFO/Specific-ID cost basis methods. Feeds 1099-DA export. Built for AI trading agents, token swappers, and automated market makers. x402 preview mode: pay $0.005 USDC per calculation, no account needed. Authenticated mode persists trades for full capital gains tracking.","resource":"https://www.agenttax.io/api/v1/trades","facilitator":"https://api.cdp.coinbase.com/platform/v2/x402","outputSchema":{"input":{"type":"http","method":"POST","discoverable":true,"bodyFields":{"asset_symbol":{"type":"string","description":"Ticker symbol (e.g. BTC, ETH, USDC, AAPL)","required":true},"quantity":{"type":"number","description":"Quantity sold (must be positive)","required":true},"sell_price_per_unit":{"type":"number","description":"Sell price per unit in USD","required":true},"cost_basis_per_unit":{"type":"number","description":"Original purchase price per unit in USD","required":true},"acquired_date":{"type":"string","description":"ISO date when position was acquired (determines short/long-term holding period)","required":true},"sold_date":{"type":"string","description":"ISO date when position was sold (default: now)"},"fee_amount":{"type":"number","description":"Sale fee in USD (reduces proceeds per IRS Pub 551)"},"resident_state":{"type":"string","description":"US state code for state capital gains rate"},"filing_status":{"type":"string","enum":["single","married_joint","married_separate","head_of_household"],"description":"Federal filing status (for long-term rate bracket)"},"estimated_annual_income":{"type":"number","description":"Estimated annual income (for rate bracket)"}}},"output":{"response":{"description":"Realized gain/loss, holding period (short/long term), cost basis, state + federal tax estimate, and 1099-DA-ready receipt for the trade. Includes engine_version on every response.","type":"object","required":true}}},"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"base","maxAmountRequired":"5000","amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x6f4B383B3DB9115120638DceF88F2fd382ADd6F7","maxTimeoutSeconds":300,"mimeType":"application/json","description":"AgentTax — Capital gains preview for AI trading agent transactions. Takes a buy/sell trade pair and returns realized gain/loss, holding period, cost basis, and state + federal tax estimate across 51 US jurisdictions. FIFO/LIFO/Specific-ID cost basis methods. Feeds 1099-DA export. Built for AI trading agents, token swappers, and automated market makers. x402 preview mode: pay $0.005 USDC per calculation, no account needed. Authenticated mode persists trades for full capital gains tracking.","resource":"https://www.agenttax.io/api/v1/trades","facilitator":"https://x402.org/facilitator","outputSchema":{"input":{"type":"http","method":"POST","discoverable":true,"bodyFields":{"asset_symbol":{"type":"string","description":"Ticker symbol (e.g. BTC, ETH, USDC, AAPL)","required":true},"quantity":{"type":"number","description":"Quantity sold (must be positive)","required":true},"sell_price_per_unit":{"type":"number","description":"Sell price per unit in USD","required":true},"cost_basis_per_unit":{"type":"number","description":"Original purchase price per unit in USD","required":true},"acquired_date":{"type":"string","description":"ISO date when position was acquired (determines short/long-term holding period)","required":true},"sold_date":{"type":"string","description":"ISO date when position was sold (default: now)"},"fee_amount":{"type":"number","description":"Sale fee in USD (reduces proceeds per IRS Pub 551)"},"resident_state":{"type":"string","description":"US state code for state capital gains rate"},"filing_status":{"type":"string","enum":["single","married_joint","married_separate","head_of_household"],"description":"Federal filing status (for long-term rate bracket)"},"estimated_annual_income":{"type":"number","description":"Estimated annual income (for rate bracket)"}}},"output":{"response":{"description":"Realized gain/loss, holding period (short/long term), cost basis, state + federal tax estimate, and 1099-DA-ready receipt for the trade. Includes engine_version on every response.","type":"object","required":true}}},"extra":{"name":"USD Coin","version":"2"}}],"extensions":{"bazaar":{"name":"agenttax_trades","description":"Capital gains calculation for AI trading agents. Records buy/sell trade pairs, applies FIFO/LIFO/Specific-ID cost basis methods, calculates state + federal gains across 51 US jurisdictions, feeds 1099-DA export. For AI trading agents, token swappers, and automated market makers. Supports long-term vs short-term holding period detection, IRS Publication 551 fee-to-basis rollup, and jurisdiction-aware state capital gains rates. x402 preview mode ($0.005 USDC) returns computed gains without persistence; authenticated mode persists trades for full capital gains tracking and 1099-DA export.","category":"finance","info":{"input":{"type":"http","method":"POST","bodyType":"json","body":{"asset_symbol":"ETH","quantity":10,"sell_price_per_unit":3500,"cost_basis_per_unit":2500,"acquired_date":"2025-01-15","sold_date":"2026-04-14","fee_amount":2.5,"resident_state":"NJ","filing_status":"single","estimated_annual_income":150000}},"output":{"type":"json","example":{"success":true,"engine_version":"1.5","mode":"preview","trade":{"asset_symbol":"ETH","quantity":10,"sell_price_per_unit":3500,"cost_basis_per_unit":2500,"fee_amount":2.5},"realized_gain":{"proceeds":34997.5,"cost_basis":25000,"gain_loss":9997.5,"holding_days":454,"term":"long_term"},"tax":{"federal_rate":0.15,"federal_amount":1499.63,"state_code":"NJ","state_rate":0.0897,"state_amount":896.78,"total_tax":2396.41},"note":"Preview mode — not persisted. Sign up at agenttax.io for full capital gains tracking, FIFO/LIFO lot matching, and 1099-DA export."}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST","PUT","PATCH"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"asset_symbol":{"type":"string"},"quantity":{"type":"number","minimum":0},"sell_price_per_unit":{"type":"number","minimum":0},"cost_basis_per_unit":{"type":"number","minimum":0},"acquired_date":{"type":"string","format":"date"},"sold_date":{"type":"string","format":"date"},"fee_amount":{"type":"number","minimum":0},"resident_state":{"type":"string","pattern":"^[A-Z]{2}$"},"filing_status":{"type":"string","enum":["single","married_joint","married_separate","head_of_household"]},"estimated_annual_income":{"type":"number","minimum":0}},"required":["asset_symbol","quantity","sell_price_per_unit","cost_basis_per_unit","acquired_date"]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}],"alternatives":{"api_key":"https://agenttax.io/api/v1/auth/signup","demo_mode":"POST /api/v1/calculate with no credentials — 50 calls/day"},"disclaimer":"AgentTax provides tax calculations for informational purposes only and does not constitute tax, legal, or accounting advice."}