Stack Overflow API
Returns Stack Exchange questions, answers, comments and tags, with search and tag filtering across sites.
View as Markdown| GET | /stackoverflow/search | Questions that match a search, 20 per page. |
| GET | /stackoverflow/question | One question with its body and its 10 best-voted answers. |
| GET | /stackoverflow/questions | Questions of one site, optionally with every tag given in tagged (semicolon-separated), 20 per page. |
| GET | /stackoverflow/answers | All answers of one question with their bodies, 20 per page, best voted first by default. |
| GET | /stackoverflow/comments | Comments on one post, a question or an answer, by id, 20 per page, oldest first. |
| GET | /stackoverflow/tags | Tags of one site, most used first, or those whose name contains inname. 20 per page. |
| GET | /stackoverflow/tag | One tag of a site: how many questions carry it and whether it has synonyms. |
| GET | /stackoverflow/tagWiki | The wiki of one tag: what it is for, as its short excerpt and its full body. |
| GET | /stackoverflow/user | One user of a site by user id: reputation, location, badge counts and dates. |
| GET | /stackoverflow/userSearch | Users of one site whose display name contains query, 20 per page. |
| GET | /stackoverflow/userQuestions | Questions one user has asked, most recently active first, 20 per page. |
| GET | /stackoverflow/userAnswers | Answers one user has posted, newest first, 20 per page. |
| GET | /stackoverflow/userBadges | Badges one user has earned on a site, 20 per page. |
| GET | /stackoverflow/userTags | The tags one user has posted most under on a site, most posts first, 20 per page. |
| GET | /stackoverflow/relatedQuestions | Questions related to one question, as Stack Overflow's related panel lists them, 20 per page. |
| GET | /stackoverflow/answer | One answer by its id, with its body, score and author; the answer id is the number in an answer's link. |
| GET | /stackoverflow/sites | The Stack Exchange sites, with the site parameter each one takes in the other endpoints, 30 per page. |
search
/v1/stackoverflow/searchQuestions that match a search, 20 per page.
Parameters
querystring required | Search terms. e.g. golang goroutine |
sortstring | Order of the results.relevanceactivityvotescreationdefault relevance |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptedAnswerId | string |
answerCount | integer (int64) |
author | string |
body | string |
createdAt | string |
id | string |
isAnswered | boolean |
lastActivityAt | string |
score | integer (int64) |
tags | TagRef[] |
name | string |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/search?query=golang+goroutine" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/search?query=golang+goroutine", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/search?query=golang+goroutine", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "acceptedAnswerId": "", "answerCount": 2, "author": "Alexniver", "body": "", "createdAt": "2016-05-27T05:27:34Z", "id": "37475471", "isAnswered": true, "lastActivityAt": "2017-12-05T07:14:10Z", "score": 2, "tags": [ { "name": "java" }, { "name": "multithreading" } ], "title": "Why I test golang goroutine slow than java Thread", "url": "https://stackoverflow.com/questions/37475471/why-i-test-golang-goroutine-slow-than-java-thread", "viewCount": 2719 }, { "acceptedAnswerId": "", "answerCount": 0, "author": "toozyfuzzy", "body": "", "createdAt": "2024-04-19T11:23:18Z", "id": "78353303", "isAnswered": false, "lastActivityAt": "2024-06-11T04:28:16Z", "score": 14, "tags": [ { "name": "go" }, { "name": "assembly" } ], "title": "Golang goroutine preemption", "url": "https://stackoverflow.com/questions/78353303/golang-goroutine-preemption", "viewCount": 851 } ], "meta": { "cached": false, "endpoint": "search", "fetchedAt": "2026-11-06T09:41:00Z", "pagination": { "nextCursor": "EpcDEgV…", "hasMore": true, "total": null }, "platform": "stackoverflow", "requestId": "req_2Xb9kQ…", "units": 1 } }
question
/v1/stackoverflow/questionOne question with its body and its 10 best-voted answers.
Parameters
idstring required | Question id or stackoverflow.com question URL. e.g. 11227809 |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptedAnswerId | string |
answerCount | integer (int64) |
answers | Answer[] |
author | string |
body | string |
createdAt | string |
id | string |
isAccepted | boolean |
score | integer (int64) |
author | string |
body | string |
createdAt | string |
id | string |
isAnswered | boolean |
lastActivityAt | string |
score | integer (int64) |
tags | TagRef[] |
name | string |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/question?id=11227809" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/question?id=11227809", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/question?id=11227809", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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] >= 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
/v1/stackoverflow/questionsQuestions of one site, optionally with every tag given in tagged (semicolon-separated), 20 per page.
Parameters
taggedstring | Tags every question must have, separated by semicolons, such as go;concurrency. e.g. go |
sortstring | Order of the results.activityvotescreationhotweekmonthdefault activity |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptedAnswerId | string |
answerCount | integer (int64) |
author | string |
body | string |
createdAt | string |
id | string |
isAnswered | boolean |
lastActivityAt | string |
score | integer (int64) |
tags | TagRef[] |
name | string |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/questions?tagged=go" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/questions?tagged=go", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/questions?tagged=go", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/answersAll answers of one question with their bodies, 20 per page, best voted first by default.
Parameters
idstring required | Question id or stackoverflow.com question URL. e.g. 11227809 |
sortstring | Order of the answers.activityvotescreationdefault votes |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
author | string |
body | string |
createdAt | string |
id | string |
isAccepted | boolean |
score | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/answers?id=11227809" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/answers?id=11227809", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/answers?id=11227809", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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] >= 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
/v1/stackoverflow/commentsComments on one post, a question or an answer, by id, 20 per page, oldest first.
Parameters
idstring required | Post id: a question id or an answer id. e.g. 11227809 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
author | string |
body | string |
createdAt | string |
id | string |
postId | string |
score | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/comments?id=11227809" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/comments?id=11227809", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/comments?id=11227809", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": [ { "author": "Šimon Hrabec", "body": "Another observation is that you don'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ölker", "body": "@screwnut here'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
/v1/stackoverflow/tagsTags of one site, most used first, or those whose name contains inname. 20 per page.
Parameters
innamestring | Text the tag name must contain, such as java. |
sortstring | popular, activity or name.popularactivitynamedefault popular |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
count | integer (int64) |
hasSynonyms | boolean |
isModeratorOnly | boolean |
isRequired | boolean |
name | string |
curl "https://api.hoshime.com/v1/stackoverflow/tags" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/tags", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/tags", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/tagOne tag of a site: how many questions carry it and whether it has synonyms.
Parameters
tagstring required | Tag name, such as go or python-3.x. e.g. go |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
count | integer (int64) |
hasSynonyms | boolean |
isModeratorOnly | boolean |
isRequired | boolean |
name | string |
curl "https://api.hoshime.com/v1/stackoverflow/tag?tag=go" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/tag?tag=go", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/tag?tag=go", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/tagWikiThe wiki of one tag: what it is for, as its short excerpt and its full body.
Parameters
tagstring required | Tag name, such as python. e.g. python |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
body | string |
excerpt | string |
tag | string |
curl "https://api.hoshime.com/v1/stackoverflow/tagWiki?tag=python" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/tagWiki?tag=python", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/tagWiki?tag=python", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "body": "…", "excerpt": "…", "tag": "…" }, "meta": { "cached": false, "endpoint": "tagWiki", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "stackoverflow", "requestId": "req_2Xb9kQ…", "units": 1 } }
user
/v1/stackoverflow/userOne user of a site by user id: reputation, location, badge counts and dates.
Parameters
idstring required | User id, such as 22656. e.g. 22656 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptRate | integer (int64) |
badgeBronze | integer (int64) |
badgeGold | integer (int64) |
badgeSilver | integer (int64) |
createdAt | string |
displayName | string |
id | string |
lastAccessAt | string |
link | string |
location | string |
profileImage | string |
reputation | integer (int64) |
websiteUrl | string |
curl "https://api.hoshime.com/v1/stackoverflow/user?id=22656" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/user?id=22656", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/user?id=22656", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/userSearchUsers of one site whose display name contains query, 20 per page.
Parameters
querystring required | Text the display name must contain. e.g. Jon Skeet |
sortstring | Order of the results.reputationcreationnamemodifieddefault reputation |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptRate | integer (int64) |
badgeBronze | integer (int64) |
badgeGold | integer (int64) |
badgeSilver | integer (int64) |
createdAt | string |
displayName | string |
id | string |
lastAccessAt | string |
link | string |
location | string |
profileImage | string |
reputation | integer (int64) |
websiteUrl | string |
curl "https://api.hoshime.com/v1/stackoverflow/userSearch?query=Jon+Skeet" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/userSearch?query=Jon+Skeet", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/userSearch?query=Jon+Skeet", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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'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
/v1/stackoverflow/userQuestionsQuestions one user has asked, most recently active first, 20 per page.
Parameters
idstring required | User id, such as 22656. e.g. 22656 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
acceptedAnswerId | string |
answerCount | integer (int64) |
author | string |
body | string |
createdAt | string |
id | string |
isAnswered | boolean |
lastActivityAt | string |
score | integer (int64) |
tags | TagRef[] |
name | string |
title | string |
url | string |
viewCount | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/userQuestions?id=22656" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/userQuestions?id=22656", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/userQuestions?id=22656", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/userAnswersAnswers one user has posted, newest first, 20 per page.
Parameters
idstring required | User id, such as 22656. e.g. 22656 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
author | string |
body | string |
createdAt | string |
id | string |
isAccepted | boolean |
score | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/userAnswers?id=22656" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/userAnswers?id=22656", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/userAnswers?id=22656", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/userBadgesBadges one user has earned on a site, 20 per page.
Parameters
idstring required | User id, such as 22656. e.g. 22656 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
awardCount | integer (int64) |
id | string |
name | string |
rank | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/stackoverflow/userBadges?id=22656" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/userBadges?id=22656", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/userBadges?id=22656", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/userTagsThe tags one user has posted most under on a site, most posts first, 20 per page.
Parameters
idstring required | User id, such as 22656. e.g. 22656 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
count | integer (int64) |
name | string |
curl "https://api.hoshime.com/v1/stackoverflow/userTags?id=22656" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/userTags?id=22656", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/userTags?id=22656", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }
answer
/v1/stackoverflow/answerOne answer by its id, with its body, score and author; the answer id is the number in an answer's link.
Parameters
idstring required | Answer id, such as 11227902. e.g. 11227902 |
sitestring | Site parameter, such as stackoverflow or superuser. Default stackoverflow. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
author | string |
body | string |
createdAt | string |
id | string |
isAccepted | boolean |
score | integer (int64) |
curl "https://api.hoshime.com/v1/stackoverflow/answer?id=11227902" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/answer?id=11227902", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/answer?id=11227902", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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
/v1/stackoverflow/sitesThe Stack Exchange sites, with the site parameter each one takes in the other endpoints, 30 per page.
Parameters
cursorstring | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
tunnelstring | 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. |
proxystring | 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. |
profileIdstring | 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
apiSiteParameter | string |
audience | string |
launchedAt | string |
name | string |
siteType | string |
siteUrl | string |
curl "https://api.hoshime.com/v1/stackoverflow/sites" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/stackoverflow/sites", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/stackoverflow/sites", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "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 } }