---
title: "Get domain suggestions"
method: GET
path: "/search/suggestions"
tags: ["search"]
---

# Get domain suggestions

`GET /search/suggestions`

## Request

- Base URL: `https://api.namefi.io/v-next`
- URL: `https://api.namefi.io/v-next/search/suggestions`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Generate domain suggestions based on a search query. Supports pagination and optional parent domain filtering for third-level domain suggestions.

## Query parameters

- `query` string, required: Search query for domain suggestions
- `parentDomain` string: Optional parent domain for third-level domain suggestions
- `page` integer: Page number for pagination (starts at 1)
- `pageSize` integer: Number of results per page (1-100)

## Headers

- `x-namefi-eip7702-account` string
- `x-namefi-eip1271-account` string
- `x-namefi-erc1271-account` string

## Response `200`

OK

- object
  - `domains` string[], required
  - `page` number, required
  - `totalPages` number, required
  - `nextPage` number, nullable, required
  - `pageSize` number, required

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `406`: 406
- `408`: 408
- `409`: 409
- `412`: 412
- `429`: 429
- `500`: 500

---

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