Free overview - current top story and API status
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/overview/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {}
}
'
Get top HN 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": 50
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/top-stories/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 1
}
}
'
Search HN stories via Algolia - powerful full-text search
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "Search query"
},
"limit": {
"default": 10,
"type": "number",
"minimum": 1,
"maximum": 50
},
"sortBy": {
"default": "relevance",
"type": "string",
"enum": [
"relevance",
"date"
]
}
},
"required": [
"query",
"limit",
"sortBy"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/search/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"query": "<Search query>",
"limit": 1,
"sortBy": "relevance"
}
}
'
Get stories by type: best, new, ask, show, or job
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"best",
"new",
"ask",
"show",
"job"
],
"description": "Story type"
},
"limit": {
"default": 10,
"type": "number",
"minimum": 1,
"maximum": 50
}
},
"required": [
"type",
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/stories-by-type/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"type": "best",
"limit": 1
}
}
'
Get full story details including top comments
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"storyId": {
"type": "number",
"description": "HN story ID"
},
"commentLimit": {
"default": 5,
"type": "number",
"minimum": 0,
"maximum": 20
}
},
"required": [
"storyId",
"commentLimit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/story-details/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"storyId": 0,
"commentLimit": 0
}
}
'
Get HN user profile and recent activity
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"username": {
"type": "string",
"minLength": 1,
"description": "HN username"
}
},
"required": [
"username"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/user-profile/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"username": "<HN username>"
}
}
'
Payment analytics summary
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"windowMs": {
"description": "Time window in ms",
"type": "number"
}
},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/analytics/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"windowMs": 0
}
}
'
analytics-transactions
Invoke
Recent payment transactions
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"windowMs": {
"type": "number"
},
"limit": {
"default": 50,
"type": "number"
}
},
"required": [
"limit"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/analytics-transactions/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"limit": 0
}
}
'
Export payment data as CSV
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"windowMs": {
"type": "number"
}
},
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'https://hackernews-intel-agent-production.up.railway.app/entrypoints/analytics-csv/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"windowMs": 0
}
}
'