JQL Search Extensions doesn’t offer any REST endpoints but all the additional JQL aliases keywords and functions are available through the search REST API.
You can use them in you your scripts just like you would use a normal JQL. For example, this REST API call to Jira works correctly if JQL Search Extensions is installed:
/rest/api/2/search?jql=linksCount>2