use const for api base path