API feature requests

I’d love to be able to grab visits via API. Results something along the line of (Shamelessly pinched from BunnyCDN’s log API)

{
         "cache": "MISS",
         "status": "301",
         "timestamp": "1559138909895",
         "bytes": "521",
         "zone_id": "70112",
         "ip": "x.y.z.0",
         "referrer": "-",
         "url": "https://hosted.fm/",
         "edge": "MI",
         "user_agent": "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)",
         "guid": "c81b842ab48d99fbc0e5139d3c2e5b96",
         "country": "US",
},

Of course with the infrastructure and API in place it would also be possible to have frontend displays of this data too

3 Likes

In the same vein, I would LOVE the ability to pull data from Netlify’s Analytics dashboard via a simple API endpoint. I’ve been itching to provide users with insight into “trending” or “most popular” content on our Gatsby site.

There’s a ton of value-add from this in our particular case… achieving this in a way closely integrated with Netlify would be a dream come true.

1 Like

Heya @toddbirchard! Good feature suggestion, but we don’t currently have plans to create API endpoints for analytics. Nonetheless, I’ve added your voice to the open feature request so we can let you (and this thread) know if we do end up shipping it.

1 Like