Skip to main content
POST
/
api
/
indiehackers
/
posts
/indiehackers/posts
curl --request POST \
  --url https://api.anysite.io/api/indiehackers/posts \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "post": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "IndiehackersPost",
    "item_id": "<string>",
    "item_key": "<string>",
    "item_type": "<string>",
    "post_title": "<string>",
    "text": "<string>",
    "group_name": "<string>",
    "upvote_count": 123,
    "reply_count": 123,
    "link_click_count": 123,
    "part_number": 123,
    "is_featured": false,
    "has_poll": false,
    "link_url": "<string>",
    "link_title": "<string>",
    "link_description": "<string>",
    "link_image": "<string>",
    "user_id": "<string>",
    "username": "<string>",
    "created_at": 123,
    "updated_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
post
string
required

Post id as returned by posts/search (e.g. 'post-89161b0d5c-9')

Minimum string length: 1
Examples:

"post-89161b0d5c-9"

"post-873fcfba06-1"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:IndiehackersPost
item_id
string | null
item_key
string | null
item_type
string | null
post_title
string | null
text
string | null
group_name
string | null
upvote_count
integer | null
reply_count
integer | null
part_number
integer | null
has_poll
boolean
default:false
user_id
string | null
username
string | null
created_at
integer | null
updated_at
integer | null