Answered by Borut | Nov. 30, 2023 23:33
The most important detail is that you will travel through China (Beijing in your case) covered by 24 hour visa free transit. So, you will not need any kind of visa. Also, there is no 24 hour visa.
This visa free scheme allows you to travel visa free via Beijing and there is no doubt about it. Having in mind that you plan to exit the airport in order to enjoy some time in the city, you will approach 24/144 hour visa free transit counter immediately upon your landing in Beijing. There you will apply for a temporary entry permit that is issued to those with long layovers, but always based on discretionary decision of airport authorities on a day of travel. You will present your flight itinerary and even better if you can add accommodation booking confirmation or a booked tour. Since your layover is long, I would say that your chances to be granted a temporary entry permit are very good. This application for a temporary entry permit is free of any charge.
One detail... Beijing airport authorities are known as the most strictest when we talk about temporary entry permits are concerned, so without a pre-booked tour you should not even try to obtain a temporary entry permit.