How to get only results block from API URL?

I only want to access the result set from the API URL. Currently, I’m getting the following output :


What I want is, how do I get only the result block. I’m using the following API endpoint :

Hi @paani, you can use something like jq:

curl https://... | jq .results
1 Like

Thank you for the reply. I’ll try it out and let you know.

1 Like

Is it possible to hide my REST URL that I using via AJAX to populate page data? I don’t want others taking and consuming from my REST API, but need to use it to display content in my site.