The median list price for homes in Portland rose to $268,500 in August, up 1.35 percent from a year ago and nearly flat compared with July, according to real estate website Realtor.com.

Nationally, the median list price in August was $190,000, a 0.05 percent increase compared with a year ago, Realtor.com said.

Among online real estate searches in August, Portland was the 56th most-searched market in the country. The top markets were Chicago, Detroit and Philadelphia.

Active homes for sale in the Portland metropolitan area fell to 5,295, down almost 17 percent from a year ago. Nationally, the inventory of homes for sale totaled 1.84 percent, down 18.7 percent from a year ago.

The median time on the market – or age of inventory – in Portland was 102 days, a 6.25 percent increase compared with July. Nationally, the median age of inventory was 91 days, a 3.4 percent increase from July, Realtor.com said.