Link preview fetcher
What is Slackbot?
At a glance
- Operator
- Slack
- Kind
- Link preview fetcher
- robots.txt token
Slackbot
Block it
robots.txt
User-agent: Slackbot
Disallow: /- Follows robots.txt
- No: Slack says it does not currently honour robots.txt files.
- Verify a real hit
- Slack publishes no IP ranges or DNS check; it only says each robot identifies itself by its user agent.
- Operator’s page
- api.slack.com/
robots
User agent
Slackbot-LinkExpanding 1.0 (+https://api.slack.com/robots)The link unfurling robot. Slack also lists Slackbot 1.0 and Slack-ImgProxy 0.19 with the same link in brackets.
Slackbot is how Slack unfurls links: when someone posts your URL in a Slack channel, it fetches as little of the page as it can to read the oEmbed, Twitter Card and Open Graph tags, then the image they point to. Responses are cached for about 30 minutes.
Checked against Slack’s own documentation on
Allow or block Slackbot in robots.txt
Add the group to the robots.txt at the root of each host. A group that names the bot replaces your * rules for it, so repeat any paths you still want kept out.
Allow
robots.txt
User-agent: Slackbot
Allow: /To block it instead, copy the lines under Block it, in At a glance.
Slack says it does not honour robots.txt, so these rules do nothing for Slackbot.
What blocking or allowing it changes
A robots.txt rule has no effect: Slack says it stopped honouring robots.txt because it acts for one person and does not follow links. To stop previews, Slack asks site owners to contact it directly, or you can refuse the user agent at your server.
Blocked, links to your site in Slack show without a title or image. Most sites leave it alone.
How CrispStats shows Slackbot
Slackbot is not on CrispStats’s AI crawler list, so its hits are not reported. If it ever runs the analytics script, the collector recognises the self-identified bot and drops the event before anything is stored, so it never shows up as a visitor.
Crawler questions. Straight answers.
What people ask about this crawler.
No. Slack says it does not currently honour robots.txt, because it acts on behalf of a person and does not crawl.
Slack says responses are cached globally for about 30 minutes.
Not answered here? Write to hello@crispstats.com
Sources
Slack pages we read, checked
- Slackapi.slack.com
Similar bots
Twitterbot
Twitterbot is the fetcher X uses to build cards: when someone posts your URL on X, it reads the page’s card and Open Graph tags to show a title, description and image under the post.Link preview fetcheria_archiver
ia_archiver is a robots.txt token long associated with web archiving and the Wayback Machine.Archive crawlerDiffbot
Diffbot runs crawls that extract structured data from web pages for its customers.Other crawlerGoogle-CloudVertexBot
Google-CloudVertexBot crawls sites at their owner’s request, to build agents in Google’s Vertex AI.Other crawler
Read more
Guides
- Should you block AI crawlers? Training, search and user bots compared
Blocking a training bot keeps you out of future models; blocking a search or user bot keeps you out of answers.
Tools and terms
Your traffic, crisp and clear
One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.