lookup API implemented.