Hunter lets you find email addresses in seconds and connect with the people that matter for your business.
To pull data from the Hunter API to Google Sheets, first install and open the Apipheny Google Sheets add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited APIs, save API requests, schedule API requests, and more.
1. Install Apipheny by opening the following link on desktop and then clicking the Install button on the page: https://apipheny.io/install
2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons or Extensions option in the top menu. In the add-ons menu, you should see Apipheny.
Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets.
After logging into your Hunter account, click the user drop-down arrow in the top-right corner, then in the displayed menu, click the </> API option:
On the displayed page, you will find your API key. Copy and paste your API key to safe location by clicking the Copy icon from its right side. You will need the API key in the next steps:
In this section, we’ll show you how to browse the Hunter API documentation to find the API URL and endpoint that retrieves the information you need from your account. If you already know your URL, or you want to use the same example URL as us, just skip to Step 4.
First, open the Hunter API documentation page: https://hunter.io/api-documentation/v2
The menu on the left contains the API, CALLS and RESOURCES sections. The endpoints are in the CALLS section:
An example API URL & endpoint is Email Finder, which finds the most likely email address from a domain name, a first name and a last name:
The endpoint’s documentation contains a short description of its purpose, a list of accepted parameters, the HTTP method used (GET), its URI, an example request as a cURL command and its associated example response:
All API calls to Hunter should be made with this base URL: https://api.hunter.io/v2/
All endpoints should be appended to this URL.
Now go back to your Google Sheet and make sure that the Apipheny add-on is open on the “Import” tab. With the Import tab open, enter these details into the add-on:
API URL: In Step 3, we explained how you can find the Hunter API endpoint that you need. Now copy and paste your complete Hunter API URL into the Apipheny add-on, where it says API URL Path, followed by any parameters required for your query (if applicable).
For this example, we are using the Domain Search endpoint, which searches all the email addresses corresponding to one website. You give it one domain name and it returns all the email addresses using this domain name, found on the internet. This is what the whole URL looks like:
If you’re using this same URL, don’t forget to replace <API_key> with a real API key. Do not include the brackets around your key.
Headers: Headers aren’t required for this API request. You can leave this section blank in Apipheny.
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Hunter API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
After making a successful request to the Hunter API, try querying a different Hunter API endpoint, or try using one of the more advanced features in the Apipheny add-on, such as: