Skip to main content
GET
/
api
/
v1
/
topics
/
{topicId}
/
messages
List topic messages by id
curl --request GET \
  --url https://mainnet.mirrornode.hedera.com/api/v1/topics/{topicId}/messages
{
  "messages": [
    {
      "chunk_info": {
        "initial_transaction_id": "0.0.10-1234567890-000000321",
        "nonce": 3,
        "number": 1,
        "total": 2,
        "scheduled": true
      },
      "consensus_timestamp": "1234567890.000000001",
      "message": "bWVzc2FnZQ==",
      "payer_account_id": "0.0.10",
      "running_hash": "cnVubmluZ19oYXNo",
      "running_hash_version": 2,
      "sequence_number": 1,
      "topic_id": "0.0.7"
    }
  ],
  "links": {
    "next": null
  }
}

Path Parameters

topicId
string | null
required
Example:

Query Parameters

encoding
string
limit
integer
default:25
Required range: 1 <= x <= 100
order
enum<string>
default:asc
Available options:
asc,
desc
sequencenumber
integer
Required range: x >= 0
timestamp
string[]

Response

messages
object[]