Twitterbot
Link and preview fetcher operated by X Corp
X Corp
Operator
Reverse DNS
Verification
Twitterbot
robots.txt token
Yes
Honours robots.txt
What Twitterbot is
Twitter/X card preview fetcher.
Its robots.txt token is Twitterbot , and it is listed as honouring robots.txt. Operator documentation: X Corp .
Verifying it yourself
Use a forward-confirmed reverse DNS lookup. The hostname must end in .twitter.com , .twttr.com , and must resolve back to the address you started with:
# 1. reverse lookup: hostname should end in .twitter.com, .twttr.com
dig +short -x 203.0.113.42
# 2. forward lookup: must return the address you started with
dig +short that-hostname.twitter.comSwap in the address you are checking. Never trust the User-Agent on its own: it is a header the client picks for itself.
Blocking it
If you want the real crawler to stay away, robots.txt is the polite way to ask:
User-agent: Twitterbot
Disallow: /robots.txt only works on a client willing to obey it, which rules out every request that was already lying about who it is. Stopping those takes enforcement at the network or application layer, keyed on something the client cannot simply retype. That is the problem WebDecoy exists to solve.
Frequently Asked Questions
What is Twitterbot? +
Twitterbot is a link and preview fetcher operated by X Corp. Twitter/X card preview fetcher.
How do I verify Twitterbot? +
Use a forward-confirmed reverse DNS lookup. Resolve the source address to a hostname, check that the hostname ends in .twitter.com, .twttr.com, then resolve that hostname and confirm it returns the address you started with. A reverse record on its own proves nothing.
How do I block Twitterbot? +
Add a robots.txt rule for the token Twitterbot. That stops the real crawler, but not clients that only borrow its name, so pair it with verification and enforcement at your edge.
Related crawlers
- AdsBot-Google Google
- Discordbot Discord
- Embedly Medium
- Facebook Meta
- Facebot Meta
- Google-Read-Aloud Google
- Google-Safety Google
- Iframely Iframely
- KakaoBot Kakao
- LinkedInBot LinkedIn
- OAI-AdsBot OpenAI
- Pinterest Pinterest
See which Twitterbot requests are real
WebDecoy verifies declared crawlers against what their operators publish and identifies the ones that fail, as persistent actors rather than disposable IPs.