Skip to content

Stack Overflow API

17 endpointsDeveloper & TechGlobalsocial:read13 real examples

Returns Stack Exchange questions, answers, comments and tags, with search and tag filtering across sites.

View as Markdown
GET/stackoverflow/searchQuestions that match a search, 20 per page.
GET/stackoverflow/questionOne question with its body and its 10 best-voted answers.
GET/stackoverflow/questionsQuestions of one site, optionally with every tag given in tagged (semicolon-separated), 20 per page.
GET/stackoverflow/answersAll answers of one question with their bodies, 20 per page, best voted first by default.
GET/stackoverflow/commentsComments on one post, a question or an answer, by id, 20 per page, oldest first.
GET/stackoverflow/tagsTags of one site, most used first, or those whose name contains inname. 20 per page.
GET/stackoverflow/tagOne tag of a site: how many questions carry it and whether it has synonyms.
GET/stackoverflow/tagWikiThe wiki of one tag: what it is for, as its short excerpt and its full body.
GET/stackoverflow/userOne user of a site by user id: reputation, location, badge counts and dates.
GET/stackoverflow/userSearchUsers of one site whose display name contains query, 20 per page.
GET/stackoverflow/userQuestionsQuestions one user has asked, most recently active first, 20 per page.
GET/stackoverflow/userAnswersAnswers one user has posted, newest first, 20 per page.
GET/stackoverflow/userBadgesBadges one user has earned on a site, 20 per page.
GET/stackoverflow/userTagsThe tags one user has posted most under on a site, most posts first, 20 per page.
GET/stackoverflow/relatedQuestionsQuestions related to one question, as Stack Overflow's related panel lists them, 20 per page.
GET/stackoverflow/answerOne answer by its id, with its body, score and author; the answer id is the number in an answer's link.
GET/stackoverflow/sitesThe Stack Exchange sites, with the site parameter each one takes in the other endpoints, 30 per page.

question

GET/v1/stackoverflow/question

One question with its body and its 10 best-voted answers.

scope social:read1 unitcached 30 min

Parameters

id
string
required
Question id or stackoverflow.com question URL.
e.g. 11227809
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

21 fields
acceptedAnswerIdstring
answerCountinteger (int64)
answersAnswer[]
authorstring
bodystring
createdAtstring
idstring
isAcceptedboolean
scoreinteger (int64)
authorstring
bodystring
createdAtstring
idstring
isAnsweredboolean
lastActivityAtstring
scoreinteger (int64)
tagsTagRef[]
namestring
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/question?id=11227809" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "acceptedAnswerId": "11227902",
    "answerCount": 25,
    "answers": [
      {
        "author": "Mysticial",
        "body": "<p><strong>You are a victim of <a href=\"https://en.wikipedia.org/wiki/Branch_predictor\" rel=\"noreferrer\">branch prediction</a> fail.</strong…",
        "createdAt": "2012-06-27T13:56:42Z",
        "id": "11227902",
        "isAccepted": true,
        "score": 35297
      },
      {
        "author": "Daniel Fischer",
        "body": "<p><strong>Branch prediction.</strong></p>\n<p>With a sorted array, the condition <code>data[c] &gt;= 128</code> is first <code>false</code> …",
        "createdAt": "2012-06-27T13:54:45Z",
        "id": "11227877",
        "isAccepted": false,
        "score": 4767
      }
    ],
    "author": "GManNickG",
    "body": "<p>In this C++ code, sorting the data (<em>before</em> the timed region) makes the primary loop ~6x faster:</p>\n<pre class=\"lang-cpp prettyp…",
    "createdAt": "2012-06-27T13:51:36Z",
    "id": "11227809",
    "isAnswered": true,
    "lastActivityAt": "2026-09-04T02:36:50Z",
    "score": 27548,
    "tags": [
      {
        "name": "java"
      },
      {
        "name": "c++"
      }
    ],
    "title": "Why is conditional processing of a sorted array faster than of an unsorted array?",
    "url": "https://stackoverflow.com/questions/11227809/why-is-conditional-processing-of-a-sorted-array-faster-than-of-an-unsorted-array",
    "viewCount": 2019927
  },
  "meta": {
    "cached": false,
    "endpoint": "question",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

questions

GET/v1/stackoverflow/questions

Questions of one site, optionally with every tag given in tagged (semicolon-separated), 20 per page.

scope social:read1 unitcached 10 minpaginated

Parameters

tagged
string
Tags every question must have, separated by semicolons, such as go;concurrency.
e.g. go
sort
string
Order of the results.
activityvotescreationhotweekmonth
default activity
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
acceptedAnswerIdstring
answerCountinteger (int64)
authorstring
bodystring
createdAtstring
idstring
isAnsweredboolean
lastActivityAtstring
scoreinteger (int64)
tagsTagRef[]
namestring
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/questions?tagged=go" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "acceptedAnswerId": "62766687",
      "answerCount": 2,
      "author": "godvlpr",
      "body": "",
      "createdAt": "2020-07-07T00:52:53Z",
      "id": "62766528",
      "isAnswered": true,
      "lastActivityAt": "2026-11-05T18:01:10Z",
      "score": 6,
      "tags": [
        {
          "name": "docker"
        },
        {
          "name": "go"
        }
      ],
      "title": "Cannot start service app: OCI runtime create failed: container_linux.go:349",
      "url": "https://stackoverflow.com/questions/62766528/cannot-start-service-app-oci-runtime-create-failed-container-linux-go349",
      "viewCount": 14397
    },
    {
      "acceptedAnswerId": "1815633",
      "answerCount": 14,
      "author": "Bite code",
      "body": "",
      "createdAt": "2009-11-29T14:02:39Z",
      "id": "1815613",
      "isAnswered": true,
      "lastActivityAt": "2026-11-05T16:11:02Z",
      "score": 29,
      "tags": [
        {
          "name": "c++"
        },
        {
          "name": "go"
        }
      ],
      "title": "What next generation low level language is the best bet when migrating a code base?",
      "url": "https://stackoverflow.com/questions/1815613/what-next-generation-low-level-language-is-the-best-bet-when-migrating-a-code-ba",
      "viewCount": 9223
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "questions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

answers

GET/v1/stackoverflow/answers

All answers of one question with their bodies, 20 per page, best voted first by default.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
Question id or stackoverflow.com question URL.
e.g. 11227809
sort
string
Order of the answers.
activityvotescreation
default votes
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorstring
bodystring
createdAtstring
idstring
isAcceptedboolean
scoreinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/answers?id=11227809" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": "Mysticial",
      "body": "<p><strong>You are a victim of <a href=\"https://en.wikipedia.org/wiki/Branch_predictor\" rel=\"noreferrer\">branch prediction</a> fail.</strong…",
      "createdAt": "2012-06-27T13:56:42Z",
      "id": "11227902",
      "isAccepted": true,
      "score": 35297
    },
    {
      "author": "Daniel Fischer",
      "body": "<p><strong>Branch prediction.</strong></p>\n<p>With a sorted array, the condition <code>data[c] &gt;= 128</code> is first <code>false</code> …",
      "createdAt": "2012-06-27T13:54:45Z",
      "id": "11227877",
      "isAccepted": false,
      "score": 4767
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "answers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

comments

GET/v1/stackoverflow/comments

Comments on one post, a question or an answer, by id, 20 per page, oldest first.

scope social:read1 unitcached 10 minpaginated

Parameters

id
string
required
Post id: a question id or an answer id.
e.g. 11227809
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorstring
bodystring
createdAtstring
idstring
postIdstring
scoreinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/comments?id=11227809" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": "Šimon Hrabec",
      "body": "Another observation is that you don&#39;t need to sort the array, but you just need to partition it with the value 128. Sorting is n*log(n),…",
      "createdAt": "2018-05-11T12:45:08Z",
      "id": "87601479",
      "postId": "11227809",
      "score": 169
    },
    {
      "author": "Jonas K&#246;lker",
      "body": "@screwnut here&#39;s an experiment which would show that partitioning is sufficient: create an unsorted but partitioned array with otherwise…",
      "createdAt": "2020-10-05T08:26:16Z",
      "id": "113534273",
      "postId": "11227809",
      "score": 70
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "comments",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tags

GET/v1/stackoverflow/tags

Tags of one site, most used first, or those whose name contains inname. 20 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

inname
string
Text the tag name must contain, such as java.
sort
string
popular, activity or name.
popularactivityname
default popular
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
countinteger (int64)
hasSynonymsboolean
isModeratorOnlyboolean
isRequiredboolean
namestring
curl "https://api.hoshime.com/v1/stackoverflow/tags" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "count": 2521467,
      "hasSynonyms": true,
      "isModeratorOnly": false,
      "isRequired": false,
      "name": "javascript"
    },
    {
      "count": 2204309,
      "hasSynonyms": true,
      "isModeratorOnly": false,
      "isRequired": false,
      "name": "python"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "tags",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tag

GET/v1/stackoverflow/tag

One tag of a site: how many questions carry it and whether it has synonyms.

scope social:read1 unitcached 1 h

Parameters

tag
string
required
Tag name, such as go or python-3.x.
e.g. go
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
countinteger (int64)
hasSynonymsboolean
isModeratorOnlyboolean
isRequiredboolean
namestring
curl "https://api.hoshime.com/v1/stackoverflow/tag?tag=go" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "count": 74452,
    "hasSynonyms": true,
    "isModeratorOnly": false,
    "isRequired": false,
    "name": "go"
  },
  "meta": {
    "cached": false,
    "endpoint": "tag",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

tagWiki

GET/v1/stackoverflow/tagWiki

The wiki of one tag: what it is for, as its short excerpt and its full body.

scope social:read1 unitcached 6 h

Parameters

tag
string
required
Tag name, such as python.
e.g. python
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
bodystring
excerptstring
tagstring
curl "https://api.hoshime.com/v1/stackoverflow/tagWiki?tag=python" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "body": "…",
    "excerpt": "…",
    "tag": "…"
  },
  "meta": {
    "cached": false,
    "endpoint": "tagWiki",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

user

GET/v1/stackoverflow/user

One user of a site by user id: reputation, location, badge counts and dates.

scope social:read1 unitcached 1 h

Parameters

id
string
required
User id, such as 22656.
e.g. 22656
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

13 fields
acceptRateinteger (int64)
badgeBronzeinteger (int64)
badgeGoldinteger (int64)
badgeSilverinteger (int64)
createdAtstring
displayNamestring
idstring
lastAccessAtstring
linkstring
locationstring
profileImagestring
reputationinteger (int64)
websiteUrlstring
curl "https://api.hoshime.com/v1/stackoverflow/user?id=22656" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "acceptRate": 86,
    "badgeBronze": 9364,
    "badgeGold": 895,
    "badgeSilver": 9325,
    "createdAt": "2008-09-26T12:05:05Z",
    "displayName": "Jon Skeet",
    "id": "22656",
    "lastAccessAt": "2026-11-06T17:09:01Z",
    "link": "https://stackoverflow.com/users/22656/jon-skeet",
    "location": "Reading, United Kingdom",
    "profileImage": "https://www.gravatar.com/avatar/6d8ebb117e8d83d74ea95fbdd0f87e13?s=256&d=identicon&r=PG",
    "reputation": 1530433,
    "websiteUrl": "http://csharpindepth.com"
  },
  "meta": {
    "cached": false,
    "endpoint": "user",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userSearch

GET/v1/stackoverflow/userSearch

Users of one site whose display name contains query, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

query
string
required
Text the display name must contain.
e.g. Jon Skeet
sort
string
Order of the results.
reputationcreationnamemodified
default reputation
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

13 fields
acceptRateinteger (int64)
badgeBronzeinteger (int64)
badgeGoldinteger (int64)
badgeSilverinteger (int64)
createdAtstring
displayNamestring
idstring
lastAccessAtstring
linkstring
locationstring
profileImagestring
reputationinteger (int64)
websiteUrlstring
curl "https://api.hoshime.com/v1/stackoverflow/userSearch?query=Jon+Skeet" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "acceptRate": 86,
      "badgeBronze": 9364,
      "badgeGold": 895,
      "badgeSilver": 9325,
      "createdAt": "2008-09-26T12:05:05Z",
      "displayName": "Jon Skeet",
      "id": "22656",
      "lastAccessAt": "2026-11-06T17:09:01Z",
      "link": "https://stackoverflow.com/users/22656/jon-skeet",
      "location": "Reading, United Kingdom",
      "profileImage": "https://www.gravatar.com/avatar/6d8ebb117e8d83d74ea95fbdd0f87e13?s=256&d=identicon&r=PG",
      "reputation": 1530433,
      "websiteUrl": "http://csharpindepth.com"
    },
    {
      "acceptRate": 40,
      "badgeBronze": 2,
      "badgeGold": 0,
      "badgeSilver": 0,
      "createdAt": "2014-12-08T16:37:44Z",
      "displayName": "Jon Skeet&#39;s mentor",
      "id": "4338144",
      "lastAccessAt": "2014-12-13T19:15:32Z",
      "link": "https://stackoverflow.com/users/4338144/jon-skeets-mentor",
      "location": "",
      "profileImage": "https://www.gravatar.com/avatar/6b28ba1a78a92b3529e457f746b134a3?s=256&d=identicon&r=PG&f=y&so-version=2",
      "reputation": 83,
      "websiteUrl": ""
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userSearch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userQuestions

GET/v1/stackoverflow/userQuestions

Questions one user has asked, most recently active first, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
User id, such as 22656.
e.g. 22656
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
acceptedAnswerIdstring
answerCountinteger (int64)
authorstring
bodystring
createdAtstring
idstring
isAnsweredboolean
lastActivityAtstring
scoreinteger (int64)
tagsTagRef[]
namestring
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/userQuestions?id=22656" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "acceptedAnswerId": "247623",
      "answerCount": 13,
      "author": "Jon Skeet",
      "body": "",
      "createdAt": "2008-10-29T17:09:40Z",
      "id": "247621",
      "isAnswered": true,
      "lastActivityAt": "2026-06-26T08:29:20Z",
      "score": 2926,
      "tags": [
        {
          "name": "c#"
        },
        {
          "name": ".net"
        }
      ],
      "title": "What are the correct version numbers for C#?",
      "url": "https://stackoverflow.com/questions/247621/what-are-the-correct-version-numbers-for-c",
      "viewCount": 449959
    },
    {
      "acceptedAnswerId": "79258812",
      "answerCount": 1,
      "author": "Jon Skeet",
      "body": "",
      "createdAt": "2024-12-06T17:12:05Z",
      "id": "79258811",
      "isAnswered": true,
      "lastActivityAt": "2024-12-15T18:37:48Z",
      "score": 6,
      "tags": [
        {
          "name": "plotly"
        },
        {
          "name": "plotly.js"
        }
      ],
      "title": "How can I use x0/dx in Plotly for a date-based x axis?",
      "url": "https://stackoverflow.com/questions/79258811/how-can-i-use-x0-dx-in-plotly-for-a-date-based-x-axis",
      "viewCount": 567
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userQuestions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userAnswers

GET/v1/stackoverflow/userAnswers

Answers one user has posted, newest first, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
User id, such as 22656.
e.g. 22656
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorstring
bodystring
createdAtstring
idstring
isAcceptedboolean
scoreinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/userAnswers?id=22656" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": "Jon Skeet",
      "body": "",
      "createdAt": "2026-10-21T18:09:25Z",
      "id": "80011660",
      "isAccepted": true,
      "score": 12
    },
    {
      "author": "Jon Skeet",
      "body": "",
      "createdAt": "2008-12-06T21:07:02Z",
      "id": "346772",
      "isAccepted": true,
      "score": 63
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userAnswers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userBadges

GET/v1/stackoverflow/userBadges

Badges one user has earned on a site, 20 per page.

scope social:read1 unitcached 1 hpaginated

Parameters

id
string
required
User id, such as 22656.
e.g. 22656
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
awardCountinteger (int64)
idstring
namestring
rankstring
typestring
urlstring
curl "https://api.hoshime.com/v1/stackoverflow/userBadges?id=22656" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "awardCount": 1,
      "id": "1921",
      "name": "parallel-processing",
      "rank": "bronze",
      "type": "tag_based",
      "url": "https://stackoverflow.com/badges/1921/parallel-processing"
    },
    {
      "awardCount": 1,
      "id": "3581",
      "name": "datetimeoffset",
      "rank": "bronze",
      "type": "tag_based",
      "url": "https://stackoverflow.com/badges/3581/datetimeoffset"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userBadges",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

userTags

GET/v1/stackoverflow/userTags

The tags one user has posted most under on a site, most posts first, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
User id, such as 22656.
e.g. 22656
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
countinteger (int64)
namestring
curl "https://api.hoshime.com/v1/stackoverflow/userTags?id=22656" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "count": 0,
      "name": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "userTags",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

relatedQuestions

GET/v1/stackoverflow/relatedQuestions

Questions related to one question, as Stack Overflow's related panel lists them, 20 per page.

scope social:read1 unitcached 30 minpaginated

Parameters

id
string
required
Question id or stackoverflow.com question URL.
e.g. 11227809
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

14 fields
acceptedAnswerIdstring
answerCountinteger (int64)
authorstring
bodystring
createdAtstring
idstring
isAnsweredboolean
lastActivityAtstring
scoreinteger (int64)
tagsTagRef[]
namestring
titlestring
urlstring
viewCountinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/relatedQuestions?id=11227809" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "acceptedAnswerId": "abc123",
      "answerCount": 1280,
      "author": "…",
      "body": "…",
      "createdAt": "2026-11-06T09:41:00Z",
      "id": "abc123",
      "isAnswered": false,
      "lastActivityAt": "2026-11-06T09:41:00Z",
      "score": 0,
      "tags": [
        {
          "name": null
        }
      ],
      "title": "…",
      "url": "https://…",
      "viewCount": 1280
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "relatedQuestions",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

answer

GET/v1/stackoverflow/answer

One answer by its id, with its body, score and author; the answer id is the number in an answer's link.

scope social:read1 unitcached 1 h

Parameters

id
string
required
Answer id, such as 11227902.
e.g. 11227902
site
string
Site parameter, such as stackoverflow or superuser. Default stackoverflow.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorstring
bodystring
createdAtstring
idstring
isAcceptedboolean
scoreinteger (int64)
curl "https://api.hoshime.com/v1/stackoverflow/answer?id=11227902" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "author": "…",
    "body": "…",
    "createdAt": "2026-11-06T09:41:00Z",
    "id": "abc123",
    "isAccepted": false,
    "score": 0
  },
  "meta": {
    "cached": false,
    "endpoint": "answer",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

sites

GET/v1/stackoverflow/sites

The Stack Exchange sites, with the site parameter each one takes in the other endpoints, 30 per page.

scope social:read1 unitcached 24 hpaginated

Parameters

cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
apiSiteParameterstring
audiencestring
launchedAtstring
namestring
siteTypestring
siteUrlstring
curl "https://api.hoshime.com/v1/stackoverflow/sites" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "apiSiteParameter": "stackoverflow",
      "audience": "professional and enthusiast programmers",
      "launchedAt": "2008-09-15T00:00:00Z",
      "name": "Stack Overflow",
      "siteType": "main_site",
      "siteUrl": "https://stackoverflow.com"
    },
    {
      "apiSiteParameter": "serverfault",
      "audience": "system and network administrators",
      "launchedAt": "2009-05-26T00:00:00Z",
      "name": "Server Fault",
      "siteType": "main_site",
      "siteUrl": "https://serverfault.com"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "sites",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "stackoverflow",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open