Skip to content

Hacker News Search API

12 endpointsDeveloper & TechGlobalsocial:read10 real examples

Returns Hacker News stories by relevance or date, single items, user profiles, front page stories and Show HN stories.

View as Markdown
GET/hnsearch/searchHacker News stories that match a query, most relevant first.
GET/hnsearch/searchByDateHacker News stories that match a query, newest first.
GET/hnsearch/itemOne Hacker News story or comment by its id, with its direct replies counted.
GET/hnsearch/userA Hacker News user by username.
GET/hnsearch/frontPageStories on the Hacker News front page right now, most popular first.
GET/hnsearch/showHNShow HN stories, most relevant first, or all of them without a query.
GET/hnsearch/askHNAsk HN stories, most relevant first, or all of them without a query.
GET/hnsearch/commentsHacker News comments that match a query, newest first; without a query, the newest comments.
GET/hnsearch/authorStoriesStories one account submitted, newest first.
GET/hnsearch/authorCommentsComments one account wrote, newest first.
GET/hnsearch/jobsJob posts on Hacker News, newest first, mostly the hiring posts of Y Combinator companies; a query filters them.
GET/hnsearch/repliesThe direct replies to one Hacker News story or comment, in the order the thread shows them; each reply counts its own replies.

searchByDate

GET/v1/hnsearch/searchByDate

Hacker News stories that match a query, newest first.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
required
Words to search for in story titles, URLs and text.
e.g. golang
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/searchByDate?query=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "netil"
      },
      "commentCount": 0,
      "hnUrl": "https://news.ycombinator.com/item?id=50378514",
      "id": "50378514",
      "imageUrl": "",
      "points": 1,
      "publishedAt": "2026-11-05T12:52:21Z",
      "source": "",
      "summary": "",
      "title": "Goyangi: Watch what Claude Code is doing, live",
      "url": "https://github.com/netil/goyangi"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "Onavo"
      },
      "commentCount": 0,
      "hnUrl": "https://news.ycombinator.com/item?id=50344510",
      "id": "50344510",
      "imageUrl": "",
      "points": 1,
      "publishedAt": "2026-11-02T22:03:31Z",
      "source": "",
      "summary": "",
      "title": "Vercel is adding Golang support to Next.js",
      "url": "https://twitter.com/timneutkens/status/2116204819279134824"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "searchByDate",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

item

GET/v1/hnsearch/item

One Hacker News story or comment by its id, with its direct replies counted.

scope social:read1 unitcached 10 min

Parameters

id
string
required
Item id, the number after item?id= in its URL.
e.g. 1
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
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
createdAtstring
idstring
pointsinteger (int64)
replyCountinteger (int64)
textstring
titlestring
typestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/item?id=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "author": {
      "avatarUrl": "",
      "id": "",
      "name": "",
      "url": "",
      "username": "pg"
    },
    "createdAt": "2006-10-09T18:21:51Z",
    "id": "1",
    "points": 57,
    "replyCount": 1,
    "text": "",
    "title": "Y Combinator",
    "type": "story",
    "url": "http://ycombinator.com"
  },
  "meta": {
    "cached": false,
    "endpoint": "item",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

user

GET/v1/hnsearch/user

A Hacker News user by username.

scope social:read1 unitcached 1 h

Parameters

username
string
required
Hacker News username, such as pg.
e.g. pg
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

12 fields
avatarUrlstring
biostring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
karmainteger (int64)
namestring
postCountinteger (int64)
urlstring
usernamestring
verifiedboolean
curl "https://api.hoshime.com/v1/hnsearch/user?username=pg" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "avatarUrl": "",
    "bio": "Bug fixer.",
    "createdAt": "",
    "followerCount": 0,
    "followingCount": 0,
    "id": "pg",
    "karma": 157316,
    "name": "",
    "postCount": 0,
    "url": "https://news.ycombinator.com/user?id=pg",
    "username": "pg",
    "verified": false
  },
  "meta": {
    "cached": false,
    "endpoint": "user",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

frontPage

GET/v1/hnsearch/frontPage

Stories on the Hacker News front page right now, most popular first.

scope social:read1 unitcached 1 minpaginated

Parameters

query
string
Words to match in the front page; omit it for the whole page.
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/frontPage" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "josemrb"
      },
      "commentCount": 707,
      "hnUrl": "https://news.ycombinator.com/item?id=50378228",
      "id": "50378228",
      "imageUrl": "",
      "points": 2887,
      "publishedAt": "2026-11-05T12:19:02Z",
      "source": "",
      "summary": "",
      "title": "sshole",
      "url": "https://sshhole.com"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "motoroco"
      },
      "commentCount": 468,
      "hnUrl": "https://news.ycombinator.com/item?id=50385272",
      "id": "50385272",
      "imageUrl": "",
      "points": 1495,
      "publishedAt": "2026-11-05T22:17:15Z",
      "source": "",
      "summary": "",
      "title": "Claude Code sends your email address to websites",
      "url": "https://github.com/anthropics/claude-code/issues/107757"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "frontPage",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

showHN

GET/v1/hnsearch/showHN

Show HN stories, most relevant first, or all of them without a query.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
Words to search for in Show HN stories. Omit it to list them.
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/showHN" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "olalonde"
      },
      "commentCount": 82,
      "hnUrl": "https://news.ycombinator.com/item?id=3742902",
      "id": "3742902",
      "imageUrl": "",
      "points": 3531,
      "publishedAt": "2012-03-23T00:40:39Z",
      "source": "",
      "summary": "",
      "title": "Show HN: This up votes itself",
      "url": "http://news.ycombinator.com/vote?for=3742902&dir=up&whence=%6e%65%77%65%73%74"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "keepamovin"
      },
      "commentCount": 965,
      "hnUrl": "https://news.ycombinator.com/item?id=46205632",
      "id": "46205632",
      "imageUrl": "",
      "points": 3346,
      "publishedAt": "2025-12-09T15:00:38Z",
      "source": "",
      "summary": "",
      "title": "Show HN: Gemini Pro 3 imagines the HN front page 10 years from now",
      "url": "https://dosaygo-studio.github.io/hn-front-page-2035/news"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "showHN",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

askHN

GET/v1/hnsearch/askHN

Ask HN stories, most relevant first, or all of them without a query.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
Words to search for in Ask HN stories. Omit it to list them.
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/askHN" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "SimingtonFCC"
      },
      "commentCount": 925,
      "hnUrl": "https://news.ycombinator.com/item?id=37392676",
      "id": "37392676",
      "imageUrl": "",
      "points": 3387,
      "publishedAt": "2023-09-05T15:07:21Z",
      "source": "",
      "summary": "",
      "title": "Ask HN: I’m an FCC Commissioner proposing regulation of IoT security updates",
      "url": ""
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "zachrip"
      },
      "commentCount": 473,
      "hnUrl": "https://news.ycombinator.com/item?id=22918980",
      "id": "22918980",
      "imageUrl": "",
      "points": 3270,
      "publishedAt": "2020-04-19T21:33:46Z",
      "source": "",
      "summary": "",
      "title": "Ask HN: I'm a software engineer going blind, how should I prepare?",
      "url": ""
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "askHN",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

comments

GET/v1/hnsearch/comments

Hacker News comments that match a query, newest first; without a query, the newest comments.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
Words to search for in comments. Omit it for the newest comments.
e.g. golang
limit
integer
Items per page, 1 to 50.
default 10
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

15 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
createdAtstring
hnUrlstring
idstring
likeCountinteger (int64)
parentIdstring
replyCountinteger (int64)
storyIdstring
storyTitlestring
textstring
curl "https://api.hoshime.com/v1/hnsearch/comments?query=golang" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "glennfiedler"
      },
      "createdAt": "2026-11-06T15:47:03Z",
      "hnUrl": "https://news.ycombinator.com/item?id=50393807",
      "id": "50393807",
      "likeCount": 0,
      "parentId": "50386404",
      "replyCount": 0,
      "storyId": "50366117",
      "storyTitle": "Ask HN: What's your current AI agentic setup?",
      "text": "I have some stuff inside nova-sprint that uses lisp sexpr to store issues, roadmaps and various things as primary structures. Basically, any…"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "Vaushite"
      },
      "createdAt": "2026-11-06T04:12:24Z",
      "hnUrl": "https://news.ycombinator.com/item?id=50388086",
      "id": "50388086",
      "likeCount": 0,
      "parentId": "50371745",
      "replyCount": 0,
      "storyId": "50369106",
      "storyTitle": "A new Go API for JSON",
      "text": "In Golang a nil value is semantically an empty container. You wouldn't want this translation in Java but in Golang it makes sense."
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "comments",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

authorStories

GET/v1/hnsearch/authorStories

Stories one account submitted, newest first.

scope social:read1 unitcached 5 minpaginated

Parameters

username
string
required
Hacker News username, such as pg.
e.g. pg
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/authorStories?username=pg" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "pg"
      },
      "commentCount": 209,
      "hnUrl": "https://news.ycombinator.com/item?id=37278345",
      "id": "37278345",
      "imageUrl": "",
      "points": 374,
      "publishedAt": "2023-08-27T00:51:13Z",
      "source": "",
      "summary": "",
      "title": "If you're interested in eye-tracking, I'm interested in funding you",
      "url": "https://twitter.com/paulg/status/1695596853864321055"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "pg"
      },
      "commentCount": 32,
      "hnUrl": "https://news.ycombinator.com/item?id=35172415",
      "id": "35172415",
      "imageUrl": "",
      "points": 142,
      "publishedAt": "2023-03-15T18:11:16Z",
      "source": "",
      "summary": "",
      "title": "The Social Radars: Conversations with Startup Founders",
      "url": "https://www.thesocialradars.com"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "authorStories",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

authorComments

GET/v1/hnsearch/authorComments

Comments one account wrote, newest first.

scope social:read1 unitcached 5 minpaginated

Parameters

username
string
required
Hacker News username, such as pg.
e.g. pg
limit
integer
Items per page, 1 to 50.
default 10
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

15 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
createdAtstring
hnUrlstring
idstring
likeCountinteger (int64)
parentIdstring
replyCountinteger (int64)
storyIdstring
storyTitlestring
textstring
curl "https://api.hoshime.com/v1/hnsearch/authorComments?username=pg" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "pg"
      },
      "createdAt": "2024-03-11T12:57:11Z",
      "hnUrl": "https://news.ycombinator.com/item?id=39667625",
      "id": "39667625",
      "likeCount": 0,
      "parentId": "39662907",
      "replyCount": 0,
      "storyId": "39662615",
      "storyTitle": "The Best Essay",
      "text": "In earlier drafts I wrote "the existence of some set of best\nessays follows necessarily" but it sounded so pedantic that it didn&#…"
    },
    {
      "author": {
        "avatarUrl": "",
        "id": "",
        "name": "",
        "url": "",
        "username": "pg"
      },
      "createdAt": "2023-08-27T01:29:42Z",
      "hnUrl": "https://news.ycombinator.com/item?id=37278578",
      "id": "37278578",
      "likeCount": 0,
      "parentId": "37278549",
      "replyCount": 0,
      "storyId": "37278345",
      "storyTitle": "If you're interested in eye-tracking, I'm interested in funding you",
      "text": "It's not available yet. And in any case if this is the future there should be multiple companies doing it, not just Apple."
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "authorComments",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

jobs

GET/v1/hnsearch/jobs

Job posts on Hacker News, newest first, mostly the hiring posts of Y Combinator companies; a query filters them.

scope social:read1 unitcached 5 minpaginated

Parameters

query
string
Words to match in job posts, such as rust or remote. Omit it to list them all.
limit
integer
Items per page, 1 to 50.
default 10
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

16 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
commentCountinteger (int64)
hnUrlstring
idstring
imageUrlstring
pointsinteger (int64)
publishedAtstring
sourcestring
summarystring
titlestring
urlstring
curl "https://api.hoshime.com/v1/hnsearch/jobs" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "author": {
        "avatarUrl": "https://…",
        "id": "abc123",
        "name": "…",
        "url": "https://…",
        "username": "…"
      },
      "commentCount": 1280,
      "hnUrl": "https://…",
      "id": "abc123",
      "imageUrl": "https://…",
      "points": 0,
      "publishedAt": "2026-11-06T09:41:00Z",
      "source": "…",
      "summary": "…",
      "title": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "jobs",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

replies

GET/v1/hnsearch/replies

The direct replies to one Hacker News story or comment, in the order the thread shows them; each reply counts its own replies.

scope social:read1 unitcached 10 minpaginated

Parameters

id
string
required
Story or comment id, the number after item?id= in its URL.
e.g. 1
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

11 fields
authorAuthor
avatarUrlstring
idstring
namestring
urlstring
usernamestring
createdAtstring
idstring
likeCountinteger (int64)
replyCountinteger (int64)
textstring
curl "https://api.hoshime.com/v1/hnsearch/replies?id=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "author": {
        "avatarUrl": "https://…",
        "id": "abc123",
        "name": "…",
        "url": "https://…",
        "username": "…"
      },
      "createdAt": "2026-11-06T09:41:00Z",
      "id": "abc123",
      "likeCount": 1280,
      "replyCount": 1280,
      "text": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "replies",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "hnsearch",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open