Skip to content

Get Profile Comments

James Hilton-Balfe edited this page Aug 15, 2021 · 2 revisions

GET /comment/Profile/render/:steamid

Rate limits

No known rate limit

Request

Authenticated: No

Method: GET

Host: steamcommunity.com

Path: /comment/Profile/render/:steamid

Query Parameters:

Name Type Required Description
start number No The starting comment to use for pagination.
totalcount number No TODO
count number No The total number of comments to return.

Response

200 OK

Name Type Description
success boolean Whether or not the request succeeded
name string The name of the section, combines "Profile_" with the :steamid
start number The starting number of the page
pagesize number The size of the page
total_count number The total number of comments
upvotes number The number of upvotes the comments section has, always 0
has_upvoted number TODO
comments_html string The entirety of the comments section
timelastpost number The UNIX time that the last comment was posted at

Example

GET https://steamcommunity.com/comment/Profile/render/76561198248053954
{
    "success": true,
    "name": "Profile_76561198248053954",
    "start": 0,
    "pagesize": 10,
    "total_count": 36,
    "upvotes": 0,
    "has_upvoted": 0,
    "comments_html": "\t\t\r\n\t\r\n\t<div class=\"commentthread_comment responsive_body_text   \" id=\"comment_3104637814597988767\" style=\"\">\r\n\t\t\t\t<div class=\"commentthread_comment_avatar playerAvatar offline\">\r\n\t\t\t\t\t\t<a href=\"https:\/\/steamcommunity.com\/id\/aethez\" data-miniprofile=\"442990671\">\r\n\t\t\t\t\t\t\t\t\t<img src=\"https:\/\/cdn.cloudflare.steamstatic.com\/steamcommunity\/public\/images\/avatars\/96\/96740adfc230bdaf2008f954ea8d943b1f3fc37a.jpg\" srcset=\"https:\/\/cdn.cloudflare.steamstatic.com\/steamcommunity\/public\/images\/avatars\/96\/96740adfc230bdaf2008f954ea8d943b1f3fc37a.jpg 1x, https:\/\/cdn.cloudflare.steamstatic.com\/steamcommunity\/public\/images\/avatars\/96\/96740adfc230bdaf2008f954ea8d943b1f3fc37a_medium.jpg 2x\">\t\t\t\t\t\t\t<\/a>\r\n\t\t<\/div>\r\n\t\t<div class=\"commentthread_comment_content\">\r\n\t\t\t<div class=\"commentthread_comment_author\">\r\n\t\t\t\t<a class=\"hoverunderline commentthread_author_link\" href=\"https:\/\/steamcommunity.com\/id\/aethez\"  data-miniprofile=\"442990671\">\r\n\t\t\t\t\t<bdi>aethez<\/bdi><\/a>\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<span class=\"commentthread_comment_timestamp\" title=\"30 January, 2021 @ 2:43:31 pm BST\" data-timestamp=\"1612017811\">\r\n\t\t\t\t\t30 Jan @ 2:43pm&nbsp;\r\n\t\t\t\t<\/span>\r\n\t\t\t\t\t\t\t\t<div class=\"commentthread_comment_actions\" >\r\n\t\t\t\t\t<a class=\"actionlink\" data-tooltip-text=\"Delete\" href=\"javascript:CCommentThread.DeleteComment( 'Profile_76561198248053954', '3104637814597988767'  );\"><img src=\"https:\/\/community.cloudflare.steamstatic.com\/public\/images\/skin_1\/notification_icon_trash_bright.png?v=1\" ><\/a>\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\t\t\t<div class=\"commentthread_comment_text\" id=\"comment_content_3104637814597988767\">\r\n\t\t\t\thello\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n",
    "timelastpost": 1612017811
}
Clone this wiki locally