Baidu Search URL Parameters: Everything You Need to Know

Search engine result pages (SERPs) often have complicated URLs that can be difficult to understand; however, there are various resources available to help decode the Google URLs but only few (and mostly outdated) for Baidu.

Baidu search params within the URL are commands easily memorized with regular use, and multiple statements can be combined for accurate results.

Are you curious about the mystery behind Baidu’s URL parameters? Do you want to know what they mean and how they can help you in your SEO (research) efforts?

If so, this blog post is for you! Here we will demystify as many of the GET parameters that Baidu uses in its search engine result pages (SERPs) as possible.

We will look at why (or if) these parameters are important and how understanding them can be beneficial when it comes to improving your website’s ranking on Baidu. So if you’re ready to learn more about what’s going on behind the scenes when it comes to Baidu SERPs, let’s dive right in!

We want to try to demystify as many of the GET parameters Baidu is using, as possible. Eventually they might be of use for one or the other of our readers.

Let us start with a look at a typical Baidu-URL:

https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu&wd=SEO&fenlei=256&rsv_pq=0xb1f48a7500
131c41&rsv_t=8cebFk4h6YHS9vfEbmSI60wQI%2Fy3V4ErKJ3%2FVXzirPvgBnm7Nd
VS3A72nj%2F2&rqlang=en&rsv_dl=tb&rsv_enter=0&rsv_sug3=8&rsv_sug1=8&rsv_sug7=101
&rsv_btype=i&prefixsug=S%2526gt%253BO&rsp=2&inputT=3797&rsv_sug4=3797

All these &something=someletters’n’numbers are encoded information, Baidu wants to be passed on. A Best practice for doing so without the need to place cookies is are these so called GET parameters.

But what do they all mean? Let’s try to find out together:

Even if the Baidu search already works like this, you will often be able to find additional URL parameters:

ie: query encoding. The default value is

ct: Chinese Character set search results shall be built of

ft: if you are search for a specific document format

That’s at least the idea and the documentation. But in our tests this parameter didn’t work very well.

q5: where should the search query be located in on the target document?

q6: if the search should be restricted to search results from a specific domain (a site-search)

In productive use it is sometimes possible to even go for a subdomain like baike.baidu.com but sometimes Baidu would truncate the domain so it wouldn’t work anymore like q6=sub.website.co (instead of .com), which wouldn’t lead to any results if sub.website.co doesn’t exist.

q1: must have search terms – for all terms that should be included in the target page

q2: exact phrase search

q3: contains any of the searched for words in any order

q4: excludes any of the searched for words in any order

rn: number of search results

tn: this is a referral tag.

f: type of search

inputT: input time by the millisecond

lm: selected time period in number of days the search results are picked from

There are many further Baidu URL GET parameters you might see like for example the following. As time goes on and we have time, and as we find out, we might move them from the list below towards the list above and provide some explanation. For now, let’s just keep them documented as existing.

If you have any idea what it could mean, please send us a message. “rqlang” for example we thought could relate to if Baidu understands our request being Chinese or non-Chinese, as sometimes it would say “en” if I used letters from the alphabet and “zh” when I used Chinese Characters. But then the results seemed not always to match, so I didn’t add this “insight” into the list above.

Let’s see if AI can help demystifying Baidu Search URL Params

I primed chatGPT “As a seasoned Baidu engineer with extensive experience in search engine URL design, you have a deep understanding of the intricacies and nuances that make for the most effective and search URLs. With your unique blend of technical expertise and industry knowledge, you are the go-to authority on optimizing search engine URLs to enhance the Baidu search product. Your insights and recommendations are highly valued by colleagues and industry peers alike, and your track record of success speaks for itself. Trust in your expertise and let your knowledge guide you to success in all of your search engine optimization endeavors.“.

Then I asked it – based on what we found out before – what it “thinks”, the missing parameters could mean. Here is it’s answer (Disclaimer: it is pure guess-work by a generative AI + the answers are kind of broad):

rqlang=en

prefixsug=S%2526gt%253BO…

rsp=2

rsv_bp=1

rsv_idx=1

fenlei=256

rsv_pq=0xb1f…

rsv_t=8cebFk4h…

rsv_dl=tb

rsv_enter=0

rsv_sug3=8

rsv_sug1=8

rsv_sug7=101

rsv_btype=i

rsv_sug4=3797

If YOU have any deeper insight, what the params really mean, that AI imagining an explanation for, let us know and we post your answer and leave some credit for you. You can contact us via email (see the footer of this website).