API for searching - C#