API V1 is deprecated, Check out new API V2 here

Posts

posts#index - Get the tech posts of today

Parameters

Name Description
days_ago Parameter for pagination
day Alternate parameter for requesting specific days (Format: day=YYYY-MM-DD)

Request

Route

GET /v1/posts

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer your_access_token
Host: api.producthunt.com

Response

Status

200 OK

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Rate-Limit-Limit: 900
X-Rate-Limit-Remaining: 900
X-Rate-Limit-Reset: 900
ETag: W/"c5837f9aa0a4c62a01aaa275564c927a"
Last-Modified: Wed, 05 May 2021 11:39:05 GMT
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 13479

Body

{
  "posts": [
    {
      "comments_count": 2,
      "id": 1413,
      "name": "Awesome Idea #4",
      "product_state": "default",
      "tagline": "Great new search engine",
      "slug": "awesome-idea-4",
      "votes_count": 1,
      "day": "2021-05-05",
      "category_id": null,
      "created_at": "2021-05-05T04:39:05.329-07:00",
      "current_user": {
        "voted_for_post": true,
        "commented_on_post": true
      },
      "discussion_url": "http://www.producthunt.com/posts/awesome-idea-4?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%237+%28ID%3A+1197%29",
      "exclusive": null,
      "featured": true,
      "ios_featured_at": false,
      "maker_inside": true,
      "makers": [
        {
          "id": 9503,
          "created_at": "2021-05-05T04:39:05.372-07:00",
          "name": "Karl User the 27th",
          "username": "producthunter27",
          "headline": "Product Hunter",
          "twitter_username": "hunter27",
          "website_url": "http://awesome.io",
          "profile_url": "http://www.producthunt.com/@producthunter27",
          "image_url": {
            "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
          }
        }
      ],
      "platforms": [],
      "redirect_url": "http://www.producthunt.com/r/7490be577add99/1413?app_id=1197",
      "screenshot_url": {
        "300px": "http://placehold.it/850x850.png",
        "850px": "http://placehold.it/850x850.png"
      },
      "thumbnail": {
        "id": 1462,
        "media_type": "image",
        "image_url": "https://ph-files.imgix.net/f1be6892-aac3-4704-bc0b-001ce58340fd?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
        "metadata": {}
      },
      "topics": [
        {
          "id": 471,
          "name": "Topic 1",
          "slug": "topic-1"
        }
      ],
      "user": {
        "id": 9498,
        "created_at": "2021-05-05T04:39:05.307-07:00",
        "name": "Karl User the 22th",
        "username": "producthunter22",
        "headline": "Product Hunter",
        "twitter_username": "hunter22",
        "website_url": "http://awesome.io",
        "profile_url": "http://www.producthunt.com/@producthunter22",
        "image_url": {
          "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
        }
      }
    },
    {
      "comments_count": 2,
      "id": 1412,
      "name": "Awesome Idea #3",
      "product_state": "default",
      "tagline": "Great new search engine",
      "slug": "awesome-idea-3",
      "votes_count": 0,
      "day": "2021-05-05",
      "category_id": null,
      "created_at": "2021-05-05T04:39:05.245-07:00",
      "current_user": {
        "voted_for_post": false,
        "commented_on_post": false
      },
      "discussion_url": "http://www.producthunt.com/posts/awesome-idea-3?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%237+%28ID%3A+1197%29",
      "exclusive": null,
      "featured": true,
      "ios_featured_at": false,
      "maker_inside": true,
      "makers": [
        {
          "id": 9497,
          "created_at": "2021-05-05T04:39:05.297-07:00",
          "name": "Karl User the 21th",
          "username": "producthunter21",
          "headline": "Product Hunter",
          "twitter_username": "hunter21",
          "website_url": "http://awesome.io",
          "profile_url": "http://www.producthunt.com/@producthunter21",
          "image_url": {
            "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
            "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
          }
        }
      ],
      "platforms": [],
      "redirect_url": "http://www.producthunt.com/r/663eb14891dcd0/1412?app_id=1197",
      "screenshot_url": {
        "300px": "http://placehold.it/850x850.png",
        "850px": "http://placehold.it/850x850.png"
      },
      "thumbnail": {
        "id": 1461,
        "media_type": "image",
        "image_url": "https://ph-files.imgix.net/a15bee3a-1138-4cf0-bc06-b246567f0068?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
        "metadata": {}
      },
      "topics": [
        {
          "id": 471,
          "name": "Topic 1",
          "slug": "topic-1"
        }
      ],
      "user": {
        "id": 9492,
        "created_at": "2021-05-05T04:39:05.222-07:00",
        "name": "Karl User the 16th",
        "username": "producthunter16",
        "headline": "Product Hunter",
        "twitter_username": "hunter16",
        "website_url": "http://awesome.io",
        "profile_url": "http://www.producthunt.com/@producthunter16",
        "image_url": {
          "30px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "48px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "50px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "60px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "64px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "73px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "80px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "96px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "100px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "110px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "120px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "132px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "146px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "160px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "176px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "220px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "264px": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px@2X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "32px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "40px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "44px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "88px@3X": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress",
          "original": "https://ph-static.imgix.net/guest-user-avatar.png?auto=format\u0026auto=compress"
        }
      }
    }
  ]
}