No, the Query API is available in both SigNoz Cloud (hosted version) and Self-hosted SigNoz (on-prem or local setup)
If you're running a self-hosted version, ensure that SigNoz Query Service is accessible.
There's actually an official SigNoz documentation that covers the Query API in detail:
https://signoz.io/api-reference/#/
To get your correct data, ensure your API endpoint "
http://localhost:3301/api/v1/query" is correct.
You can also set your Content-Type to application/json to get the correct data.
I hope this helps