We offer APIs that are capable of returning information about blocks not on the best chain. get_raw_transaction can do this, as zebrad's readstateservice can return transactions from any chain, not just the best chain. Non best chain blocks however, can't be looked up via zebrad's readstateservice.
See ZcashFoundation/zebra#10305