Confluence search API `/rest/api/content/search` returns 0 pages

I’m using confluence search API /rest/api/content/search to retrieve pages of a confluence workspace but I am receive 0 pages. If I use the cql query in the UI, I get the results.
Here is the API I am using:
https://{site}/wiki/rest/api/content/search?limit=100&start=0&cql=(space.key={workspaceID} AND type=page)&expand=ancestors,children.page

@vijayendra,

Despite the example shown in the REST API docs, the CQL must be URL encoded. Otherwise, the parameter parser can’t understand what is a parameter vs what is CQL because both use the = symbol.

Try (be sure to remove my extra white space provided only for readability):

https://{site}/wiki/rest/api/content/search?
  limit=100&
  start=0&
  cql=%28space.key%3D%7BworkspaceID%7D%20AND%20type%3Dpage%29
  &expand=ancestors,children.page