---
title: "Retrieve a list of DIDs indexed under a given type"
method: GET
path: "/dids/types/{id}"
tags: ["DID"]
---

# Retrieve a list of DIDs indexed under a given type

`GET /dids/types/{id}`

Retrieve a list of DIDs indexed under a given type, according to the spec-defined type index

## Path parameters

- `id` integer, required

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

A list of DIDs indexed under the given type

- string[]

## Other responses

- `404` — Type not found

## Changes

- **2024-02-01** `06c3d86591b3` — 2 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `501`
- **2024-01-04** `eef6722c1692` — 1 info
  - endpoint added
- **2023-11-20** `4b01176296d1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/decentralized-identity/apis/did-dht-gateway-api/changes/dids/types/:id/get.md)

---

[API](https://skmtc.dev/decentralized-identity/apis/did-dht-gateway-api.md) · [All operations](https://skmtc.dev/decentralized-identity/apis/did-dht-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decentralized-identity/did-dht-gateway-api/revisions/fff9410e2681/schema)
