---
title: "Resolve a DID"
method: GET
path: "/did/{id}"
tags: ["DID"]
---

# Resolve a DID

`GET /did/{id}`

Resolve a DID from the DHT first, with a fallback to local storage.

## Path parameters

- `id` string, required

## Query parameters

- `seq` integer

## Response `200`

The resolved DID Document.

- object

## Other responses

- `404` — DID could not be resolved.

## Changes

- **2023-11-22** `2df84fe481c8` — 1 info
  - for the `path` request parameter `id`, the format was generalized from `did:dht:*` to no format
- **2023-11-20** `4b01176296d1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/decentralized-identity/apis/did-dht-gateway-api/changes/did/: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/2df84fe481c8/schema)
