Find account and zone IDs
Once you set up a new account and add your domain to Cloudflare, you may need access to your zone and account IDs for API operations.
- 
In the Cloudflare dashboard, go to the Account home page. Go to Account home
- 
Select the menu button at the end of the account row.  
- 
Select Copy account ID. 
To copy the account ID when you only have one account:
- 
In the Cloudflare dashboard, go to the Account home page and locate your account. Go to Account home
- 
Select the menu button next to your account name. 
- 
From the list that appears, select Copy account ID.  
- 
In the Cloudflare dashboard, go to the Account home and locate your account. Go to Account home
- 
From the Overview page for your account, locate the API section towards the bottom of the page. 

- Under Zone ID select Click to copy. You can also find your Account ID under the API section.
You can also find your account ID from the Workers & Pages section of your account.
- 
In the Cloudflare dashboard, go to the Workers & Pages page. Go to Workers & Pages
- 
The Account details section contains your Account ID. 
- 
To copy the Account ID, select Click to copy. 

Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-