Can this or any work with wp-json?

I tried and links to /wp-json/wp/ … from javascript didn’t get rewritten
but can they even work in theory ? they provide json answers and there is not so many variables totally in the site, maybe 10

We have a ticket open to allow crawling wp-json, but you still may need to make those wp-json call URLs more friendly, to allow working in a static site.

ie, /wp-json/wp/some-endpoint/ vs anything with query strings, as those query strings won’t work for anything but JavaScript on the static site.