There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Check for the existence of analytics data for an object type

Last updated June 17, 2020

GET /analytics/v2/reports/:objectType/exists

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?






Required Scope:


Check to see if there is analytics data for a specified object type. This can be used to perform a simple, quick check to see if a HubSpot account has any analytics data for the specified object type.

The response is a simple "exists": true if there is data, or "exists": false if there is no data for the object type.

Note: Access to the data from this endpoint will depend on the subscription of the HubSpot account. Please see the overview page for more details.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header or hapikey={key} query parameter. Used to authenticate the request. Please see this page for more details about authentication.
Object Type  :objectType
Used in the request URL
The object type that you want to check for analytics data. See the table below for the supported object types.

Supported object types

Object type Description
event-completions Data for analytics events.
forms Data for HubSpot forms.
pages Data for individual URLs, collected by the HubSpot tracking code.
social-assists Data for messages published through the social publishing tools.
landing-pages Data for HubSpot hosted landing pages.
standard-pages Data for HubSpot hosted website pages.
blog-posts Data for HubSpot hosted blog posts.
listing-pages Data for HubSpot blog listing pages.
knowledge-articles Data for HubSpot knowledge base articles.