There many Web APIs that browsers are expected to provide, like XMLHttpRequest, fetch, etc. The HTML spec itself also has a dedicated chapter named Web Application APIs. It feels to me that all APIs are provided in JS.
However, I also read from another answer that at least the DOM spec allows for implementation in languages other than JS.
Hence my question: are these web API specs language agnostic, or JS-specific?