logo
OpenapiSearch

Get domain suggestions

API Docs with browser client
GET
/search/suggestions

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

AuthorizationBearer <token>

In: header

Query Parameters

query*string

Search query for domain suggestions

Length1 <= length
parentDomain?string

Optional parent domain for third-level domain suggestions

page?integer

Page number for pagination (starts at 1)

Range1 <= value <= 9007199254740991
pageSize?integer

Number of results per page (1-100)

Range1 <= value <= 100

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://backend.astra.namefi.dev/v-next/search/suggestions?query=string"
{
  "domains": [
    "string"
  ],
  "page": 0,
  "totalPages": 0,
  "nextPage": 0,
  "pageSize": 0
}
{
  "defined": true,
  "code": "BAD_REQUEST",
  "status": 400,
  "message": "Bad Request",
  "data": null
}
{
  "defined": true,
  "code": "UNAUTHORIZED",
  "status": 401,
  "message": "Unauthorized",
  "data": null
}
{
  "defined": true,
  "code": "FORBIDDEN",
  "status": 403,
  "message": "Forbidden",
  "data": null
}
{
  "defined": true,
  "code": "NOT_FOUND",
  "status": 404,
  "message": "Not Found",
  "data": null
}
{
  "defined": true,
  "code": "NOT_ACCEPTABLE",
  "status": 406,
  "message": "Not Acceptable",
  "data": null
}
{
  "defined": true,
  "code": "TIMEOUT",
  "status": 408,
  "message": "Request Timeout",
  "data": null
}
{
  "defined": true,
  "code": "CONFLICT",
  "status": 409,
  "message": "Conflict",
  "data": null
}
{
  "defined": true,
  "code": "PRECONDITION_FAILED",
  "status": 412,
  "message": "Precondition Failed",
  "data": null
}
{
  "defined": true,
  "code": "TOO_MANY_REQUESTS",
  "status": 429,
  "message": "Too Many Requests",
  "data": null
}
{
  "defined": true,
  "code": "INTERNAL_SERVER_ERROR",
  "status": 500,
  "message": "Internal Server Error",
  "data": null
}