Skip to main content
GET
/
twitter
Get Twitter profile
curl --request GET \
  --url https://api.memoryproto.co/twitter \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "1732464385174761474",
    "username": "memoryprotocol",
    "displayName": "Memory",
    "followersCount": 1659,
    "followingCount": 414,
    "postsCount": 642,
    "creationDate": "Wed Dec 06 18:18:03 +0000 2023",
    "avatarUrl": "https://pbs.twimg.com/profile_images/1912179219758485514/WIKNnlqA_400x400.jpg",
    "externalUrl": "http://memoryproto.co",
    "location": "",
    "bio": "Where your digital identity can move across the internet  ☁︎",
    "farcaster": {
      "id": "244819",
      "username": "memoryprotocol.eth",
      "displayName": "Memory",
      "followersCount": 929,
      "followingCount": 73,
      "avatarUrl": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/931fd467-68f8-4146-9487-a9017c0f6700/rectcrop3",
      "location": "",
      "bio": "The internet forgets you. Memory doesn’t."
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Use an authorization token prefixed with Bearer. You can get your API key at https://memoryproto.co/dashboard.

Example:

"Bearer mem_xxx"

Query Parameters

username
string
required

Twitter username of the user. For example, MemoryProtocol or factory__fm.

Minimum length: 1
Examples:

"MemoryProtocol"

"factory__fm"

Response

Successful response containing the Twitter profile.

data
object
required

Twitter profile of the account.

Example:
{
"id": "1732464385174761474",
"username": "memoryprotocol",
"displayName": "Memory",
"followersCount": 1659,
"followingCount": 414,
"postsCount": 642,
"creationDate": "Wed Dec 06 18:18:03 +0000 2023",
"avatarUrl": "https://pbs.twimg.com/profile_images/1912179219758485514/WIKNnlqA_400x400.jpg",
"externalUrl": "http://memoryproto.co",
"location": "",
"bio": "Where your digital identity can move across the internet ☁︎",
"farcaster": {
"id": "244819",
"username": "memoryprotocol.eth",
"displayName": "Memory",
"followersCount": 929,
"followingCount": 73,
"avatarUrl": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/931fd467-68f8-4146-9487-a9017c0f6700/rectcrop3",
"location": "",
"bio": "The internet forgets you. Memory doesn’t."
}
}
I