API content providers: factored out base info

factored out the base gathering to an adapter.