hacky working simple search api