Japanese stocks attracted foreign inflows in the week ended April 26 as easing geopolitical tensions in the Middle East and strong earnings from U.S. technology giants prompted a rebound in tech-related shares.

Foreign investors purchased stocks worth a net 339.99 billion yen ($2.20 billion) during the week, following about 1.15 trillion yen of net disposals in the prior week, data from stock exchanges showed.

Non-native investors poured about 215.92 billion yen into cash equities while securing a net 124.07 billion yen of derivative contracts.

The Nikkei advanced nearly 1%, reclaiming the 38,000 mark last week as sentiment improved following positive earnings from leading U.S. companies, including Alphabet and Microsoft.

The Nikkei index rose more than 1% on Tuesday, as investor sentiment improved on heightened expectations of U.S. interest rate cuts this year, while tech stocks maintained their strong performance. ($1 = 154.4200 yen)

(Reporting by Gaurav Dogra and Patturaja Murugaboopathy in Bengaluru;)