GET /twitter/user/mentions

Changed on

get tweet mentions by user screen name.Each page returns exactly 20 mentions. Use cursor for pagination. Order by mention time desc

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/user/mentions
  • Auth
    API key in header X-API-Key

Query parameters

userNamestring string required

The user screen name to get. eg. kaitoEasyApi

sinceTimeinteger

On or after a specified unix timestamp in seconds.

untilTimeinteger

Before a specified unix timestamp in seconds.

cursorstring string

The cursor to paginate through the results. First page is "".

Response

Tweet quotes response

has_next_pageboolean

Indicates if there are more results available. If true, use next_cursor to fetch the next page. Warning: Due to Twitter API inconsistency, has_more might return true even when no additional data exists. In such cases, subsequent requests will return empty results - this is a known platform limitation.

next_cursorstring

Cursor for fetching the next page of results

status'success' | 'error'

Status of the request.success or error

msgstring

Message of the request (error message on failure)

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property /// to the response with the status