Is the time needed to change trains or busses included?

Yes - whenever a transfer requires walking (e.g from one platform to another) then this time is taken into account.

An additional boarding time can be added using the pt_change_delay parameter (when using the API directly) or the Public Transport Boarding Time parameter (when using one of our GIS plugins).