Fetch data from WordPress post using slug name

Hi, I have a WordPress post that displays random quotes daily using a quote plugin. Using the API, I can fetch the data of that post like this:


The section I need appears like this:

“content”: {
“rendered”: “\n<div class=“dailyQuotes Text”>The secret of your future is hidden in your daily routine.</div><div class=“dailyQuotes Text”><a href=“https://dailyQuotes.net/2021/9/24” rel=“noopener nofollow” target=”_blank">Mike Murdock</a></div>\n",“protected”: false

How can I extract just the quote and name.