Mentions

List the comments of a mention

The comments under a mention's post, newest first: every comment in the thread, whether or not it names your keyword. Read once, about a day after the post, for mentions scored relevant whose keyword has comments enabled (keywords.comments), on Hacker News, Bluesky, GitHub, Stack Overflow, DEV, YouTube and Reddit; empty before that and for other keywords. Each comment delivered costs $0.008 on the comments line of the bill, once per workspace. A comment that itself names one of your keywords is also a mention: `mentionId` links it. Two mentions of one post (two keywords) list the same thread.

GET
/v1/mentions/{id}/comments
AuthorizationBearer <token>

API key minted via POST /v1/api-keys (format mk_live_...)

In: header

Path Parameters

idstring

Mention id (mm_...).

Length1 <= length

Query Parameters

cursor?string

nextCursor from the previous page.

Length1 <= length
limit?integer

Page size, 1 to 100.

Default50
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.mentio.dev/v1/mentions/mm_abc123/comments"
{
  "data": [
    {
      "id": "string",
      "url": "string",
      "text": "string",
      "publishedAt": "string",
      "author": {
        "name": "string",
        "url": "string",
        "avatarUrl": "string"
      },
      "parentCommentId": "string",
      "engagement": {
        "likes": 0,
        "reposts": 0,
        "replies": 0,
        "quotes": 0,
        "views": 0,
        "bookmarks": 0
      },
      "classification": {
        "sentiment": "positive",
        "intents": [
          "string"
        ]
      },
      "mentionId": "string"
    }
  ],
  "nextCursor": "string"
}
{
  "error": {
    "code": "unauthorized",
    "message": "string",
    "requestId": "string",
    "retryAfterSeconds": 0
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "string",
    "requestId": "string",
    "retryAfterSeconds": 0
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "string",
    "requestId": "string",
    "retryAfterSeconds": 0
  }
}