sensex
Brokers trade at their computer terminals at a stock brokerage firm in Mumbai, India. (SOURCE:REUTERS) Reuters

Indian shares ended little changed on Friday, but the indexes posted their first weekly loss in four as simmering geopolitical tensions kept many investors on edge.

Asian shares gained, with the MSCI's broadest index of Asia-Pacific shares outside Japan adding 0.5 percent, and was set for a 0.2 percent gain for the week.

China's August exports rose 5.5 percent from a year earlier, slightly missing analysts' forecast of a 6.0 percent increase, while imports grew a robust 13.3 percent, beating expectations of 10 percent growth, Reuters reported.

U.S. dollar was under pressure after European Central Bank chief Mario Draghi's remarks that policymakers would decide on tapering this autumn.

The S&P BSE Sensex gained 0.08 percent at 31,687 while the broader NSE Nifty rose 0.05 percent at 9,934.

Risk appetite dampened as continued tensions on the Korean peninsula weighed on sentiment.

The Nifty is down 0.30 percent for the week, while Sensex is down 0.64 percent.

Among the top index gainers, Larsen and Toubro advanced 4 percent, Bharti Airtel rose 1.5 percent, Kotak Mahindra Bank rose 1.3 percent while HDFC Bank gained 0.8 percent.

The S&P BSE Capital Goods Index added 1.8 percent while the S&P BSE Telecom index was up 0.4 percent.

Biocon shares jumped 2 percent after the bio-pharmaceutical company said its Malaysian arm Biocon Sdn Bhd has received compliance certificate from the Health Products Regulatory Authority of Ireland for its insulin manufacturing facility.

CCL Products India climbed 6.3 percent after the Reserve Bank of India approved foreign institutional investors to hold up to 40 percent stake in the in the company, up from 24 percent earlier.

Punj Lloyd gained 4 percent after it got a Rs 870 crore order for canal work in Maharashtra.

Among the laggards, Dr Reddy's Laboratories lost 3 percent after the drugmaker that its Duvvada plant got six major observation from German drug regulator.

Market breadth was in the favour of gainers, with about 2 stocks advancing to every 1 stock that declined.