Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/taxlocus-com:taxlocus-com-compliance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: TaxLocus REST Compliance API
version: 1.0.0
description: 'US sales-tax rate lookup, cart calculation, economic-nexus tracking, filing calendars, and taxability rules. Authenticated endpoints require a Bearer API key.
## AI-assisted integration
Building with an AI coding assistant (Claude, Cursor, Copilot, …)? Hand it our agent guide at **https://taxlocus.com/skill.md** and it will wire up the API for you — auth, cart tax, nexus tracking, and taxability — using the correct request shapes. Prefer tools over REST? Connect the **MCP server** at `https://api.taxlocus.com/mcp` to call TaxLocus directly from an MCP-capable agent.
## Notes
All responses are informational and not tax or legal advice; every response includes a `disclaimer`, `as_of`, `corpus_version`, and (where applicable) `citation` for traceability.'
servers:
- url: https://api.taxlocus.com
description: Production
- url: http://localhost:8799
description: Local development
security:
- bearerAuth: []
tags:
- name: Compliance
description: Filing calendars and taxability.
paths:
/v1/filing/calendar:
post:
tags:
- Compliance
summary: Get a filing calendar
description: Return filing frequency and upcoming due dates for a state.
requestBody:
required: true
description: State and filing context.
content:
application/json:
schema:
type: object
properties:
state:
type: string
minLength: 2
maxLength: 2
annual_tax_collected:
type: number
minimum: 0
annual_revenue:
type: number
minimum: 0
registration_date:
type: string
format: date
required:
- state
additionalProperties: false
responses:
'200':
description: Filing frequency and upcoming due dates.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'401':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'429':
description: 'rate_limited: the account''s per-second limit (shared by all of its live keys; its test keys share a separate one of the same size) is used and the queue for the next second (25% of the limit) is full. Retry after the number of seconds in Retry-After (1). test_key_daily_limit: the account''s test keys have used today''s allowance (Free 200, Indie 1,000, Pro 5,000, Scale 20,000 calls per UTC day, shared by all test keys); it resets at 00:00 UTC.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
'500':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
operationId: postV1FilingCalendar
x-operation-id-source: derived
/v1/taxability/check:
post:
tags:
- Compliance
summary: Check product taxability
description: Return taxability and tax treatment for one or more product categories in a state.
requestBody:
required: true
description: State plus a product category or list of categories.
content:
application/json:
schema:
type: object
properties:
state:
type: string
minLength: 2
maxLength: 2
product_category:
type: string
minLength: 1
description: Product category. Canonical codes use a dotted taxonomy — e.g. goods.general, food.grocery, food.prepared, clothing.general, software.saas, software.prewritten, medical.rx, medical.otc, publications.books. Common aliases are also accepted (e.g. general, groceries, clothing, saas, prescription_drugs), and retired codes (e.g. medical.prescription_drugs) resolve to their canonical category.
product_categories:
type: array
items:
type: string
minLength: 1
description: Product category. Canonical codes use a dotted taxonomy — e.g. goods.general, food.grocery, food.prepared, clothing.general, software.saas, software.prewritten, medical.rx, medical.otc, publications.books. Common aliases are also accepted (e.g. general, groceries, clothing, saas, prescription_drugs), and retired codes (e.g. medical.prescription_drugs) resolve to their canonical category.
required:
- state
additionalProperties: false
responses:
'200':
description: Taxability results per category.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'401':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'429':
description: 'rate_limited: the account''s per-second limit (shared by all of its live keys; its test keys share a separate one of the same size) is used and the queue for the next second (25% of the limit) is full. Retry after the number of seconds in Retry-After (1). test_key_daily_limit: the account''s test keys have used today''s allowance (Free 200, Indie 1,000, Pro 5,000, Scale 20,000 calls per UTC day, shared by all test keys); it resets at 00:00 UTC.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
'500':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
operationId: postV1TaxabilityCheck
x-operation-id-source: derived
/v1/taxability/classify:
post:
tags:
- Compliance
summary: Classify a product into a tax category (AI)
description: Suggest the best leaf tax-category for a product, given its name and optionally a description and SKU. Returns a 0-1 confidence, 2-3 alternates, and the model's reasoning. Below 0.85 confidence sets `needs_review:true` and does NOT auto-apply. Re-classifying the same input within 30 days returns `cache_hit:true` without counting against the quota.
requestBody:
required: true
description: Product name plus optional description and SKU.
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 512
description:
type: string
maxLength: 8000
sku:
type: string
minLength: 1
maxLength: 256
force:
type: boolean
required:
- name
additionalProperties: false
responses:
'200':
description: A category suggestion with alternates.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'401':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'402':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'403':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'429':
description: 'rate_limited: the account''s per-second limit (shared by all of its live keys; its test keys share a separate one of the same size) is used and the queue for the next second (25% of the limit) is full. Retry after the number of seconds in Retry-After (1). test_key_daily_limit: the account''s test keys have used today''s allowance (Free 200, Indie 1,000, Pro 5,000, Scale 20,000 calls per UTC day, shared by all test keys); it resets at 00:00 UTC.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
'500':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'503':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
operationId: postV1TaxabilityClassify
x-operation-id-source: derived
/v1/taxability/classify/batch:
post:
tags:
- Compliance
summary: Batch classify products (AI)
description: Classify up to 50 items in one request. Each non-cached item counts as one billable classify call against the account's monthly quota.
requestBody:
required: true
description: Array of up to 50 classify inputs.
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 512
description:
type: string
maxLength: 8000
sku:
type: string
minLength: 1
maxLength: 256
force:
type: boolean
required:
- name
additionalProperties: false
minItems: 1
maxItems: 50
required:
- items
additionalProperties: false
responses:
'200':
description: Array of classification suggestions.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'401':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'402':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'403':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'429':
description: 'rate_limited: the account''s per-second limit (shared by all of its live keys; its test keys share a separate one of the same size) is used and the queue for the next second (25% of the limit) is full. Retry after the number of seconds in Retry-After (1). test_key_daily_limit: the account''s test keys have used today''s allowance (Free 200, Indie 1,000, Pro 5,000, Scale 20,000 calls per UTC day, shared by all test keys); it resets at 00:00 UTC.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
'500':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'503':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
operationId: postV1TaxabilityClassifyBatch
x-operation-id-source: derived
/v1/taxability/classify/review:
get:
tags:
- Compliance
summary: Review queue (low-confidence classifications)
description: Paginated feed of the account's classifications where `needs_review = true`. Default filter is pending (no override exists yet); pass ?status=resolved or ?status=all to widen.
responses:
'200':
description: Review-queue items.
content:
application/json:
schema:
type: object
additionalProperties: true
'400':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'401':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'403':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
'429':
description: 'rate_limited: the account''s per-second limit (shared by all of its live keys; its test keys share a separate one of the same size) is used and the queue for the next second (25% of the limit) is full. Retry after the number of seconds in Retry-After (1). test_key_daily_limit: the account''s test keys have used today''s allowance (Free 200, Indie 1,000, Pro 5,000, Scale 20,000 calls per UTC day, shared by all test keys); it resets at 00:00 UTC.'
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
'500':
description: Error response.
content:
application/json:
schema:
type: object
properties:
error:
type: string
message:
type: string
issues:
type: array
items:
type: object
exception_id:
type: string
format: uuid
description: 'On `geocode_failed` and `no_jurisdiction` from a rate lookup or cart: the lookup exception TaxLocus recorded for this location and will research.'
required:
- error
operationId: getV1TaxabilityClassifyReview
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'TaxLocus API key, sent as `Authorization: Bearer <key>`.'