Import Product Hunt Data to Google Sheets – Step by Step Guide

Import Product Hunt Data to Google Sheets – Step by Step Guide

Last Updated On May 30, 2019
You are here:
< Back

Product Hunt is a popular site for sharing new sites and products. In this guide, we’ll walk through how to pull data from the Product Hunt API directly into Google Sheets, using the free API Connector add-on. We’ll first get an API key from Product Hunt, and then set up a request to pull in the most popular products from Product Hunt to your spreadsheet.


  1. Log in to Product Hunt and click your profile pic to open the Account drop-down menu. Click ‘API Dashboard’
  2. This page will prompt you to create a new application. Enter a name and a URL, and click Create Application (for our purposes, the exact values don’t matter)

  3. You’ll now see a page listing some API tokens. Scroll to the bottom and click Create token to create a token that never expires.

  4. Once you click ‘Create Token’, you’ll see a Token. Copy this as we’ll need it shortly. Congrats, you’re now ready to get started pulling data out of Product Hunt’s API.


We’re going to follow the Product Hunt API documentation to view the most upvoted posts in a month.

  • Base URL:
  • Endpoint: /posts/all
  • Query strings: ?sort_by=votes_count&order=desc&search[featured_month]={month}&search[featured_year]={year}
    Query strings example: ?sort_by=votes_count&order=desc&search[featured_month]=5&search[featured_year]=2019

Putting it all together, we get the full API Request URL:[featured_month]=5&search[featured_year]=2019

We can now enter all our values into API Connector to start importing Product Hunt data into Google Sheets.

  1. Open up Google Sheets and click Add-ons > API Connector > Create New API Request.
  2. In the Create Request interface, enter the Request URL we just created

  3. Under Headers, enter a key-value pair like this:
    AuthorizationBearer {Token}

    {Token} is the value provided above in step 4.

  4. Create a new tab. You can call it whatever you like, but here we’ll call it ‘PH Upvoted’. While still in that tab, click ‘Set’ to use that tab as your data destination.
  5. Name your request. Again we’ll call it ‘PH Upvoted’
  6. Click Run and a moment later you’ll see most upvoted Product Hunt posts from May 2019 populate the PH Upvoted tab in your Google Sheet:

Following the above steps, you will now be able to import data from the Product Hunt API directly into Google Sheets. By setting Google Sheets as a data source, you can also use this method to create Product Hunt data visualizations and dashboards in Google Data Studio.


Leave a Reply

Your email address will not be published.