← 返回
未分类 Key 中文

AgentTax

Tax compliance for AI agent transactions — sales tax, capital gains, nexus monitoring, 1099 tracking.
AI代理交易的税务合规 — 销售税、资本利得、关联监控、1099跟踪。
agenttax agenttax 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 384
下载
💾 0
安装
1
版本
#latest

概述

AgentTax

Tax compliance tools for AI agent transactions. Use when the user or agent needs to:

  • Calculate sales tax or use tax on a transaction
  • Log trades for capital gains tracking
  • Check tax rates by state
  • Configure economic nexus states
  • Export 1099-DA data

API docs: https://agenttax.io/api/v1/agents

Authentication

All requests use the header: X-API-Key: $AGENTTAX_API_KEY

Get a free API key (100 calls/month):

curl -s -X POST https://agenttax.io/api/v1/auth/signup \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "password": "securepass", "agent_name": "my-agent"}'

Save the api_key.key from the response — it is only shown once.

Calculate Sales/Use Tax

Use when an AI agent buys or sells services, compute, API access, SaaS, or digital goods.

curl -s -X POST https://agenttax.io/api/v1/calculate \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "role": "ROLE",
    "amount": AMOUNT,
    "buyer_state": "STATE",
    "buyer_zip": "ZIP",
    "transaction_type": "TYPE",
    "work_type": "WORK_TYPE",
    "counterparty_id": "COUNTERPARTY",
    "is_b2b": IS_B2B
  }'

Required fields:

  • role: "buyer" or "seller"
  • amount: transaction amount in USD
  • buyer_state: 2-letter US state code
  • transaction_type: one of compute, api_access, data_purchase, saas, ai_labor, storage, digital_good, consulting, data_processing, cloud_infrastructure, ai_model_access, marketplace_fee, subscription, license, service
  • counterparty_id: identifier for the other party

Optional fields:

  • buyer_zip: 5-digit zip for local rate lookup (recommended — adds city/county tax)
  • work_type: compute, research, content, consulting, trading (drives per-state classification)
  • is_b2b: true/false (affects rates in MD, IA)
  • seller_remitting: true/false (whether seller is collecting tax)

Response includes: total_tax, combined_rate, jurisdiction, audit_trail, confidence, advisories.

Sellers: you must configure nexus first (see below) or all calculations return $0.

Log Trades (Capital Gains)

Use when an agent buys or sells assets (compute tokens, crypto, etc.).

# Buy
curl -s -X POST https://agenttax.io/api/v1/trades \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_symbol": "SYMBOL",
    "trade_type": "buy",
    "quantity": QTY,
    "price_per_unit": PRICE
  }'

# Sell (returns realized gain/loss)
curl -s -X POST https://agenttax.io/api/v1/trades \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "asset_symbol": "SYMBOL",
    "trade_type": "sell",
    "quantity": QTY,
    "price_per_unit": PRICE,
    "accounting_method": "fifo",
    "resident_state": "STATE"
  }'

Cost basis methods: fifo (default), lifo, specific_id.

Get Tax Rates

# All 51 jurisdictions
curl -s https://agenttax.io/api/v1/rates

# Single state with explanation
curl -s "https://agenttax.io/api/v1/rates?state=TX&explain=true"

Configure Nexus (Sellers Only)

Sellers must set nexus states to get non-zero tax results.

curl -s -X POST https://agenttax.io/api/v1/nexus \
  -H "X-API-Key: $AGENTTAX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "nexus": {
      "TX": { "hasNexus": true, "reason": "Economic nexus" },
      "NY": { "hasNexus": true, "reason": "Physical presence" }
    }
  }'

Health Check

curl -s https://agenttax.io/api/v1/health

Error Handling

All errors return { "success": false, "error": "message", "agent_guide": "https://agenttax.io/api/v1/agents" }.

  • 400: Bad request — check error and errors fields
  • 401: Invalid or missing API key
  • 429: Rate limited (free tier: 100 calls/month)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 05:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

Stock Market Pro

kys42
Yahoo Finance (yfinance) 驱动的股票分析技能:行情报价、基本面、ASCII 趋势图、高分辨率图表(RSI/MACD/BB/VWAP/ATR),以及可选的网络...
★ 163 📥 40,159
professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 193 📥 62,856
professional

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 278 📥 57,679