---
title: "Searches subkingdoms"
method: GET
path: "/api/v1/subkingdoms"
tags: ["Subkingdoms"]
---

# Searches subkingdoms

`GET /api/v1/subkingdoms`

List subkingdoms

## Query parameters

- `page` number

## Response `200`

Success

- object
  - `data` Subkingdom[]
    - `id` integer, required
    - `name` string, required
    - `slug` string, required
    - `kingdom` Kingdom, required
      - `id` integer, required
      - `name` string, required
      - `slug` string, required
      - `links` object, required
        - `self` string, required
    - `links` object, required
      - `self` string, required
      - `kingdom` string, required
  - `links` object
    - `self` string, required — A link to the current page of the collection
    - `first` string — A link to the first page of the collection
    - `next` string — A link to the next page of the collection
    - `prev` string — A link to the previous page of the collection
    - `last` string — A link to the last page of the collection
  - `meta` object
    - `total` integer

## Other responses

- `401` — Invalid credentials

---

[API](https://skmtc.net/treflehq/apis/trefle-api-v1.md) · [All operations](https://skmtc.net/treflehq/apis/trefle-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treflehq/trefle-api-v1/revisions/2e0d8882f840/schema)
