working api returning basic data