global api variable