---
title: "Verify User Commented on a Tweet"
method: GET
path: "/twitter/tweets/{tweet_id}/commented_by/{user_id}"
tags: ["Social Actions API"]
---

# Verify User Commented on a Tweet

`GET /twitter/tweets/{tweet_id}/commented_by/{user_id}`

This endpoint provides a convenient way to check if a user identified by user_id posted a comment in response to a tweet identified by tweet_id. This endpoint only detects direct replies to a target tweet, and not comments posted under other comments.

The endpoint returns an array of comment_ids taking into account that a single user may have posted more than a single reply.

## Path parameters

- `tweet_id` string, required
- `user_id` string, required

## Response `200`

Request succeeded

- UserCommentedResponse — Provides information about whether a user has commented on a specific tweet
  - `status` string, required — Status of the request, "success" when successful
  - `is_commented` boolean, required — Indicates whether the user has commented on the target tweet
  - `comment_ids` string[], required — List of comment IDs made by the user on the target tweet

## Other responses

- `402` — Payment required - not enough credits to perform this request
- `422` — Validation failed (e.g. tweet_id or user_id is not provided or in invalid format)
- `500` — API internal error, typically means that SocialData API failed to obtain the requested information. Retry may succeed

## Changes

- **2025-03-12** `73745ce76c49` — 1 breaking, 4 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - removed `#/components/schemas/UserCommentedStatus, #/components/schemas/ErrorResponse` from the response body `oneOf` list for the response status `200`
  - added the required property `comment_ids` to the response with the `200` status
  - added the required property `is_commented` to the response with the `200` status
  - …1 more

[Change history](https://skmtc.dev/socialdata-api/apis/socialdata-api-reference/changes/twitter/tweets/:tweet_id/commented_by/:user_id/get.md)

---

[API](https://skmtc.dev/socialdata-api/apis/socialdata-api-reference.md) · [All operations](https://skmtc.dev/socialdata-api/apis/socialdata-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialdata-api/socialdata-api-reference/revisions/a898522f71ac/schema)
