APIs / Product Hunt / Posts Search

Product Hunt: Posts Search

Posts Search from Product Hunt as JSON. 1 credit per successful call.

GET /v1/producthunt/posts-search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 200 characters
firstintegerOptionalAny
afterstringOptionalUp to 128 characters
pageintegerOptionalAny
filterstringOptionaltrending
orderstringOptionalname

Example request

Product Hunt
GET/v1/producthunt/posts-search?query=ai&first=5&filter=trending&order=name
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "384747",
        "name": "/ai",
        "slug": "ai-5",
        "tagline": "Use ChatGPT within text boxes on any website by typing /ai",
        "votesCount": 168,
        "commentsCount": 32,
        "createdAt": "2023-03-23T00:01:00-07:00",
        "featuredAt": "2023-03-23T00:01:00-07:00",
        "thumbnailImageUuid": "e1d2a77c-afed-47b6-af24-133df1d4dbde.png"
      },
      {
        "id": "364887",
        "name": "AI by WiziShop",
        "slug": "ai-by-wizishop",
        "tagline": "The first artificial intelligence for e-commerce",
        "votesCount": 110,
        "commentsCount": 31,
        "createdAt": "2022-10-28T00:09:45-07:00",
        "featuredAt": "2022-10-28T00:09:45-07:00",
        "thumbnailImageUuid": "26688cb0-3211-4006-aca9-8b70782438db.gif"
      },
      {
        "id": "404368",
        "name": "AI",
        "slug": "ai-10",
        "tagline": "AI Tool",
        "votesCount": 21,
        "commentsCount": 6,
        "createdAt": "2023-07-13T00:01:00-07:00",
        "thumbnailImageUuid": "e0026053-c9c3-4967-9963-a2c3d1e12023.png"
      }
    ],
    "totalCount": 1000,
    "pageInfo": {
      "hasNextPage": true,
      "endCursor": "UmFuazo1"
    }
  },
  "meta": {
    "total_count_is": "a cap of 1000 for broad queries, the real count for narrow ones",
    "pagination": "cursor",
    "endpoint_family": "search_posts",
    "upstream_requests": 1,
    "duration_ms": 1339
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
itemsobject[]
totalCountinteger
pageInfoobject