API - Basic API calls

make tests that this function works properly when only 1 term is passed. Also you need some explanation for function arguments. What is prefix for