Skip to content

Search HCS topics endpoint

GET
/v2/hcs/topic

Search and list HCS topics endpoint with pagination.

name
string

Search term to filter topics

page[number]
number

Page number (starts at 1)

Example
1
page[size]
number

Items per page

Example
10
X-API-Key
string

API Key

X-API-Secret
string

API Secret

List of HCS topics matching the search criteria.

object
items
required

List of topics

Array<object>
object
id

The topic UUID

string
123e4567-e89b-12d3-a456-426614174000
topicId

The network identifier for the topic

string
0.0.1234567
organisationId

The organisation id

string
123e4567-e89b-12d3-a456-426614174000
name

The topic name

string
topic
transactionId

The transaction id

string
123e4567-e89b-12d3-a456-426614174000
page
required

The default pagination

object
number
required

Page number (starts at 1)

number
1
size
required

Items per page

number
10
totalPages
required

Total number of items

number
100
totalCount
required

Total number of pages

number
10
hasNext
required

Whether there is a next page

boolean
true
hasPrev
required

Whether there is a previous page

boolean

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error