---
title: Authenticate with a Cloudflare API key · Cloudflare Analytics docs
description: API keys are unique to each Cloudflare user and used only for
  authentication. An API key does not authorize access to accounts or zones. To
  ensure that the GraphQL Analytics API authenticates your queries, retrieve
  your Cloudflare Global API Key.
lastUpdated: 2024-08-13T19:56:56.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/api-key-auth/
  md: https://developers.cloudflare.com/analytics/graphql-api/getting-started/authentication/api-key-auth/index.md
---

API keys are unique to each Cloudflare user and used only for authentication. An API key does not authorize access to accounts or zones. To ensure that the GraphQL Analytics API authenticates your queries, retrieve your Cloudflare Global API Key.

Learn how to [retrieve your API Key in the Cloudflare dashboard](https://developers.cloudflare.com/fundamentals/api/get-started/keys/).
