v1
latestOpenAPI 3.1.02026-07-13603344.2 KBcomments
Retrieve a single comment by path
get/api/comments/by-path/{authorShortId}/{commentShortId}
Path parameters
authorShortIdstring required
The author short id, whole address or ENS name
commentShortIdstring required
The comment short id or full comment ID in hex format
Query parameters
viewerstring
The viewer's address, for personalized data such as reactions
Hex format string, e.g. 0x1234567890abcdef
chainIdstring required
Filters by chain ID. Can be a single chain id or comma-separated list of chain ids (e.g. 1,137,10).
mode'nested' | 'flat'
The mode to fetch comments in. Nested will return only the first level of comments. Flat will return all replies sorted by timestamp in descending order.
commentTypeinteger nullable
The comment type (e.g. 0=comment, 1=reaction, not passed = all)
isReplyDeletedstring
Whether to return only deleted replies or only undeleted replies. If omitted it will return both deleted and undeleted replies.
Example:1
Response
A single comment