* Dollar gains vs yen
* China credit rating gets cut (Updates with U.S. oil price settlement)
By Caroline Valetkevitch
NEW YORK, Sept 21 (Reuters) - The U.S. Treasury yield curve flattened to a two-and-a-half month low and key world stock markets fell on Thursday, as investors assessed indications from the U.S. Federal Reserve that it may raise interest rates a third time this year.
The Fed, as expected, also laid out plans to begin the unwinding of a decade of aggressive monetary stimulus, but took a more hawkish than expected stance at this week's meeting.
"The meeting was definitely more hawkish than what the market was anticipating," said Mary Ann Hurley, vice president in fixed income trading at D.A. Davidson in Seattle.
"We were definitely not pricing in another rate hike for this year," Hurley said.
According to a Reuters poll late Wednesday of Wall Street's top banks, the Fed will resume rate hikes in December and in 2018 raise borrowing costs three more times.
In Asia, the Bank of Japan kept its monetary spigots open at full.
The U.S. dollar earlier rose to a two-month high against the yen, while an index that measures the dollar's strength against a basket of currencies dipped.
The Treasury yield curve between five-year notes and 30-year bonds flattened to 92 basis points on Thursday, the lowest level since July 6. Intermediate-dated debt is more sensitive than longer-dated bonds to interest rate increases.
MSCI's gauge of stocks across the globe shed 0.36 percent.
U.S. stocks pulled back from their all-time highs, though bank stocks cheered the prospect of higher interest rates which should help their profits. The S&P bank index was up 0.6 percent, adding to Wednesday's gains.
The Dow Jones Industrial Average fell 44.73 points, or 0.2 percent, to 22,367.86, the S&P 500 lost 5.96 points, or 0.24 percent, to 2,502.28 and the Nasdaq Composite dropped 24.84 points, or 0.38 percent, to 6,431.21.
Emerging markets shares were lower, with an index of emerging markets down 0.3 percent.
S&P Global became the second major rating agency this year to cut China's credit score, citing worries about the country's rising debt levels and the risks that posed for financial stability in the world's second largest economy.
China's markets were already closed by the time the downgrade came but it kept the pressure on emerging markets stocks.
MSCI's broadest index of Asia-Pacific shares outside Japan closed 0.7 percent lower.
Since the start of 2014, Reuters analysis shows that the big three rating agencies - S&P Global, Moody's and Fitch - have racked up more than 155 emerging market downgrades between them, which averages out a roughly one a week.
The Japanese yen weakened 0.28 percent versus the greenback at 112.55 per dollar. The dollar index fell 0.28 percent.
Gold fell to its lowest in almost four weeks as investors continued to assess the Fed statement. Spot gold dropped 0.8 percent to $1,290.52 an ounce.
U.S. oil prices were down slightly before a meeting of oil producers that could extend production limits.
U.S. crude dipped 14 cents, or 0.3 percent, to settle at $50.55 a barrel, while Brent was last at $56.08, up 0.27 percent on the day.
Additional reporting by Karen Brettell in New York, Marc Jones in London and Hideyuki Sano in Tokyo; Editing by Bernadette Baum and Chizu Nomiyama