I am looking to compile a list of URLs and associated Twitter usernames. Is there an API that you can provide a URL to and it would return a Twitter username?

Clearbit has an API for sending a URL and getting a logo in return. https://clearbit.com/

Was wondering if anyone knew of a similar API for Twitter handles.

  • can you clarify what kind of url your referring to? there is an api - but I am unclear if your referring to a twitter url or a company website etc Commented Jan 13, 2016 at 4:48

1 Answer 1


You are looking for GET users/show

This returns a variety of information about the user specified by the required user_id or screen_name parameter.

GET users / lookup is used to retrieve a bulk collection of user objects.

Resource URL:

  • Sorry if it wasn't clear, I don't know the user_id or screen_name. I have a URL and I want to get the screen_name. Commented Jan 13, 2016 at 23:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.