Introducing the Azzamo Ban API: Keeping Our Nostr Relays Spam-Free

At Azzamo, ensuring a spam-free and high-quality experience across our Nostr relays is a top priority. To achieve this, we’ve launched the Azzamo Ban API—a powerful tool designed to centralize and simplify the management of blocked public keys, words, and IPs. This API ensures that all Azzamo relays maintain clean, efficient, and reliable operations.


Accessing the Azzamo Ban API

The Azzamo Ban API provides open access to important blocklists and moderation tools via public URLs, ensuring transparency and ease of use for both administrators and users. Below are the endpoints you can use:


Available Public Endpoints

  1. Retrieve Blocked Public Keys
    URL: https://ban-api.azzamo.net/blocked/pubkeys
    Description: Access the complete list of public keys currently blocked across Azzamo relays.
  2. Retrieve Blocked Words
    URL: https://ban-api.azzamo.net/public/blocked/words
    Description: View the list of blocked words used to filter spam and unwanted content.
  3. Check Public Key Status
    URL: https://ban-api.azzamo.net/blocked/pubkeys/status
    Description: Verify if a specific public key is currently blocked or temporarily banned.
    Parameter: pubkey (the public key to check).
  4. Retrieve Public Blocked Public Keys
    URL: https://ban-api.azzamo.net/public/blocked/pubkeys
    Description: Access a public list of all blocked public keys for transparency.

Why the Ban API is Essential for Spam Control

  1. Unified Defense Across Relays
    The Ban API synchronizes blocklists across all Azzamo relays, creating a consistent and robust defense against spam and abusive behavior.
  2. Efficient Moderation
    Centralized blocklist management reduces the complexity of maintaining individual relay protections, allowing us to focus on improving the user experience.
  3. Transparency for Users
    With public access to blocklists and status-checking tools, the Ban API fosters trust within the Nostr community by showing how spam is actively mitigated.

Experience a Spam-Free Future with Azzamo

The Azzamo Ban API is already integrated into all our relays, ensuring clean and efficient operations for every user. Whether you’re an admin managing relays or a user verifying blocked keys, the API is designed to provide clarity and confidence in the quality of our relays.

Explore the Azzamo Ban API today by visiting the links above. For more information about our services and innovations, visit azzamo.net.

Learn about Nostr, Lightning & Azzamo

More Articles