Spyglasses user agent
Key Takeaways
- Spyglasses: Fetches pages on demand for AI visibility and readiness analyses and resolves redirects in AI citations.
- Spyglasses uses the operator-documented robots.txt token SpyglassesBot.
- Spyglasses has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.
Operated by Spyglasses
Spyglasses: Fetches pages on demand for AI visibility and readiness analyses and resolves redirects in AI citations.
What identifies Spyglasses?
| Identifier | SpyglassesBot |
|---|---|
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
What is Spyglasses?
Spyglasses: Fetches pages on demand for AI visibility and readiness analyses and resolves redirects in AI citations.
The operator documentation linked below describes this service. Use the documented identity to investigate requests, and verify the sending infrastructure separately: a User-Agent header can be copied by another client.
Purpose-specific suffixes vary; the common named token is SpyglassesBot. Source.
Explicit wildcard and bot-specific robots rules including crawl-delay. Source.
- Purpose-specific suffixes vary; the common named token is SpyglassesBot.
- Explicit wildcard and bot-specific robots rules including crawl-delay.
Should you block Spyglasses?
Choose whether to allow Spyglasses based on its documented purpose, the service you use and the load it places on your website.
| Effect on search rankings | An SEO-tool crawl is distinct from Google or Bing indexing. |
|---|---|
| Effect on AI visibility | Blocking can limit the tool's future collection or your audits; previously collected data or links from other sources may remain. |
| Follows robots.txt | Yes |
| Recommendation | Your choice |
How to decide whether to allow Spyglasses
Start with the operator documentation linked in this profile. Check the source.
- Product feature: Separate audits you or an agency scheduled from third-party discovery and backlink collection. Check tool schedules and server logs before restricting traffic. Coordinate with whoever owns an active audit.
- Access policy: Check the paths and hosts covered by the published or reported policy. A robots.txt rule is not an access control.
- What to check in logs: Look for
SpyglassesBot, then compare the paths, response codes and request volume before and after your change. Use the token as a starting point in logs. This profile does not list an IP range or reverse DNS method, so the user agent alone is insufficient to verify the operator.
How do you block or allow Spyglasses?
Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token SpyglassesBot is matched case-insensitively.
robots.txt: block
# Block Spyglasses
User-agent: SpyglassesBot
Disallow: /robots.txt: allow
# Allow Spyglasses
User-agent: SpyglassesBot
Allow: /robots.txt: partial
# Keep Spyglasses out of private areas only
User-agent: SpyglassesBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to Spyglasses
if ($http_user_agent ~* "(SpyglassesBot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to Spyglasses
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (SpyglassesBot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "SpyglassesBot")How can you verify Spyglasses traffic?
No IP list or reverse-DNS method for Spyglasses is linked in this profile. The header alone cannot authenticate the sender. Anyone can send the same string. Rate-limit unusual volume instead of trusting the name.
How do you find Spyglasses in server logs?
Search the web server access log for the literal identifier. The command below counts candidate SpyglassesBot requests per URL on Nginx or Apache.
grep -iF -- 'SpyglassesBot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.
Spyglasses FAQ
Spyglasses uses the robots.txt token "SpyglassesBot". No full user-agent sample is recorded in this profile. Treat a token match as a candidate identity, not authentication.
Spyglasses states that Spyglasses follows robots.txt rules. Check the documented scope and any exceptions on this profile.
An SEO-tool crawl is distinct from Google or Bing indexing. Blocking can limit the tool's future collection or your audits; previously collected data or links from other sources may remain.
Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: SpyglassesBot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.
Not reliably. Spyglasses verification is not established by the links recorded for Spyglasses. Anyone can send the same user-agent string; investigate source addresses and request behavior before trusting it.
Search your server access log for "SpyglassesBot", for example with: grep -i "SpyglassesBot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.
Sources: Spyglasses crawler documentation. Content updated by Justin Hà.
See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.