Retrieve list details

Endpoint

GET https://api.socialdata.tools/twitter/lists/show?id=...

Endpoint parameters

Name
Description
Example

id (Required)

The numeric ID of the desired list.

1625802236571033602

Common Issues and Best Practices

  • In languages where the id value exceeds the default Integer type limit (e.g., Node.js), store id as a string. Use the id_str property returned by the API for these values

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

curl "https://api.socialdata.tools/twitter/lists/show?id=1625802236571033602"
-H 'Authorization: Bearer API_KEY'
-H 'Accept: application/json'

Example response

// If succeeded: 
{
    "created_at": 1676456433000,
    "default_banner_media": {
        "media_info": {
            "original_img_url": "https:\/\/pbs.twimg.com\/media\/EXZ1_hkUYAA56JA.png",
            "original_img_width": 1125,
            "original_img_height": 375,
            "salient_rect": {
                "left": 562,
                "top": 187,
                "width": 1,
                "height": 1
            }
        }
    },
    "default_banner_media_results": {
        "result": {
            "id": "QXBpTWVkaWE6DAABCgABEXZ1\/hkUYAAKAAIQF4A+eBQgAAAA",
            "media_key": "3_1258322880099540992",
            "media_id": "1258322880099540992",
            "media_info": {
                "__typename": "ApiImage",
                "original_img_height": 375,
                "original_img_width": 1125,
                "original_img_url": "https:\/\/pbs.twimg.com\/media\/EXZ1_hkUYAA56JA.png",
                "salient_rect": {
                    "height": 1,
                    "left": 562,
                    "top": 187,
                    "width": 1
                }
            },
            "__typename": "ApiMedia"
        }
    },
    "description": "",
    "facepile_urls": [
        "https:\/\/pbs.twimg.com\/profile_images\/1685346185899294720\/jYLsROeL_mini.jpg",
        "https:\/\/pbs.twimg.com\/profile_images\/1706935000703315968\/r6aQH0jg_mini.jpg",
        "https:\/\/pbs.twimg.com\/profile_images\/1738612007451176960\/cfTlBeMZ_mini.jpg"
    ],
    "followers_context": "446 followers including @heyalexfriedman",
    "following": false,
    "id": "TGlzdDoxNjI1ODAyMjM2NTcxMDMzNjAy",
    "id_str": "1625802236571033602",
    "is_member": false,
    "member_count": 50,
    "members_context": "50 members",
    "mode": "Public",
    "muting": false,
    "name": "Soloprenuers",
    "pinning": false,
    "subscriber_count": 446,
    "user_results": {
        "result": {
            "__typename": "User",
            "id": "VXNlcjoxNDY4MTkyMzY2NDU2NTQxMTg5",
            "rest_id": "1468192366456541189",
            "affiliates_highlighted_label": [],
            "has_graduated_access": true,
            "is_blue_verified": false,
            "profile_image_shape": "Circle",
            "legacy": {
                "can_dm": true,
                "can_media_tag": true,
                "created_at": "Tue Dec 07 12:15:37 +0000 2021",
                "default_profile": true,
                "default_profile_image": false,
                "description": "I help people learn JavaScript and address any doubts they may have along the way.",
                "entities": {
                    "description": {
                        "urls": []
                    },
                    "url": {
                        "urls": [
                            {
                                "display_url": "tahajiru.com",
                                "expanded_url": "http:\/\/tahajiru.com",
                                "url": "https:\/\/t.co\/iFLD4bkkj3",
                                "indices": [
                                    0,
                                    23
                                ]
                            }
                        ]
                    }
                },
                "fast_followers_count": 0,
                "favourites_count": 5935,
                "followers_count": 103,
                "friends_count": 378,
                "has_custom_timelines": true,
                "is_translator": false,
                "listed_count": 1,
                "location": "India",
                "media_count": 103,
                "name": "Taha Jiruwala",
                "normal_followers_count": 103,
                "pinned_tweet_ids_str": [
                    "1666067236715659268"
                ],
                "possibly_sensitive": false,
                "profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1468192366456541189\/1692881657",
                "profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1469317962288943106\/aCRWoyOY_normal.jpg",
                "profile_interstitial_type": "",
                "screen_name": "tahajiru",
                "statuses_count": 3264,
                "translator_type": "none",
                "url": "https:\/\/t.co\/iFLD4bkkj3",
                "verified": false,
                "want_retweets": false,
                "withheld_in_countries": []
            }
        }
    }
}

// If failed:
{
    "status":"error",
    "message":"List not found"
}

Last updated