Is there a way using the REST API (through javascript) to expand recurring calendar items? Or is there a helpful client side utility to assist with this?

4 Answers 4


Unfortunately, the REST API with Javascript will not give you the recurring calendar items. If you want to retrieve the recurring calendar items with client side code, you need to take a look at SPServices: http://spservices.codeplex.com/

Take a look at this thread: http://spservices.codeplex.com/discussions/254560


Look into the RecurrenceData field: [site]/_api/Web/Lists(guid'[[GUID]')/Items([ID])/RecurrenceData. You get an string of xml. You can transform it to JSON if needed. The object you get back is different depending on the type recurrence (daily, weekly, monthly, yearly), so you'll have to add some logic to accomplish what you need.

  • is it possible?
    – Madhav
    Sep 30, 2016 at 12:55
  • this does not work
    – Pedro
    Mar 14, 2018 at 11:17

Another approach is to fetch the calendar items using REST Api and expand the recurring events using SPEventsParser library(GitHub repository).

first Get the calendar items using REST like this:


then call the library function to expand the recurring event like this:

var parsedArray = spEventsParser.parseEvent(eventObject);
  • Can you provide an example for this?
    – Paul Vu
    Feb 5, 2020 at 19:59
  • Sure, i'll post an example soon
    – Sagar
    Feb 7, 2020 at 11:25

If it helps anyone, this is what worked for me using Graph API to access a SharePoint calendar list in azure and get RecurrenceData:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.