What is PetalBot?
Huawei · Search indexes · User agent only
PetalBot is Huawei's search engine crawler. Builds the index for Huawei's Petal Search, so pages can be found there and recommended in Huawei Assistant and AI Search.
A visit usually means: The page is being discovered or refreshed so it can appear in search or AI search results.
PetalBot user agent
The full user agent strings, as Huawei publishes them:
- User-Agent
Mozilla/5.0 (compatible;PetalBot;+https://webmaster.petalsearch.com/site/petalbot) - User-Agent
Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
Version numbers change, so match the token PetalBot anywhere in the user agent, ignoring case. Source: Huawei's crawler documentation, checked Nov 18, 2026.
Reading the string
- It starts with Mozilla/5.0, like a browser, so a filter that only checks the start of the string will miss it.
- It carries a link, https://webmaster.petalsearch.com/site/petalbot, so anyone reading their logs can look the crawler up.
Paste a string from your logs into the user agent parser to see which crawler it is. New to the term? Read what a user agent is.
Block or allow PetalBot in robots.txt
Huawei says PetalBot follows robots.txt.
User-agent: PetalBot
Disallow: /User-agent: PetalBot
Disallow: /private/User-agent: PetalBot
Allow: /A crawler follows the most specific group that names it, so a rule here overrides your User-agent: * group for this crawler. Well-behaved crawlers re-read robots.txt within about a day.
PetalBot IP ranges and verification
Huawei publishes no IP ranges for PetalBot, so requests are identified by user agent only and recorded as unverified. Anyone can send this user agent.
Check by reverse DNS
Huawei documents a DNS check you can run on any IP in your logs: a reverse DNS lookup of the request's IP should return a hostname ending in petalsearch.com, and a forward lookup of that hostname should return the same IP.
host <ip> # → a name ending in petalsearch.com
host <that name> # → the same <ip>What PetalBot means for your traffic and revenue
PetalBot decides whether your pages can appear in Huawei's search results. Blocking it takes you out of them, along with the visitors and sales that search sends.
Most crawlers never run JavaScript, so browser analytics can't see them, and the ones that do shouldn't count as visitors. MetricRaven's tracker ignores PetalBot, and server-side crawl tracking shows which pages it reads instead. See Bots & AI crawlers.
Questions
- What is PetalBot?
- Builds the index for Huawei's Petal Search, so pages can be found there and recommended in Huawei Assistant and AI Search. MetricRaven groups it under Search indexes: search engines and AI search keeping their index fresh.
- What is the PetalBot user agent?
- Huawei documents this user agent: "Mozilla/5.0 (compatible;PetalBot;+https://webmaster.petalsearch.com/site/petalbot)". Match the token "PetalBot" rather than the whole string, because version numbers change.
- How do I block PetalBot in robots.txt?
- Add "User-agent: PetalBot" followed by "Disallow: /" to your robots.txt. Huawei says PetalBot follows robots.txt.
- Does PetalBot publish IP ranges?
- No list, but Huawei documents a DNS check: a reverse DNS lookup of the request's IP should return a hostname ending in petalsearch.com, and a forward lookup of that hostname should return the same IP.
- Is PetalBot safe?
- The real PetalBot only requests public pages, and Huawei documents it. The risk is impostors using its name. Whether to allow it depends on what you get back: the page is being discovered or refreshed so it can appear in search or AI search results.
See when AI assistants and crawlers read your site
Add one line to your server and MetricRaven shows which assistants, search engines and training crawlers request your pages, which ones are IP-verified, and the URLs they expected to find, including 404s.