How to allow SwappsyBot, Swappsy's link checker

Updated 3 min read

When you paste a page in a deal, or add a backlink to watch, Swappsy's link checker opens that page about once a day and looks for the link.

Some sites block automatic visitors, most often Cloudflare's bot protection or the Sucuri firewall. Then Swappsy can't confirm your link, even when it's on the page: the deal shows it as Pending, and your partner's days start only once it's confirmed. A blocked page counts as placed for 7 days from when you pasted it.

What SwappsyBot is

User agent: Mozilla/5.0 (compatible; SwappsyBot/1.0; +https://swappsy.net/knowledge-base/swappsybot)

It only opens pages members gave Swappsy to check (a page in a deal, a watched backlink, a marketplace order, or a homepage being verified), reads them, and never fills in forms or signs in.

How to recognize SwappsyBot

Every request from SwappsyBot carries two things:

  • The user agent above. Use it to find SwappsyBot in your logs. Anyone can copy a user agent, so it doesn't prove who sent a request.
  • A signature (Web Bot Auth). Each request is signed with Swappsy's private key and carries the headers Signature-Agent ("https://swappsy.net"), Signature-Input and Signature. The public key is at https://swappsy.net/.well-known/http-message-signatures-directory. A signature can't be forged, so it is what proves a request really comes from Swappsy. Each one is valid for 60 seconds.

The user-agent rules below are the quick way to let SwappsyBot in. Once SwappsyBot is a Cloudflare verified bot, Cloudflare checks the signature for you.

How SwappsyBot treats robots.txt

SwappsyBot reads and follows robots.txt (RFC 9309) on every site it opens.

  • Before it opens a page, it reads that site's /robots.txt and keeps it for up to 24 hours. After a redirect, it reads the robots.txt of the new site too.
  • It follows the group for SwappsyBot. If there is none, it follows the User-agent: * group. It obeys Allow and Disallow (the longest matching rule wins; * and $ work) and never opens a page they don't allow.
  • If robots.txt answers 404 or another 4xx, everything is allowed. If it can't be reached (a 5xx, a 429 or a timeout), SwappsyBot opens no page on the site and tries again later.
  • Crawl-delay: SwappsyBot never sends a request to a site sooner than its Crawl-delay after the previous one, however long the delay is. A delay of up to 15 seconds is waited out; a longer one moves the check to a later run.

To block SwappsyBot:

User-agent: SwappsyBot
Disallow: /

To slow it down:

User-agent: SwappsyBot
Crawl-delay: 60

If your robots.txt blocks SwappsyBot, Swappsy can't confirm links on your pages: a page pasted in a deal counts as placed for 7 days, then the step counts as not done. To let it in:

User-agent: SwappsyBot
Allow: /

Who operates Swappsy and SwappsyBot

Swappsy (swappsy.net) and its link checker SwappsyBot are operated by TodayBirthday.in, a sole proprietorship owned by Devang Patel and registered in India under the Ministry of Micro, Small and Medium Enterprises (Udyam registration UDYAM-GJ-22-0656962, Surat, Gujarat). Swappsy.net is a registered unit of this business. Contact: myswappsy@gmail.com.

Cloudflare Pro, Business or Enterprise

  1. In Cloudflare, open your site.
  2. Go to Security > Security rules (older dashboards: WAF > Custom rules) and choose Create rule.
  3. Name: Allow SwappsyBot. Field: User Agent. Operator: contains. Value: SwappsyBot
  4. Action: Skip. Tick All remaining custom rules and Super Bot Fight Mode.
  5. Deploy, and move the rule to the top.

Cloudflare Free plan

On the free plan, your own rules can't skip Bot Fight Mode. You can turn it off (Security > Bots), or wait: Swappsy is applying to Cloudflare's verified bots, which Bot Fight Mode lets through. We'll update this page when it's approved.

If I'm Under Attack mode is on, it stops every visitor, bots included: turn it off when you're not under attack.

Sucuri and other firewalls

Allow visitors whose user agent contains SwappsyBot, or ask your firewall's support to do it.

After the change

Nothing to do on Swappsy. Within a day the deal shows your link as Live, if it's on the page.

Still stuck? Contact us and tell us which step you're on.