---
title: If your IP has been banned
sidebar_label: If you have been banned
sidebar_position: 9
description: ElectroSwap firewall-bans addresses that keep hitting the private /graphql and /api endpoints. Why it happened, and how to get unbanned and stay unbanned.
keywords: [ip ban, firewall ban, banned, scraping, private endpoints, unban]
---

# If you have been banned

ElectroSwap automatically bans IP addresses that keep requesting private
endpoints. If the app, the docs and the API have all stopped working from your
network, this is the likely reason.

## Why it happened

`/graphql` and `/api/` serve the ElectroSwap interface. They are not a public
API, and ElectroSwap will not tolerate them being scraped.

Requests to those endpoints are refused. The first refusals carry a warning 
explaining this and pointing at the public API. If the requests continue past 
that warning, the address is automatically handed to the firewall for banning.

Common innocent causes:

- An AI agent or research tool crawling the site and following the API calls it
  observed in the browser.
- A script, bot or dashboard built against `/graphql` because it was the
  endpoint that happened to work.
- A shared address — an office, a VPN, a cloud NAT — where somebody else on the
  same egress IP did one of the above.

## What to do

1. **Stop the requests to `/graphql` and `/api/`.** A ban that is still being
   fed will not be lifted.
2. **Use the public API instead.** See the [overview](./overview.md).
3. **Ask us to lift it.** Reach out on
   [Telegram](https://t.me/ElectroSwap) or
   [Discord](https://discord.gg/mrkbkTPBmn) with the IP address you are coming
   from and roughly what you were trying to do. Bans are lifted by hand and we
   are not precious about it — the point is to stop the load, not to punish
   anyone.

If you were building something genuinely useful, tell us what you needed. It is
useful input into what the public API exposes.
