host api filter