TwitterProfilePic

Get a twitter profile pic using a given handle

Features


HTML

Code:

<img src="https://twitter-profile-pic.cluster.fun/marcus_noble_?size=200x200" />
      
Result:

JSON

cURL Request:

curl -X GET \
  https://twitter-profile-pic.cluster.fun/marcus_noble_ \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json'
      
Result:

{
    "normal": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_normal.jpg",
    "bigger": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_bigger.jpg",
    "mini": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_mini.jpg",
    "original": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA.jpg",
    "200x200": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_200x200.jpg",
    "400x400": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_400x400.jpg"
}
      

Source code available on GitHub, GitLab, Bitbucket & my own Gitea server.