Returns a list of users who recently visited the specified user's profile. Entries with a value of null in the user_id attribute indicate anonymous (non-XING) users (e.g. resulting from Google searches).

If the user is a basic member, only the photo_urls, reason, visited_at and visited_at_encrypted fields will be available. The remaining fields will be null.

Parameters

Parameter Description
user_id required

ID of the user whose profile visits are to be returned

limit optional

Restricts the number of profile visits to be returned. This must be a positive number. Default: 10

offset optional

Offset. This must be a positive number. Default: 0

since optional

Only returns visits more recent than the specified time stamp (ISO 8601). You can also pass the value of the visited_at_encrypted field of a visit to see all visits that were more recent than this one.

strip_html optional

Specifies whether the profile visit reason should be stripped of HTML (true) or not (false). The default value is false. Other values also default to false.

API Explorer

You need to have a developer account to try a Call.

An unexpected error occured. Please try again!

GET Example response

https://api.xing.com/v1/users/65029_30fc24/visits
{
  "visits": [
    {
      "company_name": null,
      "visited_at_encrypted": "_Dx76Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK6lMs=",
      "reason": {
        "text": "<b>Google:</b> Search for \"hendrik mans\""
      },
      "user_id": null,
      "photo_urls": {
      },
      "display_name": null,
      "visited_at": "2011-01-16"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_Vu76Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK6lgs=",
      "reason": {
        "text": "Click on own contacts/bookmarks"
      },
      "user_id": "6372502_bbf7d2",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Mark Schmidt",
      "visited_at": "2011-01-14"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_NMB6Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK68Hg=",
      "reason": {
        "text": "Click on contact path to <a href=\"https://www.xing.com/profile/Maria_Mueller/N7.04c521\">Maria Müller</a>"
      },
      "user_id": "30551_c7facd",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Mark Schmidt",
      "visited_at": "2011-01-14"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_GhT3Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nKJJ52=",
      "reason": {
        "text": "Search for interests, city"
      },
      "user_id": "3205259_e868c1",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Matthias Männich",
      "visited_at": "2011-01-13"
    }
  ]
}
{
  "visits": [
    {
      "company_name": null,
      "visited_at_encrypted": "_Dx76Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK6lMs=",
      "reason": {
        "text": "<b>Google:</b> Search for \"hendrik mans\""
      },
      "user_id": null,
      "photo_urls": {
      },
      "display_name": null,
      "visited_at": "2011-01-16"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_Vu76Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK6lgs=",
      "reason": {
        "text": "Click on own contacts/bookmarks"
      },
      "user_id": "6372502_bbf7d2",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Mark Schmidt",
      "visited_at": "2011-01-14"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_NMB6Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nK68Hg=",
      "reason": {
        "text": "Click on contact path to <a href=\"https://www.xing.com/profile/Maria_Mueller/N7.04c521\">Maria Müller</a>"
      },
      "user_id": "30551_c7facd",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Mark Schmidt",
      "visited_at": "2011-01-14"
    },
    {
      "company_name": "XING AG",
      "visited_at_encrypted": "_GhT3Lr1lyqtubPe+TvRzKAHFmxgM34cii57r0nKJJ52=",
      "reason": {
        "text": "Search for interests, city"
      },
      "user_id": "3205259_e868c1",
      "photo_urls": {
        "large": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666.jpg",
        "mini_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s1.jpg",
        "thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s2.jpg",
        "medium_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s4.jpg",
        "maxi_thumb": "https://x1.xingassets.com/img/users/8/a/e/6a71d7eb9.6666666_s3.jpg"
      },
      "display_name": "Matthias Männich",
      "visited_at": "2011-01-13"
    }
  ]
}