---
title: "Detect a domain's registrar"
method: POST
path: "/v1/email/domains/{id}/registrar"
tags: ["Email"]
---

# Detect a domain's registrar

`POST /v1/email/domains/{id}/registrar`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/email/domains/{id}/registrar`
- Auth: API key in header `x-api-key`

Looks up the domain's nameservers to detect its DNS registrar and returns the provider, nameservers, and a link to its setup docs.

## Path parameters

- `id` string, required

## Request body

- object
  - `domain` string, required

## Response `200`

Success

- object
  - `provider` string, required
  - `name` string, required
  - `nameservers` string[], required
  - `docsUrl` string, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
