をどこで手に入れた

where … got

→ を
phrase Rare #28,087
where … got Used to ask where someone obtained something. The を marks the thing obtained, and the rest of the question may include additional words.
JA: そのバッグをどこで手に入れたの?
EN: Where did you get that bag?

あの古いコインをどこで手に入れたのか。

Where did you get that old coin?

トムはこれをどこで手に入れたのかな?

I wonder where Tom got this?

このリストをどこで手に入れたのかしら?

I wonder where they got this list.

それをどこで手に入れたのですか?

Where did you get that?

— ウィキッド 永遠の約束 (2025)

一体全体その帽子をどこで手に入れたのですか。

Where on earth did you get that hat?