Posts

posts#index - Get the tech posts of today

Parameters

Name Description
page Offset-based pagination: Get content of given page, starts at 1
per_page Any kind of pagination: define the amount of records sent per call (max 50)

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
Content-Type: application/json; charset=utf-8
ETag: W/"09961593d40a76ff024989aedbc1fc39"
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 3872

Body

{
  "posts": [
    {
      "comments_count": 0,
      "day": "2017-09-13",
      "id": 94,
      "name": "Awesome Idea #188",
      "product_state": "default",
      "tagline": "Great new search engine",
      "ios_featured_at": null,
      "category_id": null,
      "created_at": "2017-09-13T06:02:55.408-07:00",
      "current_user": {
        "voted_for_post": false,
        "commented_on_post": false
      },
      "discussion_url": "http://www.producthunt.com/posts/awesome-idea-188?utm_campaign=producthunt-api\u0026utm_medium=api\u0026utm_source=Application%3A+Awesome+Oauth+App+%23170+%28ID%3A+120%29",
      "exclusive": null,
      "featured": true,
      "maker_inside": false,
      "makers": [],
      "platforms": [],
      "redirect_url": "http://www.producthunt.com/r/095ec0f2ad0e1c/94?app_id=120",
      "screenshot_url": {
        "300px": "http://placehold.it/850x850.png",
        "850px": "http://placehold.it/850x850.png"
      },
      "thumbnail": {
        "id": 94,
        "media_type": "image",
        "image_url": "https://ph-files.imgix.net/5e624566-35bc-40d2-ad1e-d25f50d3d6ab?auto=format\u0026fit=crop\u0026h=570\u0026w=430",
        "metadata": {}
      },
      "topics": [
        {
          "id": 56,
          "name": "Topic 65",
          "slug": "topic-65"
        }
      ],
      "user": {
        "id": 807,
        "created_at": "2017-09-14T06:02:55.412-07:00",
        "name": "Karl User the 1297th",
        "username": "producthunter1293",
        "headline": "Product Hunter",
        "twitter_username": "hunter1297",
        "website_url": "http://awesome.io",
        "profile_url": "http://www.producthunt.com/@producthunter1293",
        "image_url": {
          "30px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
          "32px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
          "40px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
          "44px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
          "48px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_normal.png",
          "50px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
          "60px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
          "64px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
          "73px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
          "80px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "88px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "96px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "100px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "110px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "120px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "132px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "146px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "160px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "176px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "220px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "264px": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "32px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4_bigger.png",
          "40px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "44px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "88px@2X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "32px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "40px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "44px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "88px@3X": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png",
          "original": "https://abs.twimg.com/sticky/default_profile_images/default_profile_4.png"
        }
      },
      "votes_count": 0
    }
  ]
}