Users

users#index - Get all users

Parameters

Name Description
older Cursor-based pagination: Only works with ID. Get records older than the provided id. Note: Sort_by is ignored and applied afterwards.
newer Cursor-based pagination: Only works with ID. Get records newer than the provided id. Note: Sort_by is ignored and applied afterwards.
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)
sort_by Sort api response: Valid options: id, created_at, updated_at
order Sort api response: valid parameters are desc and asc

Request

Route

GET /v1/users

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: "186d07d7b1f6101d14395e78e63b47cd"
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate
Content-Length: 17279

Body

{
  "users" : [
    {
      "id" : 6,
      "created_at" : "2017-09-14T06:02:19.211-07:00",
      "name" : "Karl User the 385th",
      "username" : "producthunter385",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter385",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter385",
      "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"
      }
    },
    {
      "id" : 5,
      "created_at" : "2017-09-14T06:02:19.204-07:00",
      "name" : "Karl User the 384th",
      "username" : "producthunter384",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter384",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter384",
      "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"
      }
    },
    {
      "id" : 4,
      "created_at" : "2017-09-14T06:02:19.196-07:00",
      "name" : "Karl User the 383th",
      "username" : "producthunter383",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter383",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter383",
      "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"
      }
    },
    {
      "id" : 3,
      "created_at" : "2017-09-14T06:02:19.188-07:00",
      "name" : "Karl User the 382th",
      "username" : "producthunter382",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter382",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter382",
      "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"
      }
    },
    {
      "id" : 2,
      "created_at" : "2017-09-14T06:02:19.181-07:00",
      "name" : "Karl User the 381th",
      "username" : "producthunter381",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter381",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter381",
      "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"
      }
    },
    {
      "id" : 1,
      "created_at" : "2017-09-14T06:02:19.171-07:00",
      "name" : "Karl User the 380th",
      "username" : "producthunter380",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter380",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter380",
      "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"
      }
    }
  ]
}