跳到正文
TakoAPI
返回技能列表

ziptax

由 ericlakich 提供

Coding Agents & IDEs
756下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Look up U.S. sales tax rates using the ZipTax API.

描述

该技能的功能

Looks up U.S. sales tax rates via the ZipTax API. Supports address, ZIP code, and lat/lng queries across 12,000+ jurisdictions. Returns total rates plus state, county, city, and district breakdowns, along with freight and service taxability flags.

Address-level lookups return a single exact rate rather than the multiple conflicting rates a ZIP code alone can produce.

何时使用

  • Calculate sales tax for a customer checkout in a specific U.S. city
  • Verify whether shipping charges are taxable in a given jurisdiction
  • Get a jurisdiction breakdown for a multi-district address
  • Look up tax rates by coordinates for a field service location
  • Check account API usage against the monthly quota

示例工作流

输入

User asks: What is the sales tax rate for 200 Spectrum Center Drive, Irvine, CA 92618?

智能体
  1. 1

    Identify the lookup type as address for maximum accuracy

  2. 2

    Send GET request to https://api.zip-tax.com/request/v60 with the address parameter and X-API-KEY header

  3. 3

    Confirm metadata.response.code equals 100 for a successful response

  4. 4

    Read taxSummaries[0].rate for the combined rate

  5. 5

    Read baseRates array for the state, county, city, and district breakdown

输出

Total rate 0.0775 (7.75%), broken down as California state 0.06, Orange County 0.0025, Irvine city 0.01, district 0.005

前置要求

  • ZIPTAX_API_KEY environment variable
  • ZipTax account at https://platform.zip.tax (free tier: 100 calls/month)

安装

clawhub install ericlakich/ziptax

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接