Skip to main content
GET
https://api.ayrshare.com/api
/
user
/
lookups
User Lookups
curl --request GET \
  --url https://api.ayrshare.com/api/user/lookups \
  --header 'Authorization: Bearer <token>'
{
    "x": [
        {
            "userId": "1322691",
            "userName": "neilpatel",
            "name": "Neil Patel"
        },
        {
            "userId": "20536157",
            "userName": "Google",
            "name": "Google"
        }
    ]
}
Available on plan.
Retrieve the users (handles) looked up for the current month. Users tracked when using the userId or userName fields for the analytics or history endpoints. Note: Requires the X add on. Please contact your account manager for details.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
{
    "x": [
        {
            "userId": "1322691",
            "userName": "neilpatel",
            "name": "Neil Patel"
        },
        {
            "userId": "20536157",
            "userName": "Google",
            "name": "Google"
        }
    ]
}