# Dida API Timeout configuration

Optimizing connections with Dida's APIs through effective timeout settings is paramount for achieving superior performance. It is important to understand and apply the following points concerning timeout settings:

1. Dida API Default timeout configurations.

PriceSearch: 5 seconds
PriceConfirm: 20 seconds
Booking: 180 seconds
BookingSearch: 20 seconds
BookingCancel: 180 seconds

2. Customized timeout settings.

Should you discover that the existing timeout settings at various stages of Dida's APIs do not sufficiently meet your specific needs, you have the option of reaching out to your dedicated account manager for customization. It is imperative to ensure these personalized timeout settings are correctly configured before deploying your application live. This proactive approach will help mitigate potential disputes.

3.Timeout Solution at Booking Step.
timeout


In the event of encountering an unusually high number of timeouts, it is imperative to promptly reach out to your designated sales manager or optimization manager for immediate assistance.