Kafka - Getting topic records via API

With REST API i’m able to get the topic and connectors information, with the help of below links

https://<server-name>/topics
https://<server-name>/connector-plugins
https://<server-name>/connectors

My doubt is can we get the topic records also by using REST API?

Yes, indeed you can get a list of connector topic names, see here: https://docs.confluent.io/current/connect/references/restapi.html#topics

This was implemented as part of KIP-558
https://cwiki.apache.org/confluence/display/KAFKA/KIP-558%3A+Track+the+set+of+actively+used+topics+by+connectors+in+Kafka+Connect