> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Tax Rates

> List all tax rates with filtering options

<Note>
  This endpoint returns a paginated list of tax rates. You can filter by jurisdiction, type, status, and more.
</Note>

## Authentication

This endpoint requires a valid API key with `tax:read` permissions.

```bash theme={null}
Authorization: Bearer YOUR_API_KEY
```

## Query Parameters

<ParamField query="limit" type="integer" default="10">
  Number of tax rates to return (1-100)
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Number of tax rates to skip
</ParamField>

<ParamField query="country" type="string">
  Filter by country code (ISO 3166-1 alpha-2)
</ParamField>

<ParamField query="state" type="string">
  Filter by state/province code
</ParamField>

<ParamField query="type" type="string">
  Filter by tax type: "sales", "vat", "gst", "pst", "hst", "custom"
</ParamField>

<ParamField query="status" type="string">
  Filter by status: "active", "pending", "inactive"
</ParamField>

<ParamField query="is_inclusive" type="boolean">
  Filter by inclusive/exclusive taxes
</ParamField>

<ParamField query="effective_on" type="string">
  Filter rates effective on a specific date (ISO 8601)
</ParamField>

### Response

Returns a paginated list of tax rate objects.

<RequestExample>
  ```bash cURL theme={null}
  curl --location 'https://api.stateset.com/v1/tax/rates?country=US&status=active' \
  --header 'Authorization: Bearer YOUR_API_KEY'
  ```

  ```javascript Node.js theme={null}
  const taxRates = await stateset.tax.rates.list({
    country: 'US',
    status: 'active'
  });
  ```

  ```python Python theme={null}
  tax_rates = stateset.tax.rates.list(
    country='US',
    status='active'
  )
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "object": "list",
    "data": [
      {
        "id": "tax_rate_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
        "object": "tax_rate",
        "name": "California State Sales Tax",
        "code": "CA_STATE_SALES",
        "rate": 0.0725,
        "type": "sales",
        "jurisdiction": {
          "country": "US",
          "state": "CA",
          "level": "state",
          "display_name": "California, United States"
        },
        "is_inclusive": false,
        "status": "active",
        "created_at": "2024-01-20T11:00:00Z"
      },
      {
        "id": "tax_rate_1234f083-bb2d-54d6-bg6d-1b0e3gd75f41",
        "object": "tax_rate",
        "name": "San Francisco County Tax",
        "code": "SF_COUNTY_SALES",
        "rate": 0.0175,
        "type": "sales",
        "jurisdiction": {
          "country": "US",
          "state": "CA",
          "county": "San Francisco",
          "level": "county",
          "display_name": "San Francisco County, California, United States"
        },
        "is_inclusive": false,
        "status": "active",
        "created_at": "2024-01-20T11:05:00Z"
      }
    ],
    "has_more": true,
    "total_count": 127,
    "url": "/v1/tax/rates"
  }
  ```
</ResponseExample>
