WooCommerce · JSON Structure

Woocommerce Rest Api Tax Rate Structure

A configured tax rate applied at checkout.

Type: object Properties: 11
E-CommerceOpen-SourceOrderProductWordPress

TaxRate is a JSON Structure definition published by WooCommerce, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id country state postcode city rate name priority compound shipping class

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/woocommerce/refs/heads/main/json-structure/woocommerce-rest-api-tax-rate-structure.json",
  "name": "TaxRate",
  "description": "A configured tax rate applied at checkout.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "description": "Tax rate unique identifier.",
      "example": 1
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code for this rate.",
      "example": "string-value"
    },
    "state": {
      "type": "string",
      "description": "State code for this rate (empty for country-wide rates).",
      "example": "string-value"
    },
    "postcode": {
      "type": "string",
      "description": "Postcode or range for this rate.",
      "example": "string-value"
    },
    "city": {
      "type": "string",
      "description": "City name for this rate.",
      "example": "string-value"
    },
    "rate": {
      "type": "string",
      "description": "Tax rate percentage as a decimal string (e.g. 20.0000).",
      "example": "string-value"
    },
    "name": {
      "type": "string",
      "description": "Tax rate label shown to customers.",
      "example": "Example Name"
    },
    "priority": {
      "type": "int32",
      "description": "Priority of this tax rate (used when multiple rates match the same address).",
      "example": 1
    },
    "compound": {
      "type": "boolean",
      "description": "Whether this is a compound tax rate (applied on top of other taxes).",
      "example": true
    },
    "shipping": {
      "type": "boolean",
      "description": "Whether the tax applies to shipping costs.",
      "example": true
    },
    "class": {
      "type": "string",
      "description": "Tax class slug. Standard class is identified by an empty string.",
      "example": "string-value"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/woocommerce-rest-api-tax-rate-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.