You should know the @handle for that ads accountâs owner. With that information, you can use the GET users/show endpoint, as follows:
$ twurl -H api.twitter.com "/1.1/users/show.json?screen_name=apimctestface"
{
"id": 756201191646691328,
"id_str": "756201191646691328",
"name": "API McTestface",
"screen_name": "apimctestface",
"location": "San Francisco, CA",
"profile_location": {
"id": "5a110d312052166f",
"url": "https://api.twitter.com/1.1/geo/id/5a110d312052166f.json",
"place_type": "unknown",
"name": "San Francisco, CA",
"full_name": "San Francisco, CA",
"country_code": "",
"country": "",
"contained_within": [],
"bounding_box": null,
"attributes": {}
},
"description": "Into testing and APIs",
"url": null,
"entities": {
"description": {
"urls": []
}
},
"protected": false,
"followers_count": 2,
"friends_count": 0,
"listed_count": 0,
"created_at": "Thu Jul 21 18:56:28 +0000 2016",
"favourites_count": 0,
"utc_offset": null,
"time_zone": null,
"geo_enabled": false,
"verified": false,
"statuses_count": 3,
"lang": "en",
...,
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "000000",
"profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png",
"profile_background_tile": false,
"profile_image_url": "http://pbs.twimg.com/profile_images/756348317458509825/DTKcRCpS_normal.jpg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/756348317458509825/DTKcRCpS_normal.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/756201191646691328/1469162431",
"profile_link_color": "000000",
"profile_sidebar_border_color": "000000",
"profile_sidebar_fill_color": "000000",
"profile_text_color": "000000",
"profile_use_background_image": false,
"has_extended_profile": true,
"default_profile": false,
"default_profile_image": false,
"following": true,
"follow_request_sent": false,
"notifications": false,
"translator_type": "none"
}
The id_str is the user ID.