Retrieve user profile details

Endpoint

GET https://api.socialdata.tools/twitter/user/[user_id]
 or
GET https://api.socialdata.tools/twitter/user/[screen_name]

Endpoint parameters

Name
Description
Example

user_id (Required)

The ID of the user for whom to return results.

Either an id or screen_name is required for this method.

44196397

screen_name

(Required)

The screen name of the user for whom to return results.

Either a id or screen_name is required for this method.

elonmusk

Response codes

  • HTTP 200 OK - succeeded

  • HTTP 402 Payment Required - not enough credits to perform this request

  • HTTP 404 Not Found - requested tweet does not exist

  • HTTP 422 Unprocessable Content - validation failed (e.g. one of the required parameters was not provided)

  • HTTP 500 Internal Server Error - other error, typically means that SocialData API failed to obtain the requested information and you should try again later

Rate limits

By default each user has a limit of 120 requests per minute shared across all endpoints. Please reach out to support@socialdata.tools if you need to raise your rate limit.

Example request

Run In Postman

Example response

Last updated