Product Hunt APIs

Andreas Klinger edited this page Oct 10, 2016 · 3 revisions

The official Product Hunt API

:kitty:

The Product Hunt API is an "as simple as possible" RESTful API. We embed objects if they contextually make sense to be sent together.

You will find examples of requests and responses in the API Docs.

Use case:

Just about anything! It's ideal for deep integrations into Product Hunt's platform. While we can promise to support this API even after the Hackathon, Partner integrations might disappear at any time without warning.

We only officially support this official API

Please understand that we cannot make promises the short or long-term reliability of third party APIs. We added their own support links to all of them.

Links


Alternate APIs

Algolia Search API

Algolia

You might have seen our awesome realtime search on www.producthunt.com. This is done w/ www.algolia.com.

Together with them we decided to release a special API Key to request the same DB directly from your tool.

Use these API Keys:

APPLICATION ID: 0H4SMABBSG
SEARCH-ONLY API KEY: 9670d2d619b9d07859448d7628eea5f3
INDEX NAME: Post_production

Sample call:

HttpGet:
https://0h4smabbsg-dsn.algolia.net/1/indexes/Post_production?query=whatsapp

headers:
X-Algolia-API-Key : 9670d2d619b9d07859448d7628eea5f3
X-Algolia-Application-Id : 0H4SMABBSG

Usecases

  • Blazing fast search for users, posts, taglines
  • eg in an extension, app or anywhere you come up with

Note

If you want to simply search for existing product submission of a specific url i would recommend you to use the official API . eg via /v1/posts?search[url]=http://www.awesome.io

This is a better way to find reliably the correct post submission for an url.

Links


Pusher's Realtime API

pusher

Our friends at Pusher build an awesome Product Hunt channel you can subscribe to using their SDKs. You can then bind to new events - eg new posts - and then simply interact with them.

Usecase:

To show new content automatically in your frontend (eg an extension or a widget). Btw technically they still pull new updates from our site every few minutes. So it's not real-realtime but at least you don't have to worry about polling or sending information to the browser.

Links


Zapier's API Triggers

zapier

Zapier offers an awesome trigger for product hunt. We use it to drive our awesome slack integration

Usecase

  • Post to twitter/slack/facebook/blog when a new posts get submitted.
  • Start a cronjob when new post gets submitted
  • Create a new ticket in your startup-lead-gen CRM of your investor

Links


FYI: No write access via the APIs

Please understand that no API will provide write access for applications unless they are whitelisted. Please do not expect this whitelisting to happen during the time of the Hackathon. Please adjust your product ideas accordingly if needed.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.