Is there an API for loading VST 2 saved data into VST 3 plugin

See the FAQ in the documentation, especially the section “Compatibility with VST 2.x or VST 1”.

Cheers,
Arne