> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.kota.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.kota.io/_mcp/server.

# List all taxonomy benefits

GET https://test.api.kota.io/plans/taxonomy/benefits

Returns a list of `taxonomy_benefits`, the standard benefit types that plan benefits refer to by `code`. The list is sorted by last update, most recent first.

Reference: https://docs.kota.io/api-reference/plan-benefits/list-benefit-taxonomy-entries

## Authentication

- `Authorization` header (bearer token, required) — Authorization header using the Bearer scheme

## Servers

- `https://test.api.kota.io` (test, default)
- `https://api.kota.io` (production)

## Request

### Query parameters

- `page` (integer, optional) — The page of results to return. Defaults to 1 if not provided.
- `page_size` (integer, optional) — The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.

### Headers

- `Kota-Version` (string, optional) — API version, as `yyyy-MM-dd`. Only `2026-05-16` is supported.
- `Kota-Taxonomy-Version` (string, optional) — Taxonomy version, as `yyyy-MM-dd`. The latest taxonomy is always returned, as it includes every earlier version.

## Response

### 200

OK

- `items` (list of TaxonomyBenefit, required) — A paginated array containing the response elements
- `page` (integer, required) — The current page of the results
- `page_size` (integer, required) — The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size
- `total_count` (integer, required) — The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page.
- `has_next_page` (boolean, optional) — Whether there are more pages available after this page
- `has_previous_page` (boolean, optional) — Whether there are more pages available before this page

## Errors

### 400 Bad Request Error

Bad Request

- `type` (string, optional, nullable)
- `title` (string, optional, nullable)
- `status` (integer, optional, nullable)
- `detail` (string, optional, nullable)
- `instance` (string, optional, nullable)
- `errors` (map from string to list of string, optional)

## Types

### TaxonomyBenefit

- `code` (string, required) — Code of the benefit type, for example `kota:gp_visit`. Plan benefits refer to it in `benefit.code`.
- `slug` (string, required) — URL-friendly identifier, for example `gp-visit`.
- `namespace` (string, required) — Namespace of the code, for example `kota`, `insurer:vhi` or `local:ie`.
- `display_names` (list of LocalizedName, required) — Name of the benefit type in each available language.
- `category` (string, optional, nullable) — Code of the benefit type's category, for example `kota:outpatient`.
- `version` (string, optional, nullable) — Taxonomy version the entry was served from, as `yyyy-MM-dd`.
- `definition` (string, optional, nullable) — Plain-language definition of the benefit type.
- `extensions` (map from string to JsonNode, optional, nullable) — Extra fields with no standard equivalent. Only present when there are any.
- `object` (string, optional) — Object type. Always `taxonomy_benefit`.

### LocalizedName

- `locale` (string, required) — BCP 47 language tag, for example `en-IE`.
- `value` (string, required) — The name in that language.

### JsonNode

- `options` (JsonNodeOptions, optional)
- `parent` (JsonNode, optional)
- `root` (JsonNode, optional)

### JsonNodeOptions

- `property_name_case_insensitive` (boolean, optional)

## Examples

**Response**

```json
{
  "items": [
    {
      "code": "string",
      "slug": "string",
      "namespace": "string",
      "display_names": [
        {
          "locale": "string",
          "value": "string"
        }
      ],
      "category": null,
      "version": null,
      "definition": null,
      "extensions": {},
      "object": "string"
    }
  ],
  "page": 1,
  "page_size": 20,
  "total_count": 1,
  "has_next_page": false,
  "has_previous_page": false
}
```

**SDK Code**

```python
import requests

url = "https://test.api.kota.io/plans/taxonomy/benefits"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://test.api.kota.io/plans/taxonomy/benefits';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://test.api.kota.io/plans/taxonomy/benefits"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://test.api.kota.io/plans/taxonomy/benefits")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://test.api.kota.io/plans/taxonomy/benefits")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://test.api.kota.io/plans/taxonomy/benefits', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://test.api.kota.io/plans/taxonomy/benefits");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://test.api.kota.io/plans/taxonomy/benefits")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```