---
title: "Fetch the subdomain record"
method: POST
path: "/v1/domain/subdomain/search"
tags: ["domain"]
---

# Fetch the subdomain record

`POST /v1/domain/subdomain/search`

Returns the subdomain records based on query

## Request body

- DnsDomainRequest
  - `domain` string
  - `keyword` string
  - `limit` integer, required
  - `publishedAfter` string
  - `publishedBefore` string
  - `start` object[]

## Response `200`

OK

- object
  - `data` string[]
  - `pagination` DnsSearchPagination
    - `last` object[]
    - `limit` integer
    - `start` object[]
    - `total` integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/cybledev/apis/odin.md) · [All operations](https://skmtc.net/cybledev/apis/odin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cybledev/odin/revisions/95defd23433f/schema)
