
Gravity Forms already gives you tons of tools to protect your forms from spam and malicious actors, including built-in anti-spam features and integrations with services like Cloudflare Turnstile, reCAPTCHA, Akismet, and others.
With the Gravity Forms Abuse IPDB Add-On, you can access yet another way to protect your forms by screening entries against AbuseIPDB’s crowd-sourced database of abusive IP addresses.
In this post, we’ll introduce you to what AbuseIPDB is and what the AbuseIPDB Add-On does.
Then, we’ll show you step-by-step how to set up the Gravity Forms AbuseIPDB Add-On to start protecting your forms from abusive IP addresses.
Let’s get into it…
What is AbuseIPDB?
AbuseIPDB is a community-powered IP reputation database. You can see that in the name – it’s a database (DB) of abusive IP addresses. That is, IP addresses associated with malicious actions such as spam, hacking, DDoS attacks, etc.
Webmasters from around the world can report malicious IP addresses to AbuseIPDB. Based on those reports, each IP address gets a confidence score from 0-100. This score is recalculated daily and reflects details such as the number of reports and how recently it’s been reported (with older reports holding less weight).
AbuseIPDB has both free and paid plans, but most WordPress sites will be fine using the free plan.
What does the Gravity Forms AbuseIPDB Add-On do?
With the Gravity Forms AbuseIPDB Add-On, you can integrate your forms with AbuseIPDB to help protect your site from spam or other malicious activity.
When someone submits a form on your site, Gravity Forms will use the AbuseIPDB API to check the IP address of the form submitter against AbuseIPDB.
After checking the IP address against AbuseIPDB, AbuseIPDB will send back a confidence score, which is a numerical representation of how likely the IP address is to be malicious/spammy in AbuseIPDB’s estimation.
The add-on then lets you set your own confidence threshold for whether the submission should be flagged or not. Essentially, this gives you the ability to control how strict your forms should be.
Here’s a quick rundown of some specific features that you’ll be able to access with the add-on:
- Report lookback period – You can choose how far back you want to look for reports against an IP address – anywhere from one day to an entire year. This can be useful because the users of IP addresses can change. So, just because an IP address was used maliciously a year ago, that doesn’t mean it’s currently being used by a malicious actor.
- Custom confidence threshold – You can fully control the confidence score threshold for marking an entry as spam based on the AbuseIPDB results, which lets you adjust how strict or permissive you want to make things.
- Country blocklist – You can choose to block submissions from IP addresses associated with entire countries, regardless of the IP’s score. For example, you could block all form submissions from IP addresses in Vietnam.
- Domain blocklist – You can choose to block submissions from IP addresses associated with a specific domain, such as a certain internet service provider, regardless of the IP’s score.
- Report spam entries to AbuseIPDB – When you manually mark an entry as spam, you can automatically report that IP address to AbuseIPDB. That way, you’re also contributing to the AbuseIPDB database.
- Global and per-form controls – You can enable/disable AbuseIPDB protection for all your forms by default, while also manually adjusting it on a per-form basis if needed.
How to get started with the Gravity Forms AbuseIPDB Add-On
Now, let’s shift gears and get into the actual step-by-step guide for how to set up the AbuseIPDB Add-On on your own site.
Below, we’ll cover every step in the process, including getting your AbuseIPDB API key, connecting Gravity Forms to AbuseIPDB, and setting up your own customized protection rules.
1. Install the AbuseIPDB Add-On
To get started, you’ll want to install and activate the AbuseIPDB Add-On on the site where you’re using Gravity Forms.
The AbuseIPDB Add-On is available on every single Gravity Forms license. So, as long as you have an active license, you’ll have access to it.
If you don’t currently have a Gravity Forms license, you can purchase one here.
Assuming you’ve already installed the core Gravity Forms plugin and added your license key, here’s how to install the AbuseIPDB Add-On:
- Open your WordPress dashboard.
- Go to Forms → Add-Ons.
- Find the AbuseIPDB add-on in the list.
- Click Install.
- Once the installation finishes, make sure to Activate the add-on on your site.

2. Register for a free AbuseIPDB account
To connect your site to AbuseIPDB, you’ll first need to register for an AbuseIPDB account, which will allow you to create an API key in the next step.
This API key will be free to use for most WordPress sites. With the free key, you already get 1,000 IP checks/reports per day. That is, you can check 1,000 form submissions per day, which is more than enough for most sites.
If you need to exceed that, the Basic plan supports 10,000 daily checks starting at $19 per month.
To create your free account, you can click this link or click Register Now For An API Key on the AbuseIPDB homepage.
3. Create your AbuseIPDB API key
Once you’ve registered for an account, you need to create an AbuseIPDB API key, which is what Gravity Forms will use to connect to the service.
Open the AbuseIPDB dashboard and go to My API → Keys. Or, you can click this link to go straight to the page.
Give your API key an internal name – e.g. “Gravity Forms”. Then, click Create.

You should then see the API key appear under the API Keys heading. Copy the value of your API key to a safe spot because you’ll need it in the next step.

4. Connect Gravity Forms to AbuseIPDB and configure settings
Once you have your API key copied to a safe spot, you’re ready to connect Gravity Forms to AbuseIPDB:
- Open your WordPress dashboard.
- Go to Forms → Settings.
- Select the AbuseIPDB tab in the Gravity Forms settings area.
- Paste in your AbuseIPDB API key.
- Click Save Settings.

Once you add your API key and click Save Settings, you should see a green checkmark appear along with some additional settings to configure how the connection should work.
In the AbuseIPDB Basic Settings box, you can make two additional choices:
- Days – This sets the number of days to check for issues with the IP address. For example, the default “30” would look for reports within the last 30 days. If you changed it to 365 (the max), it would check for any reports within the last year.
- Abuse Confidence Score – This lets you control how aggressive/strict to be. Making the number higher will make it less strict because Gravity Forms will only flag submissions where AbuseIPDB is very confident that the IP address is spammy. If you make the number lower, it will be more strict because Gravity Forms will flag submissions even if AbuseIPDB isn’t that confident that the IP address is spammy. We recommend starting with the default “50” and moving the number higher or lower depending on your experience.

Below, you get three additional settings, all of which are optional. If you’re not sure about anything, you can just leave these settings as the defaults/empty.
In the AbuseIPDB by Default box, you can choose whether to enable AbuseIPDB protection on all your forms by default.
Even if you enable it by default, you can still manually disable it on individual forms if needed. And vice versa – if you disable it by default, you can still manually enable it on individual forms if needed.
Below that, you can make two final choices in the Blocklist Settings box:
- Country Codes Blocklist – This lets you manually block any IP address from the countries that you specify, regardless of the IP’s score. Enter each country’s uppercase Alpha-2 code, separating each country with a comma.
- Domains Blocklist – This lets you block specific domains, regardless of the IP score. Enter one lowercase domain per line. Later on, we’ll show you how to see the domains of malicious addresses, which can help you build your own blocklist.
Once you’ve made all of your choices, make sure to click Save Settings at the bottom.

5. Enable/disable AbuseIPDB for individual forms (optional)
As we showed you above, you can choose whether to enable or disable AbuseIPDB protection as the default for all of the forms on your site.
Regardless of your choice in that setting, you still have the option to manually enable or disable AbuseIPDB protection for an individual form.
To do this, first open the editor for the form for which you want to adjust the AbuseIPDB behavior.
Then, go to Settings → AbuseIPDB inside the form editor. You can then use the toggle to enable or disable AbuseIPDB for that specific form.
Make sure to click Save Settings once you’ve made your choice.

How to view AbuseIPDB details/spam entries
Once you’ve enabled AbuseIPDB for some/all of your forms, it will start protecting those forms automatically.
You have a few ways to view information from AbuseIPDB, as well as flagged entries.
First, you can view four pieces of information in the form entries list:
- AbuseIPDB Score – The score that affects the confidence threshold that we discussed earlier.
- AbuseIPDB CC – The country of the IP address. You can use this to adjust your Country Codes Blocklist if needed.
- AbuseIPDB Domain – The domain of the IP address. You can use this to adjust your Domain Blocklist if needed.
- AbuseIPDB Total Reports – The total number of reports for the IP address within the number of days that you specified in the add-on’s settings.
If you don’t see this information by default, you can enable it by clicking the gear icon to adjust which columns to display in the list of entries.

Inside the entry details interface, you’ll also get a metabox that provides the AbuseIPDB details for that specific entry, along with the exact IP address.

You can click the IP address’s link to open the full details page for that IP address on AbuseIPDB.

To find entries that AbuseIPDB has flagged as spam, you can go to the Spam tab in the entry list.

Whenever you manually flag an entry as spam, Gravity Forms will also report that IP address to AbuseIPDB. In that way, you’re both benefiting from and contributing to AbuseIPDB.
You can see this in the Notes section of the form entry details.

Try the Gravity Forms AbuseIPDB Add-On today
With the Gravity Forms AbuseIPDB Add-On, you can access a new way to protect your WordPress forms from malicious actors, while also contributing to AbuseIPDB via the add-on’s two-way reporting functionality.
The add-on is available on all Gravity Forms licenses, so you can get started right away if you have an active license. If you don’t have an active license yet, you can purchase one here.
As we mentioned earlier, the AbuseIPDB Add-On is just one of the many options that Gravity Forms gives you to protect your forms from spammers and other malicious actors.
You can also access other integrations and core features such as Cloudflare Turnstile, Google’s reCAPTCHA, Akismet, honeypots, submission speed checks, and more.
If you want to learn more about all your options, check out our ultimate guide to WordPress form spam protection.

