# PetalBot: Huawei's Petal Search crawler

> For the complete documentation index, see [llms.txt](https://attensira.com/llms.txt).
> Every page on this site is also served as Markdown: append `.md` to any URL, or send `Accept: text/markdown`.

> PetalBot indexes for Petal Search, which Huawei says also powers Huawei Assistant and AI Search. Token, headers, what blocking costs, and how to verify it.

- Canonical page: https://attensira.com/bots/petalbot
- Family: bots
- Last updated: 2026-10-04
- Author: Karl-Gustav Kallasmaa (https://attensira.com/about)
- Claims as data: https://attensira.com/claims.json?slug=petalbot

**In short:** PetalBot is the crawler for Huawei's Petal Search. Huawei documents that its index also powers content recommendations in Huawei Assistant and AI Search, so one block removes you from all three. It respects robots.txt, but clearing pages already indexed can take months. Verify a visit by reverse DNS with a forward lookup, because the header alone proves nothing.

AI traffic on attensira.com, 30 days to 2026-10-04 (Attensira AI traffic board, n=143,601 requests): no request filed as PetalBot. User agents as sent, not checked against address lists.

The other search engine crawlers, with attensira.com's rule for each:

- Googlebot-Image: Follows Googlebot
- Googlebot-Video: Follows Googlebot
- GoogleOther-Image: Follows GoogleOther
- Kagibot: No named group
- Applebot: Allowed by name
- bingbot: Allowed by name
- Googlebot: Allowed by name
- GoogleOther: Allowed by name

## How do I allow or block PetalBot in robots.txt?

Paste this into the robots.txt at the root of your domain.

```
# Block Petal Search entirely — this removes you from Petal's services.
User-agent: PetalBot
Disallow: /

# Or the conditional form Huawei's own page gives, in place of the line above:
# Allow: /w/api/
# Disallow: /trap/
```

We do not name PetalBot. It falls through to the wildcard group, which allows everything except /api/.

```
# No group names PetalBot, so it reads the wildcard group.
User-agent: *
Allow: /
Disallow: /api/
```

## Who runs PetalBot, and what is it for?

- robots.txt token: `PetalBot`
- Operator: Huawei (https://www.huawei.com)
- What the fetch is for: Search indexing. Indexes pages for Petal Search, whose index Huawei says also powers content recommendations in Huawei Assistant and AI Search.
- robots.txt: Operator states it respects robots.txt
- Operator documentation: https://aspiegel.com/petalbot (read 2026-09-04)

## What does one PetalBot rule reach?

In the four-way taxonomy of the [AI crawler guide](/guides/ai-crawler-guide) this is search indexing. What sets PetalBot apart is that the surfaces are plural and the control is not. OpenAI and Google publish separate tokens for separate jobs; Huawei publishes one. Petal Search, Huawei Assistant and AI Search are decided together, and Huawei says a ban makes your pages and all search engine services provided by Petal unsearchable.[^petalbot-blocking-cost]

There is no rule that keeps the search listing and declines the AI recommendation, because the operator has not published a token for it.

## Why are my pages still in Petal Search after a block?

Huawei says clearing index information already established may take several months after PetalBot stops accessing the pages.[^petalbot-index-lag] Escalating to a network-layer block does not speed that up. It only stops PetalBot from recrawling the pages, which leaves the stale entries where they are.

## How do I verify that a visit really came from PetalBot?

Reverse-resolve the address, check the domain, then forward-resolve the hostname and confirm it returns the original address.[^petalbot-verification] Huawei's written step names `aspiegel.com`, while its worked example resolves to a `petalbot-114-119-128-10.petalsearch.com` hostname, so this page accepts both suffixes. The forward lookup is what settles it: a reverse record alone is set by whoever holds the address block. The full procedure is in [verifying a crawler](/guides/ai-crawler-guide/verifying-a-crawler).

Reverse DNS: look up the accessing IP, confirm the hostname ends in one of these, then forward-look-up that hostname and confirm it returns the same IP.

- `aspiegel.com`
- `petalsearch.com`

Huawei's written instruction says to verify that the domain name is in aspiegel.com, while the worked example on the same page resolves an address to a petalbot-...petalsearch.com hostname. Both are recorded here because the operator publishes both; the forward lookup back to the original address is the step that actually settles it.

## What user-agent string does PetalBot send?

Match the token, never the version. A rule pinned to a version stops matching silently the next time the operator ships.

```
Mozilla/5.0 (compatible;PetalBot; +https://webmaster.petalsearch.com/site/petalbot)
```

Carries a version the operator increments; check the operator's page before relying on the exact string.

## What does allowing PetalBot cost?

Allowing it costs crawl load and keeps you in Petal Search, Huawei Assistant and Huawei's AI Search, which all draw on the same index. Blocking it removes you from all three, and pages already indexed can take months to clear.

## Should I allow PetalBot in my situation?

- **PetalBot is adding noticeable load and you are deciding whether to block it outright.** Use path rules first, and treat a whole-site disallow as withdrawing from Petal's services. Huawei states that banning PetalBot will make the pages on your site and all search engine services provided by Petal unsearchable in the Petal search engine, and separately that it adjusts crawling based on factors including server capacity and site quality. A scoped rule usually addresses the load without the second cost.

- **You blocked PetalBot weeks ago and your pages still appear in Petal Search, so you assume the rule was ignored.** Verify the rule is being read, then wait, rather than escalating to a network block. Huawei documents that it takes time to update data in the search engine index database, and that clearing index information already established may take several months after PetalBot has stopped accessing the pages. Continued presence in results is therefore consistent with the rule working exactly as documented.

- **A log filter written from a blog post is not matching the PetalBot traffic you can see in raw logs.** Match the bare token PetalBot, case-insensitively, rather than either published header. The two published headers differ in whitespace in a way that is easy to normalise away by accident — the PC form has no space after "compatible;" and the mobile form has none before the plus sign. A filter written against a retyped full string misses one of the two forms and reports a fraction of the real traffic.

[^petalbot-blocking-cost]: Huawei states that banning PetalBot from accessing a site will make the pages on that site and all search engine services provided by Petal unsearchable in the Petal search engine. Source: https://aspiegel.com/petalbot (retrieved 2026-09-04).
[^petalbot-index-lag]: Huawei states that it takes time to update data in the search engine index database, and that although PetalBot has stopped accessing the pages on a site it may take several months to clear the page index information that has already been established. Source: https://aspiegel.com/petalbot (retrieved 2026-09-04).
[^petalbot-verification]: Huawei documents verifying PetalBot by running a reverse DNS lookup on the accessing IP address, verifying that the domain name is in aspiegel.com, then running a forward DNS lookup on that domain name and verifying it matches the original address; the worked example on the same page resolves an address to a petalsearch.com hostname. Source: https://aspiegel.com/petalbot (retrieved 2026-09-04).

## FAQ

### What is PetalBot?

PetalBot is documented as an automatic program of the Petal search engine whose function is to access both PC and mobile websites and establish an index database, enabling users to search a site's content in Petal search and to receive content recommendations in Huawei Assistant and AI Search services, both of which the documentation says are powered by Petal Search.

### Does PetalBot respect robots.txt?

The documentation states that PetalBot complies with the Internet robots protocol and that robots.txt can be used to prevent it from accessing a site completely or in part. That is a statement of policy, which is why the verification step still matters.

### What do I lose by blocking PetalBot?

The documentation is explicit — banning PetalBot from accessing your site will make the pages on your site and all search engine services provided by Petal unsearchable in the Petal search engine. It is a whole-ecosystem decision, not a single-surface one.

## Sources

Each entry below is one claim on this page. `retrieved` is the date the exporter or a human last saw the source say this, and nothing more: it is not a publication date and not a promise of re-verification. `cite` is the anchor on the canonical page where this claim is rendered.

### petalbot-purpose

Huawei documents PetalBot as an automatic program of the Petal search engine whose function is to access both PC and mobile websites and establish an index database, enabling users to search site content in Petal search engine and presenting content recommendations in Huawei Assistant and AI Search services, both powered by Petal Search.

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-purpose

> The function of PetalBot is to access both PC and mobile websites and establish an index database which enables users to search the content of your site in Petal search engine
### petalbot-strings

Huawei publishes PetalBot's PC user agent as "Mozilla/5.0 (compatible;PetalBot; +https://webmaster.petalsearch.com/site/petalbot)" and its mobile user agent as "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)".

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-strings

> Mozilla/5.0 (compatible;PetalBot; +https://webmaster.petalsearch.com/site/petalbot)
### petalbot-robots

Huawei states that PetalBot complies with the Internet robots protocol and that the robots.txt file can be used to completely prevent PetalBot from accessing a website or to prevent it from accessing some files.

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-robots

> PetalBot complies with the Internet robots protocol.
### petalbot-blocking-cost

Huawei states that banning PetalBot from accessing a site will make the pages on that site and all search engine services provided by Petal unsearchable in the Petal search engine.

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-blocking-cost

> Banning PetalBot from accessing your site will make the pages on your site and all search engine services provided by Petal unsearchable in the Petal search engine.
### petalbot-index-lag

Huawei states that it takes time to update data in the search engine index database, and that although PetalBot has stopped accessing the pages on a site it may take several months to clear the page index information that has already been established.

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-index-lag

> it may take several months to clear the page index information that has already been established
### petalbot-verification

Huawei documents verifying PetalBot by running a reverse DNS lookup on the accessing IP address, verifying that the domain name is in aspiegel.com, then running a forward DNS lookup on that domain name and verifying it matches the original address; the worked example on the same page resolves an address to a petalsearch.com hostname.

- source: https://aspiegel.com/petalbot (aspiegel.com)
- retrieved: 2026-09-04
- cite: https://attensira.com/bots/petalbot#claim-petalbot-verification

> Verify that the domain name is in aspiegel.com.
