Tokyo stocks edged down on Thursday, snapping a four-day winning streak, as investors locked in profits.
The benchmark Nikkei 225 index lost 0.13 percent or 29.51 points to close at 22,764.68, while the broader Topix index was down 0.09 percent or 1.62 points at 1,749.59.
Wall Street advanced on strong US earnings and upbeat comments by the head of the Federal Reserve.
Investors largely ignored the finance ministry's earlier announcement that Japan logged a trade surplus in June after booking a deficit the previous month.
In Tokyo stocks trading, Toyota lost 0.21 percent to 7,457 yen with Honda down 0.27 percent at 3,323 yen.
Sony fell 0.60 percent to 5,939 yen as Panasonic declined 0.10 percent to 1,450.5 yen.
Air-conditioner makers rallied on growing demand as Japan experiences a heat wave. Mitsubishi Electric jumped 3.55 percent to 1,486.5 yen with Hitachi up 0.73 percent at 798.5 yen.