# Blocking spammers

**URL:** <https://community.ipinfo.io/t/blocking-spammers/7168>\
**Category:** Support\
**Tags:** api\
**Created:** [November 10, 2025, 6:07pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168 "2025-11-10T18:07:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JimFixIT](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JimFixIT](https://community.ipinfo.io/u/JimFixIT)\
**Post date:** [November 10, 2025, 6:07pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/1 "2025-11-10T18:07:36Z")

</div>

I appreciate the system has changed to make money from volume users. I manage a small company mailserver and have my own internal blocklist. I found IP info useful as if I received more than the odd bit of spam from a particular IP I could look it up and block the service provider’s range of IP’s

With the new system not sure how to do that and my volume of lookups is small, maybe two a week so sales won’t be interested. Not sure how to process Json data but fluent in PHP so where do I start?

---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [November 10, 2025, 6:26pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/2 "2025-11-10T18:26:48Z")

</div>

Hi @JimFixIT

Thank you for posting in the community. The system has changed to aesthetic only. We are currently working on providing a much better and more extensive user experience for all users.

Our data and service have improved and we always have and will retain our intention to help our users, regardless of what tier they are on.

> With the new system not sure how to do that and my volume of lookups is small, maybe two a week so sales won’t be interested.

You have many options.

- Use the enrich dashboard: [Log in to your account - IPinfo.io](https://ipinfo.io/enrich)
- But my personal favorite the IPinfo CLI: [GitHub - ipinfo/cli: Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)](https://github.com/ipinfo/cli)

> Not sure how to process Json data but fluent in PHP so where do I start?

Use the CLI first, please. Understand what is going on. Use the classic IPinfo CLI methods:

```auto
cat log.json | ipinfo greopip -o | sort -u 

```

This will get you all the unique IP addresses from your logs. Now you have multiple options from there.

You can summarize them:

```auto
cat log.json | ipinfo greopip -o | sort -u | curl -XPOST --data-binary @- "ipinfo.io/tools/summarize-ips?cli=1

```

You can do bulk enrichment as well: [Advanced Usage - IPinfo.io](https://ipinfo.io/developers/advanced-usage#bulkbatch-api)

Then after you have used the CLI then look into developing an automated system.

* * *

The issue is that we have transitioned from IP geolocation to IP data to now an internet data company. So the volume of data and service we offer right now requires a bit of time to explore. We are always open to our users and are always happy to help!

Send over your logs, and I will run the queries for you to tell you what to block and we can discuss this further.

---

<div class="post-metadata">

**Author:** ![JimFixIT](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JimFixIT](https://community.ipinfo.io/u/JimFixIT)\
**Post date:** [November 10, 2025, 7:00pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/3 "2025-11-10T19:00:19Z")

</div>

Thanks,

I set up a free account and checked an IP but I need to write some code  
to make sense of the data returned via a web page.

To identify the sender IP range I currently pull data off [whois.iana.org](http://whois.iana.org)  
in php but your system was better.

---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [November 10, 2025, 7:44pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/4 "2025-11-10T19:44:35Z")

</div>

Hi,

> To identify the sender IP range I currently pull data off [whois.iana.org](http://whois.iana.org/)

You can use the IPinfo Lite database downloads. You have to write some code for it, though.

🔗 [Documentation for IPinfo Lite Database - IPinfo.io](https://ipinfo.io/developers/ipinfo-lite-database)

Lookup the IP address form the database, identify the metadata, then look up the ranges from that metadata. Not super difficult. I can provide guidance.

However, if you want the easiest solution, I have to pitch you the [Core API service](https://ipinfo.io/developers/core-api). The Core API service comes with the [ASN API access](https://ipinfo.io/products/asn-api).

Meaning that you have to look up the IP address via the core API or even the Lite API service, get the ASN information, and then get all the ranges that particular ASN operates.

Check out the docs here: [Documentation for ASN API - IPinfo.io](https://ipinfo.io/developers/asn)

The core API is quite affordable in my opinion, but it is the best value for your money you can imagine.

🔗 [Documentation for IPinfo Core API - IPinfo.io](https://ipinfo.io/developers/core-api)

However, you can still achieve your goals through our lite tier.

---

<div class="post-metadata">

**Author:** ![JimFixIT](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@JimFixIT](https://community.ipinfo.io/u/JimFixIT)\
**Post date:** [November 10, 2025, 8:47pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/5 "2025-11-10T20:47:50Z")

</div>

Thanks, I’ll take a look at it on Saturday which is my software  
development day. I have an API key.

I’ve been writing programs for a living since 1969 and still like it.

---

<div class="post-metadata">

**Author:** ![Abdullah](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.ipinfo.io/abdullah/32/4973_2.png) [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Post date:** [November 10, 2025, 9:38pm UTC](https://community.ipinfo.io/t/blocking-spammers/7168/6 "2025-11-10T21:38:59Z")

</div>

> [@JimFixIT](#):
>
> Thanks, I’ll take a look at it on Saturday which is my software  
> development day. I have an API key.

Just let me know if you come across any issues. I just want to mention this again, if you ever feel like we provide limited access to any users, please let me know. We really do not ever want to come off like that.

We have so much data; we are trying to make our users explore these data and understand which data works for them.

We now provide IP geolocation, residential proxy data, and in the future IP address to POI data (hotels, conferences, data center, etc.). Also, we have a research program which offers hundreds of network measurement datasets.

We started as a lemonade stand, but the scope of services has reached such a point where we have to really work on our aesthetics to differentiate us between a warehouse and an ecommerce! But in spirit, we maintain that lemonade stand service: making one lemonade at a time and serving one customer at a time.

I work on the weekends, if you have any questions, let me know, please. I will be happy to help.

> [@JimFixIT](#):
>
> I’ve been writing programs for a living since 1969 and still like it.

That is wild! You are one of those greybeards, everyone talks about it!

Do take a look around the documentation pages, we incorporated a raw markdown output that you can simply paste in any page and get AI to write the code.

![msedge_9XJeqeFH4E](https://canada1.discourse-cdn.com/flex035/uploads/ipinfo/original/2X/1/11fc2e5283814dc7e491aca7fd32e18850da561e.gif)
