Weaker exports held back German economic growth in the first quarter, which was driven solely by construction, company investments in machinery and equipment and household spending. 

The Federal Statistics Office confirmed its preliminary reading of a 0.3% quarterly expansion in the first three months of the year. 

On the year, gross domestic product grew by 2.3% in calendar  and price-adjusted terms. 

Analysts said that while the economy has cooled down, that does not mean that the upswing has reached an end, referring to the 0.6% growth in the previous quarter.

"It remains to be seen if trade can bounce back as a growth driver - especially in light of the trade dispute with the US," they added. 

Exports fell 1% and imports 1.1% on the quarter, which resulted in net trade deducting 0.1 percentage points from overall growth, the data showed. 

German household consumption, a key pillar of support for Europe's largest economy in recent years, rose by 0.4%, contributing 0.2 percentage points to the headline figure. 

But in a sign that household spending could slow in the coming months, a GfK survey showed today that German consumer sentiment deteriorated further heading into June to reach the lowest level so far in 2018.

"Capital expenditures increased significantly at the beginning of the year," the Federal Statistics Office said. 

Investments in machinery and equipment rose 1.2% while construction investment jumped by 2.1%. 

German construction is thriving, thanks to a real estate boom, increased company investment in industrial buildings and higher state spending on roads, bridges, ports and railways. 

The upswing in construction has been encouraged by the European Central Bank's ultra-low interest rates, a growing urban population and high immigration over the past five years. 

The data also showed that state consumption expenditure decreased for the first time in five years. 

The Economy Ministry has blamed this dip on the unusually long time it took political parties to build a coalition after last year's election, a delay that led to less state spending in the first quarter. 

The domestic economy added 0.4 percentage points to overall growth while net trade deducted 0.1 percentage points, today's data showed.