Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub


Npm version Npm downloads MIT license PRs welcome

gatsby-source-statshunters is a Gatsby plugin to use StatsHunters as a data source and display explorer tiles.

What are StatsHunters explorer tiles?


  1. Download gatsby-source-statshunters from the NPM registry:
yarn add gatsby-source-statshunters
  1. Add the plugin in your gatsby-config.js file

ℹ️ Login to StatsHunters and copy the API key from the settings page.

module.exports = {
  plugins: [
      resolve: "gatsby-source-statshunters",
      options: {
        api_key: process.env.STATSHUNTERS_KEY,
  1. query data and enjoy
statsHunters {

square, tiles and cluster are arrays of [lat,lng] coordinates.

  1. Display your tiles with your favorite map library


You can checkout how to use it in the example folder.


  • ⇄ Pull/Merge requests and ★ Stars are always welcome.
  • For bugs and feature requests, please create an issue.


This project is licensed under the MIT License - see the LICENCE file for details


I wanted to thank Stan Ansems once again for making StatsHunters and allowing me to use the api to create this plugin. If you like statshunters, consider making a donation

© 2023 Gatsby, Inc.