GET /twitter/tweets

Changed on

get tweet by tweet ids

Request

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

Query parameters

tweet_idsstring[] required

The tweet ids to get.eg. 1846987139428634858,1866332309399781537,1868244766405870076. Use comma to separate multiple tweet ids. Maximum 50 IDs per request (more returns HTTP 400). IDs that are deleted, private or from suspended accounts are not returned (occasionally an entry with an empty id); match results by id.

Response

Tweets response

status'success' | 'error' required

Status of the request.success or error

msgstring required

Message of the request (error message on failure)

codeinteger

0 on success

Changes

    • breaking

      removed the required 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

    • info

      added the required property to the response with the status