customizing search API calls