Free overview of top 5 Hacker News stories - try before you buy
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/overview/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Get top N Hacker News stories with full details
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 10,
"type": "number",
"minimum": 1,
"maximum": 30
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/top/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 1
}
}
'
Get newest N Hacker News stories
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 10,
"type": "number",
"minimum": 1,
"maximum": 30
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/new/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 1
}
}
'
Get best/highest-rated Hacker News stories of all time
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 10,
"type": "number",
"minimum": 1,
"maximum": 30
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/best/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 1
}
}
'
Get full story details including top comments
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Hacker News story ID"
}
},
"required": [
"id"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/story/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"id": 0
}
}
'
Aggregated trending analysis: top stories, Ask HN, and Show HN combined
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"default": 5,
"type": "number",
"minimum": 1,
"maximum": 10
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hn-intel-production.up.railway.app/entrypoints/trending/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 1
}
}
'