Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TaxJar Taxes API

Sales tax calculation

TaxJar Taxes API is one of 9 APIs that TaxJar publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Taxes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 2 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against 2 base URLs: https://api.taxjar.com/v2, https://api.sandbox.taxjar.com/v2.

1 operations 1 paths 7 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.taxjar.com/v2/
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

TaxJar Taxes API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Use your TaxJar API token. Format: "Bearer [token]" or "Token token=[token]"

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Taxes 1

Sales tax calculation

POST
/taxes
Calculate sales tax for an order
calculateTaxForOrder body → 200400401

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are BreakdownLineItem (16 properties), Breakdown (16 properties), TaxRequest (15 properties), Tax (11 properties). Each schema is shown below with its type and property counts.

Jurisdictions
object
4 properties
Tax
object
11 properties
LineItemRequest
object
8 properties
Breakdown
object
16 properties
BreakdownLineItem
object
16 properties
TaxRequest
object
15 properties 5 required
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

taxjar-taxes-api-openapi.yml Raw ↑

Other APIs TaxJar publishes across the network.

TaxJar Categories API
TaxJar Customers API
TaxJar Nexus API
TaxJar Rates API
TaxJar Summary Rates API
TaxJar Transactions - Orders API
TaxJar Transactions - Refunds API
TaxJar Validations API