Your API for data-powered LLM Brand Monitoring >>
API Docs
Free Tools
Top 1000 Websites By Ranking KeywordsTop 1000 KeywordsTop 1000 Websites By Domain RankTop 1000 Websites By Traffic TrendsSERP Volatility IndexDataForSEO TrendsAI Visibility Tracker
About us
Mission and visionOur dataUkrainian BraveryStatus Page
AI Assistant
Contact us
Login
DataForSEO
  • Products
    APIs
    • SERP API
    • Keywords Data APIs
      • Google Ads API
      • Google Trends API
      • Bing Ads API
      • Clickstream Data API
      • DataForSEO Trends API
    • Backlinks API
    • On-Page API
    • DataForSEO Labs API
      • Keyword Research API
      • Market Analysis API
      • Competitor Research API
    • AI Optimization Data API
      • LLM Mentions API
    • Reviews API
      • Google Reviews API
      • Google Shopping Reviews API
      • Trustpilot Reviews API
      • Tripadvisor Reviews API
      • Google Play Reviews API
      • App Store Reviews API
    • App Data API
      • Google Play Store API
      • App Store API
    • Business Data API
      • Google My Business API
      • Google Hotels API
      • Trustpilot API
      • Tripadvisor API
      • Business Listings API
    • Merchant API
      • Amazon
      • Google Shopping
    • Domain Analytics API
    • Content Analysis API
    Databases
    • Google Databases
    • Historical Google Databases
    • Bing Databases
    • Amazon Database
    • App Store Database
    • Google Play Database
    • Business Listings Database
    • Domains’ Whois & HTML Databases
    • Domains’ Backlink Stats Database
  • Integrations
    Automation Platforms
    • Google Sheets Connector
    • n8n Integration
    • Make Integration
    • Airtable Integration
    • Postman Integration
    • Zapier integration
    • Pabbly integration
    • Lindy.ai integration
    AI / LLM Agents
    • DataForSEO MCP
    • Custom GPT
    • Codex Plugin
  • Solutions
    By industry
    • Media
    • Ecommerce
    • Digital Marketing
    • Marketing Tech
    • AI Development
    By company type
    • SEO Agency
    • SEO Software
    • Enterprise
    By application
    • Backlink App
    • Reputation Management
    • Rank Tracking App
    • Keyword Research App
    • Keyword Trends Tool
    By use cases
    • GEO
    • SEO
    • Lead Enrichment
    • Lead Generation
    • Local SEO
  • Pricing
  • Knowledge base
    Knowledge base
    • Blog
    • API Documentation
    • DataForSEO Academy
    • No-code Templates
    • Help Center
    • Product Updates
    • FAQ
    • SERP Features Guide
    • White Papers
    • Success Stories
    • Developer Starter Kit
Try for free
  • API Docs
  • Free Tools
    • Top 1000 Websites By Ranking Keywords
    • Top 1000 Keywords
    • Top 1000 Websites By Domain Rank
    • Top 1000 Websites By Traffic Trends
    • SERP Volatility Index
    • DataForSEO Trends
    • AI Visibility Tracker
  • About us
    • Mission and vision
    • Our data
    • Ukrainian Bravery
    • Status Page
  • AI Assistant
  • Contact us
  • Login
Try for free
  • Help center
    • All Articles
    • Getting Started
    • Account & Billing
  • Product help
    • APIs
      • SERP API
      • Keyword Data API
      • Domain Analytics API
      • On-Page API
      • DataForSEO Labs API
      • Business Data API
      • Merchant API
      • Backlinks API
      • App Data API
      • Content Analysis API
      • AI Optimization API
    • Databases
    • Integrations
      • DataForSEO MCP
      • Make
      • n8n
  • Resources
    • API Docs
    • Status Page

Can’t find an answer?

Get AI guidance on your account, billing, or implementation.

AI Chat →
Add as a preferred source on Google
  1. Help Center
  2. Account & Billing
  3. Account and API Key Security: API Passwords, Key Management and IP Whitelisting

Account and API Key Security: API Passwords, Key Management and IP Whitelisting

Account & Billing Updated 25.11.2026
Table of Contents
  1. Account password vs API password
    1. Where to find your API credentials
    2. Resetting your API password or changing your API login
  2. How API authentication works: your “API key” is a login and a password
  3. IP whitelisting: restrict which IPs can make API requests
  4. API key security best practices
    1. Keep credentials out of code and repositories
    2. Rotate credentials regularly, and immediately if you suspect exposure
    3. Limit who can use your account
    4. Limit and monitor spending
  5. If your credentials leak: what to do first
  6. How do platforms handle API keys and credentials securely? What we do on our side
  7. Credential security FAQ
    1. Is my API password the same as my account password?
    2. Can someone use my API password to sign in to my Dashboard?
    3. I missed the 24-hour window and can’t see my API password. What now?
    4. Does resetting my API password break my integrations?
    5. Can I whitelist an IP range or an IPv6 address?
    6. What happens if a whitelisted IP changes?
    7. I think my credentials leaked. What should I do right now?
    8. Do I need separate credentials for each DataForSEO API?
  8. Summary
    1. Where do I go next?

Anyone with your API login and password can use your DataForSEO balance to make API requests. They need no additional credentials, and they can send requests from any machine unless you restrict access by IP address. That’s why API key security should be a priority before your first integration goes live, especially if your application uses DataForSEO data in features that your customers rely on.

In this guide, we’ll explain how DataForSEO API credentials and authentication work, how to manage and protect your keys, how to configure IP whitelisting, and what our ISO/IEC 27001:2022 certification means for your data and account security.

Account password vs API password

Every DataForSEO account has two sets of credentials, and each one serves a different purpose.

Credential Who creates it What it gives access to
Account login + account password You, at registration The Dashboard: billing, settings, usage, team access
API login + API password Our system, automatically Our APIs: every request that spends your balance

You create the account password when you sign up, while our system generates the API password automatically. You can’t use the two interchangeably: your API password won’t sign you in to the Dashboard, and your Dashboard password won’t authenticate an API request. Mixing them up is one of the most common reasons a first API request fails.

Where to find your API credentials

You can find your API credentials (API login and password) in the API Access section of the DataForSEO Dashboard.

  • Our system generates a unique string as an API login, and it’s always visible. Some older accounts may still use the sign-up email as the API login, and you can switch to a generated login in the same tab.
  • The API password stays visible for the first 24 hours after registration, and then the Dashboard hides it. If you need it later, click Send by e-mail, and we’ll resend it to your account email. Resends have a cooldown period.
  • The encoded credentials, a ready-made Base64 string of login:password, follow the same 24-hour rule, and later you can request them by email too.

Resetting your API password or changing your API login

The same tab includes Reset password and Change API login actions. Both require a confirmation code that we send to your account email address, so no one without access to that mailbox can replace your credentials.

The old password or login stops working as soon as you confirm the change, and so does any Base64 string built from it. Most teams trip on this, so make sure to update every integration right away.

Once you have your credentials, it helps to know how our API checks them on every request.

How API authentication works: your “API key” is a login and a password

Many APIs issue a single long key. DataForSEO uses a credential pair instead, sent with Basic Authentication, which is the only method our API accepts. That makes API key setup and security for our SEO APIs a matter of handling two values carefully. Here’s how it works:

  1. Your integration joins your API login and API password with a colon: login:password.
  2. It encodes that string with Base64 so it can travel in an HTTP header. Base64 is an encoding format, not encryption, and anyone can decode it in seconds, so treat the encoded string with the same care as the password.
  3. It sends the encoded string in the Authorization header of every request.

In practice, Make and n8n handle these steps for you: you select Basic Auth, enter your login and password, and the platform does the encoding. The same credential pair works across all DataForSEO APIs.

We also enforce two rules to keep your credentials secure:

  • Our API accepts credentials only in the request header and rejects requests that pass them as URL parameters, because server logs and browser histories often record URLs.
  • The API redirects plain-HTTP requests to HTTPS and sends an HSTS header. We still recommend calling the https:// address directly.

If you need tool-specific steps, we’ve got you covered: our guide to API key setup with authentication code examples walks through cURL, Make, n8n, and Custom GPTs, and you can also check the Authentication page in our docs.

Protecting your API credentials is essential, but you can further reduce the risk of unauthorized access by limiting which IP addresses can use them.

IP whitelisting: restrict which IPs can make API requests

By default, any IP address with valid credentials can make API requests under your account. Once you add an address to the whitelist, the API refuses requests from all other IPs before processing them and returns error 40207, “Access denied. Your IP is not whitelisted.” If you remove every entry, access becomes unrestricted again.

To whitelist IPs for API requests, open API Access in the DataForSEO Dashboard, find IP Access, enter an IP address, and click Add. Repeat for each IP. For detailed instructions, see our IP whitelisting guide.

Before you turn on IP whitelisting, keep the following in mind:

  • Each entry must be a single static IPv4 address. The form rejects CIDR ranges and IPv6 addresses with an “IP is invalid” message and doesn’t accept duplicates, so you need to add a subnet one IP at a time. Dynamic IPs from home connections, mobile networks, and most VPNs change over time, and the API then refuses requests from the new address unless you whitelist it.
  • The API is reachable over IPv4 only. Servers with both IPv4 and IPv6 connect over IPv4 automatically. If your server is IPv6-only, it connects through a translation layer such as NAT64, and you’ll need to whitelist the gateway’s IPv4 address.
  • The whitelist applies only to API requests and doesn’t affect Dashboard sign-ins.
  • Add every machine that calls the API. Production, CI, and automation servers each have their own IP, and any server you leave out will receive error 40207.
  • Do not enable IP whitelisting if you use our Connector and integration tools, since their requests originate from IP addresses other than your own and may be blocked.

Depending on your infrastructure, IP whitelisting can be a particularly effective security measure, preventing unauthorized API requests from non-whitelisted IPs even if your credentials are compromised. Still, IP whitelisting works best combined with the following security best practices.

API key security best practices

Keep credentials out of code and repositories

Anyone with developer tools can read code that runs in a browser or mobile app, so store credentials only on machines you control.

Never commit credentials to a repository, and that includes the Base64 string. Deleting a secret from a file doesn’t remove it from Git history, so treat any credential that has reached a shared repository as exposed. Store credentials in environment variables, a secrets manager, or your tools’ credential fields, and keep them out of spreadsheets, shared documents, and chat messages.

Rotate credentials regularly, and immediately if you suspect exposure

If a credential may have leaked, for example through a public repository, a former contractor, or a screenshot, reset it first and investigate afterwards. Because Reset password invalidates the old value instantly, list every place that uses the credential before resetting it. Each account has one API credential pair, so rotation is your main way to revoke old access. We also recommend resetting your credentials on a regular schedule.

Limit who can use your account

Instead of sharing your Dashboard password, invite colleagues through Account Access so that each person signs in with their own login. Additionally, turn on two-factor authentication from the Profile menu.

Limit and monitor spending

In the Dashboard’s Settings, you can set daily spending limits for all APIs or a specific API or endpoint. Once you reach a limit, further tasks return error 40203 until the next UTC day.

Check the Usage section for unexpected spikes and the Errors section for failed requests you didn’t send. Test new integrations in our free Sandbox, which returns dummy data and doesn’t affect your balance.

Even with these habits in place, a credential can still leak, so it helps to know the first steps before you need them.

If your credentials leak: what to do first

To keep things straightforward, work through these steps in order and save the investigation for later:

  1. Reset your API password in API Access. If your login leaked too, use Change API login.
  2. Enter the new credentials in every integration.
  3. Review the Usage and Errors sections for unfamiliar activity.
  4. Make sure you’ve set daily spending limits.
  5. Turn on the IP whitelist if your infrastructure allows it.
  6. If anything looks unusual, feel free to reach out via Live Chat in the Dashboard at any hour. Our support manager will do their best to help.

On our side, protection starts earlier, with how the platform handles credentials from the moment we generate them.

How do platforms handle API keys and credentials securely? What we do on our side

Security teams evaluating an API provider usually check the points below, and here’s how DataForSEO addresses each one.

What a secure API platform should do How DataForSEO does it
Issue system-generated API credentials, separate from account logins Our system generates the API password, and it can’t sign in to the Dashboard
Minimize standing exposure of the secret The Dashboard shows it for 24 hours, then hides it; resends go to the account email only
Refuse credentials in URLs The API accepts them only in the Authorization header
Encrypt traffic in transit The API redirects plain HTTP to HTTPS and sends an HSTS header
Let customers restrict access by network Per-account IP whitelist; other IPs receive error 40207
Make rotation fast and confirm it securely “Reset password” and “Change API login” both require an emailed code
Limit the financial impact of abuse Optional daily spending limits, account-wide or per API or endpoint
Operate a certified security program ISO/IEC 27001:2022 certification

Our information security management system holds certification under ISO/IEC 27001:2022, the international standard for information security management. The independent certification body DP CERTSYSTEMS issued the certificate in October 2025 after auditing our controls. Maintaining this certification requires us to regularly review and continually improve our information security practices. You can verify its validity in the certifier’s registry, read more and download the certificate in DataForSEO Receives ISO 27001 Certification.

Together, these measures set the level of data access security we ensure for every API connection. However, keeping your personal credentials safe and controlling who has access to them remains your responsibility. The FAQ below answers the most common questions about API credentials and authentication. For more information about managing your DataForSEO account, visit our FAQ page.

Credential security FAQ

Is my API password the same as my account password?

No. The account password signs you in to the Dashboard, and the system-generated API password is the only one that authenticates API requests.

Can someone use my API password to sign in to my Dashboard?

No. API credentials only authorize API requests.

I missed the 24-hour window and can’t see my API password. What now?

Open the API Access tab and click Send by e-mail. We’ll send the password to your account email address, along with the encoded Base64 string.

Does resetting my API password break my integrations?

Yes, immediately. The old password and any Base64 strings built from it stop working as soon as you confirm the reset.

Can I whitelist an IP range or an IPv6 address?

No. Each entry must be a single IPv4 address, so you should add a range one address at a time.

What happens if a whitelisted IP changes?

Requests from the new IP will receive error 40207 until you add it in API Access → IP Access.

I think my credentials leaked. What should I do right now?

Reset your API password in API Access first, then follow the steps here: If your credentials leak.

Do I need separate credentials for each DataForSEO API?

No. One credential pair works across all DataForSEO APIs, including the Sandbox, where only the hostname changes.

Summary

Keeping your DataForSEO API credentials secure helps protect your account balance, data, and the reliability of your integrations. If your product relies on DataForSEO data, these measures also help prevent disruptions to your customer-facing features.

Follow the security best practices outlined in this guide: store your credentials securely, keep them out of your source code, limit who has access to them, and reset your API password if you suspect it has been compromised. Where your infrastructure allows, enable IP whitelisting for an additional layer of protection.

Where do I go next?

Explore these resources to help you configure your API integrations and manage your account securely:

➤ API authentication guide with code examples — step-by-step instructions for authenticating with DataForSEO across different tools and platforms.
➤ API authentication documentation — technical details on authenticating your API requests.
➤ How to set payment limits — learn how to manage your spending and limit unexpected expenses.

Was this article helpful?

More in Account & Billing

Common payment processor errors and how to address them How to join the DataForSEO Affiliate Program and earn 25% by referring customers SERP API pricing & depth update FAQ Can I set a limit for my payments to DataForSEO? How to limit the number of duplicate tasks?
logo
ukraine-heart Built with love in Ukraine

Vesivärava tn 50-201, Kesklinna linnaosa, Tallinn, Harju maakond, Republic of Estonia, 10152

63 Profesora Otamanovskoho St , Kharkiv, Ukraine, 61166

Email: [email protected]

  • LinkedIn
  • Facebook
  • X
  • YouTube

APIs

  • SERP API
  • Google Ads API
  • Backlinks API
  • OnPage API
  • DataForSEO Labs API
  • Reviews API
  • App Data API
  • Business Data API
  • Amazon API
  • Google Shopping API
  • Domain Analytics API
  • Content Analysis API
  • AI Optimization API

Databases

  • Google Databases
  • Bing Databases
  • Amazon Database
  • App Store Database
  • Google Play Database
  • Domains Database
  • Backlink Database
  • Business Listings Database

Solutions

  • Backlink App
  • SEO Agency
  • SEO Software
  • Media
  • Ecommerce
  • Market Research
  • Digital Marketing
  • Marketing Tech
  • Scraping Services
  • AI Development

Knowledge Base

  • Blog
  • No-code Templates
  • White Papers
  • Help Center
  • Updates
  • Success Stories
  • DataForSEO Academy

Resources

  • About us
  • FAQ
  • Ukrainian Bravery
  • SERP Features
  • Top 1000 Sites
  • Google Sheets Connector
  • Make Integration
  • DataForSEO Trends Tool
  • Our data
  • Status Page
  • DataForSEO AI Assistant
  • Alternatives
  • Affiliate program

Legal information

  • Privacy Policy
  • Terms of Services

Payment Methods:

Visa
MasterCard
Paypal

Black Friday is here! Get 10% bonus

+10% on every top‑up, up to $100 extra.

Ends in

12 days 00 hours 00 minutes
Get +10% now