---
description: Locate your Cloudflare account ID and zone ID in the dashboard for use with the API.
title: Find account and zone IDs
image: https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/og.png?v=1296a9548e83a6f1
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/fundamentals/llms.txt  
> Use this file to discover all available pages before exploring further.

# Find account and zone IDs

Last updated Aug 3, 2026|Copy as Markdown| [View as Markdown](https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/index.md)| [Agent setup](https://developers.cloudflare.com/agent-setup/)

Once you [set up a new account](https://developers.cloudflare.com/fundamentals/account/) and [add your domain](https://developers.cloudflare.com/fundamentals/manage-domains/add-site/) to Cloudflare, you may need access to your zone and account IDs for API operations.

## Copy your account ID

1. Open the Cloudflare dashboard. [Go to **Account home** ↗](https://dash.cloudflare.com/?to=/:account/home)
2. Select **Search** (or press `CMD/CTRL + K` from any page).
3. Enter `Copy account ID` and select the result to copy.![Search results showing the Copy account ID command](https://developers.cloudflare.com/cdn-cgi/image/onerror=redirect,width=600,height=199,format=webp/_astro/quick-search-account-id.n1JgrcIV.png)

## Copy your zone ID

1. In the Cloudflare dashboard, select the domain you want the zone ID for. [Go to **Domains** ↗](https://dash.cloudflare.com/?to=/:account/domains/overview)
2. On the domain **Overview** page, locate the **API** section towards the bottom of the page.![Domain Overview page with the API section highlighted](https://developers.cloudflare.com/cdn-cgi/image/onerror=redirect,width=600,height=709,format=webp/_astro/dash-overview-api-highlighted.uHQaRqfT.png)
3. Select the copy button next to **Zone ID**. You can also copy **Account ID** from this section.

## Find account ID in Workers & Pages

You can also find your account ID from the **Workers & Pages** section of your account.

1. In the Cloudflare dashboard, go to **Workers & Pages**. [Go to **Workers & Pages** ↗](https://dash.cloudflare.com/?to=/:account/workers-and-pages)
2. Locate the **Account Details** section.
3. Select the copy button next to **Account ID**.![Workers \& Pages Overview page with the Account ID section highlighted](https://developers.cloudflare.com/cdn-cgi/image/onerror=redirect,width=600,height=262,format=webp/_astro/workers-account-id.BndMHhMr.png)

Was this helpful?

YesNo

## On this page

[![](https://developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/#page","headline":"Find account and zone IDs","description":"Locate your Cloudflare account ID and zone ID in the dashboard for use with the API.","url":"https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/","inLanguage":"en","image":"https://developers.cloudflare.com/fundamentals/account/find-account-and-zone-ids/og.png?v=1296a9548e83a6f1","dateModified":"2026-08-03","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
