Quickstart

Send your first US sales tax rate lookup in three steps.

Base URL

Send all REST requests over HTTPS to https://api.netamount.com. Send JSON inputs in the request body with Content-Type: application/json. Do not add unexpected query parameters or extra JSON fields.

1. Create an API key

Open API keys in your dashboard, create a key, and copy it when shown. Store it in a server environment variable such as NET_AMOUNT_API_KEY.

Activate Starter ($100 per active tax region per month for 1 to 9 regions, up to 50,000 monthly transactions, unlimited API keys, and 300 req/min) on the billing page to unlock the full compliance cycle—including rate lookups, tax calculation, multi-state nexus monitoring, effective-dated taxability rules, custom products and tax rules, exemption certificates, committed transactions, persistent filing periods, and multi-entity management. Businesses active in 10+ regions or above 50,000 monthly transactions use custom Growth pricing. Reference endpoints such as GET /account/balance and GET /nexus/thresholds are always free.

2. Send a lookup

Call POST /rate/lookup with a full street address or WGS 84 coordinates.

curl -X POST https://api.netamount.com/rate/lookup \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "117 W Duval St, Jacksonville, FL 32202, USA"
  }'

3. Read the response

Check status === "matched" before using taxRate. The rate is a decimal, so 0.075 means 7.5%. A null rate means no usable total could be confirmed and never means zero tax.

200 OK
{
  "coordinates": {
    "latitude": 30.3297,
    "longitude": -81.6586
  },
  "status": "matched",
  "hasMissingRates": false,
  "taxRate": 0.075,
  "jurisdictions": [
    {
      "name": "Florida",
      "stateName": "Florida",
      "relation": "inside",
      "rates": [
        {
          "name": "Florida",
          "jurisdictionType": "state",
          "taxType": "Sales",
          "rate": 0.06,
          "effectiveDate": "2017-01-01",
          "endDate": "2029-12-31"
        }
      ]
    },
    {
      "name": "Duval",
      "stateName": "Florida",
      "relation": "inside",
      "rates": [
        {
          "name": "Duval",
          "jurisdictionType": "county",
          "taxType": "Sales",
          "rate": 0.015,
          "effectiveDate": "2021-01-01",
          "endDate": "2029-12-31"
        }
      ]
    }
  ],
  "geocoding": {
    "provider": "Google Maps",
    "formattedAddress": "117 W Duval St, Jacksonville, FL 32202, USA",
    "precision": "ROOFTOP",
    "attribution": "Google Maps"
  }
}

Official SDKs

Install our zero-dependency TypeScript (@netamount/sdk) or Python (netamount) SDK to access all 69 public REST operations across 47 paths with typed errors, automatic retries for idempotent operations, default entity scoping, and built-in webhook signature verification.

  • TypeScript / JavaScript: npm install @netamount/sdk or bun add @netamount/sdk. Built on standard Web APIs (fetch, AbortSignal.timeout, crypto.subtle) for Node 20+, Bun, Deno, Cloudflare Workers, and Vercel Edge.
  • Python: pip install netamount. Built exclusively on the Python 3.10+ standard library (urllib.request, hmac, hashlib) with no third-party packages required.
// npm install @netamount/sdk  (or: bun add @netamount/sdk)
import { NetAmount, verifyWebhookSignature } from "@netamount/sdk";

const client = new NetAmount({
  apiKey: process.env.NETAMOUNT_API_KEY!, // na_...
  defaultEntityId: "ent_primary", // optional default entity scope (not applied to workspace-wide auditLogs)
});

// 1. Calculate sales tax for one order
const calc = await client.tax.calculate({
  shipTo: { address: "1700 Lincoln St, Denver, CO 80203, USA" },
  lineItems: [
    { id: "sku_1", amount: 50, quantity: 2, itemKey: "general_tangible_goods" },
  ],
  shipping: 10,
  shippingType: "separately_stated",
  discountAmount: 10,
  discountType: "retailer",
  includeRetailDeliveryFees: true,
  buyerType: "b2c",
  commit: true,
  externalId: "order_2026_1001",
});

// 2. Calculate up to 25 orders in a single batch
const batch = await client.tax.calculateBatch({
  items: [
    {
      batchItemId: "ord_1002",
      shipTo: { address: "117 W Duval St, Jacksonville, FL 32202, USA" },
      amount: 120,
    },
    {
      batchItemId: "ord_1003",
      shipTo: { address: "400 S Orange Ave, Orlando, FL 32801, USA" },
      amount: 85,
    },
  ],
});

// 3. Verify incoming X-NetAmount-Signature webhook headers (supports secret rotation arrays)
const isValid = await verifyWebhookSignature({
  payload: rawBody,
  signatureHeader: request.headers.get("X-NetAmount-Signature"),
  secret: [process.env.NETAMOUNT_WEBHOOK_SECRET!],
  toleranceSeconds: 300,
});

Endpoint overview

Billable endpoints count as 1 request against your monthly bucket (see Pricing). Compliance CRUD, ledger management, filing workflows, and reference reads are free on eligible plans.

EndpointPurposeUsage
POST /rate/lookupCombined current US general Sales rate for an address or coordinates.1 request when matched
POST /tax/calculatePenny-accurate tax calculation with sourcing, discounts, Retail Delivery Fees, products, custom rules, exemptions, and optional commit.1 request when matched
POST /tax/calculate/batchCalculate sales tax for up to 25 orders in one request with automatic location deduplication.1 request per matched item (Starter+)
POST /jurisdictions/searchSearch individual named state, county, city, and district rates.1 request when non-empty
GET /nexus/thresholdsStatutory economic nexus thresholds across 50 states, DC, and PR.Free
POST /nexus/evaluateEvaluate sales and transactions across 1 to 52 states.1 request per evaluation (Starter+)
GET /nexus/monitorEvaluate live nexus exposure from your committed ledger, workspace-wide or by entity.Free (Starter+)
GET /taxability/itemsList available category slugs for state and local taxability checks.Free
POST /taxability/checkCheck effective-dated state and local taxability rules (reduced rates, thresholds, taxable percent).1 request when matched (Starter+)
/productsCreate, update, list, and archive custom product codes mapped to base categories.Free (Starter+)
/rules & POST /rules/testManage flexible custom taxability or rate rules and dry-run rule matching.Free (Starter+)
/exemptionsList, create, inspect, and revoke customer tax exemption certificates.Free (Starter+)
/transactionsList committed calculations, export filing reports, inspect snapshots, void, and refund.Free (Starter+)
/filings & /filings/calendarTrack due dates, snapshot return periods, lock filed periods, and create amendments.Free (Starter+)
/entities & /registrationsModel legal entity hierarchies and manage state sales tax registration permits.Free (Starter+)
/webhooksManage HMAC-SHA256 signed HTTPS outbound webhooks, inspect deliveries, and send test events.Free (Starter+)
/alertsList proactive compliance alerts (nexus, filings, exemptions, quota) and acknowledge reviewed alerts.Free (Starter+)
GET /audit-logsQuery immutable workspace compliance change history in JSON or RFC 4180 CSV.Free (Starter+)
GET /logs/requests & /logs/summaryInspect 30-day API request logs, latencies, status rates, and usage by endpoint or key.Free (All plans)
GET /account/balanceInspect account usage, remaining capacity, and current monthly count.Free