Can I use grafana out-of-the-box to query time series data?

I understand that I can create and embed dashboards using grafana. Out of the box, does grafana provide endpoints that can be queried by an end user?

As a use case, let’s say I have some IoT devices and a web app that embeds grafana dashboards. Can the web app query a grafana server and receive time series data from one or more of these IoT devices?

I would think that if I can embed or display dashboards then I would be able to also query the datasource through grafana, but I do not know what part of the grafana API would offer this