The problem is not building a general purpose API, the problem is over thinking it. There’s a sweet spot where you build the API just slightly more flexible than your FE needs at the time, yet without wasting time on making it fit ‘all possible future use cases’.
Then you can later on whip up a mobile app if needed, let the clients use it, whatever. And evolve it accordingly.