normalize external api