The government’s move to ban the export of onions followed 37 per cent increase in all-India retail price over the last one month, government sources said on Tuesday.