You can detect all TLDs based on a provided domain.

Language
Authorization
Header
Click Try It! to start a request and see the response here!