Pretty much what fxomt said. The endpoint urls are the same but on some a few parameters are different and some of the returned JSON is structured slightly differently.
When Lemmy releases 1.0 and makes big changes their API, PieFed will not be trying to make compatible changes. We'll also be wanting to add new endpoints for PieFed-only features like feeds so the differences will increase over time.