Collections

collection#show - Get details of a collection

Parameters

Name Description
id required The numeric ID of the Collection you want to fetch

Request

Route

GET /v1/collections/146

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

Body

{
  "collection" : {
    "id" : 146,
    "name" : "Awesome Collection #153",
    "title" : "Best new collection ever",
    "created_at" : "2017-07-13T13:31:54.151-07:00",
    "updated_at" : "2017-07-13T13:31:54.362-07:00",
    "featured_at" : null,
    "subscriber_count" : 0,
    "category_id" : null,
    "collection_url" : "http://www.producthunt.com/@producthunter646/collections/awesome-collection-153?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2373+%28ID%3A+23%29",
    "posts_count" : 3,
    "user" : {
      "id" : 171,
      "created_at" : "2017-07-13T13:31:54.137-07:00",
      "name" : "Karl User the 650th",
      "username" : "producthunter646",
      "headline" : "Product Hunter",
      "twitter_username" : "hunter650",
      "website_url" : "http://awesome.io",
      "profile_url" : "http://www.producthunt.com/@producthunter646",
      "image_url" : {
        "30px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=30&h=30",
        "32px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=32&h=32",
        "40px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=40&h=40",
        "44px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=44&h=44",
        "48px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=48&h=48",
        "50px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=50&h=50",
        "60px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=60&h=60",
        "64px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=64&h=64",
        "73px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=73&h=73",
        "80px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=80&h=80",
        "88px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=88&h=88",
        "96px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=96&h=96",
        "100px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=100&h=100",
        "110px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=110&h=110",
        "120px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=120&h=120",
        "132px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=132&h=132",
        "146px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=146&h=146",
        "160px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=160&h=160",
        "176px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=176&h=176",
        "220px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=220&h=220",
        "264px" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=264&h=264",
        "32px@2X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=64&h=64",
        "40px@2X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=80&h=80",
        "44px@2X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=88&h=88",
        "88px@2X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=176&h=176",
        "32px@3X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=96&h=96",
        "40px@3X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=120&h=120",
        "44px@3X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=132&h=132",
        "88px@3X" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=264&h=264",
        "original" : "https://avatars-cdn.producthunt.com/171/original?auto=format&fit=crop&crop=faces&w=original&h=original"
      }
    },
    "background_image_url" : null,
    "color" : "blue",
    "posts" : [
      {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 2,
        "name" : "Awesome Idea #95",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:54.187-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-95?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2373+%28ID%3A+23%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/7523c4007db813/2?app_id=23",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 2,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/5dc767d7-8cb7-43be-b377-ae224dc204c7?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 172,
          "created_at" : "2017-07-13T13:31:54.166-07:00",
          "name" : "Karl User the 651th",
          "username" : "producthunter647",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter651",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter647",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/172/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      },
      {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 3,
        "name" : "Awesome Idea #96",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:54.246-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-96?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2373+%28ID%3A+23%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/3e9f444b57b10e/3?app_id=23",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 3,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/11271fa2-a6a5-4f6c-96a2-7f5626c57874?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 175,
          "created_at" : "2017-07-13T13:31:54.228-07:00",
          "name" : "Karl User the 654th",
          "username" : "producthunter650",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter654",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter650",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/175/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      },
      {
        "category_id" : 1,
        "comments_count" : 0,
        "day" : "2017-07-13",
        "id" : 4,
        "name" : "Awesome Idea #97",
        "product_state" : "default",
        "tagline" : "Great new search engine",
        "ios_featured_at" : null,
        "created_at" : "2017-07-13T13:31:54.307-07:00",
        "current_user" : {},
        "discussion_url" : "http://www.producthunt.com/posts/awesome-idea-97?utm_campaign=producthunt-api&utm_medium=api&utm_source=Application%3A+Awesome+Oauth+App+%2373+%28ID%3A+23%29",
        "exclusive" : null,
        "featured" : true,
        "maker_inside" : false,
        "makers" : [],
        "platforms" : [],
        "topics" : [],
        "redirect_url" : "http://www.producthunt.com/r/d32f5f54dbf874/4?app_id=23",
        "screenshot_url" : {
          "300px" : "http://placehold.it/850x850.png",
          "850px" : "http://placehold.it/850x850.png"
        },
        "thumbnail" : {
          "id" : 4,
          "media_type" : "image",
          "image_url" : "https://ph-files.imgix.net/fd637455-921c-482c-95fb-12e31d6ebc96?auto=format&fit=crop&h=570&w=430",
          "metadata" : {}
        },
        "user" : {
          "id" : 178,
          "created_at" : "2017-07-13T13:31:54.290-07:00",
          "name" : "Karl User the 657th",
          "username" : "producthunter653",
          "headline" : "Product Hunter",
          "twitter_username" : "hunter657",
          "website_url" : "http://awesome.io",
          "profile_url" : "http://www.producthunt.com/@producthunter653",
          "image_url" : {
            "30px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=30&h=30",
            "32px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=32&h=32",
            "40px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=40&h=40",
            "44px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=44&h=44",
            "48px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=48&h=48",
            "50px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=50&h=50",
            "60px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=60&h=60",
            "64px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "73px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=73&h=73",
            "80px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "88px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "96px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "100px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=100&h=100",
            "110px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=110&h=110",
            "120px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "132px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "146px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=146&h=146",
            "160px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=160&h=160",
            "176px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "220px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=220&h=220",
            "264px" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "32px@2X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=64&h=64",
            "40px@2X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=80&h=80",
            "44px@2X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=88&h=88",
            "88px@2X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=176&h=176",
            "32px@3X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=96&h=96",
            "40px@3X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=120&h=120",
            "44px@3X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=132&h=132",
            "88px@3X" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=264&h=264",
            "original" : "https://avatars-cdn.producthunt.com/178/original?auto=format&fit=crop&crop=faces&w=original&h=original"
          }
        },
        "votes_count" : 0
      }
    ]
  }
}