get period in API