Search Message
Use the following parameters to search messages.
If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.
(required) Username of a registered API User
Returns messages signed by the provided account.
nullReturns objects created after the entered date.
nullExample: 2020-09-12T14:15:22ZReturns objects created before the entered date.
nullExample: 2020-12-13T16:17:28ZReturns the object corresponding to the entered ID
nullFilters the list of results by message type.
nullPossible values: Orders the list of results
nullExample: descPossible values: criteria to order by
nullExample: nameDefines the page number to be fetched.
1Example: 3Defines the number of elements displayed on a page. Must be a positive number with 0 and -1 return a maximum defined in the gate
20Example: 40Message search results
Invalid search parameters
GET /messages HTTP/1.1
Host:
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
{
"edges": [
{
"cursor": 0,
"node": {
"account_id": 1,
"address": "bc1q2kqvs8wx455lw2f69j5z34emypjup07fp0fcrp",
"created_by": 5,
"created_on": "2025-11-14T09:32:40.916Z",
"data": "Welcome to the web3",
"id": 1,
"last_request": 3,
"message_type": "EIP-191",
"notes": [
{
"content": "some information about this transaction",
"title": "a note title"
}
],
"signature": "0x",
"status": "PENDING_APPROVAL",
"type": "MESSAGE_SIGNATURE"
}
}
],
"page_info": {
"count": 1,
"has_next_page": false
}
}Last updated