An Azure service that provides a hybrid, multi-cloud management platform for APIs.
yes you can achieve this through the use of policies, which are collections of statements applied to the request or response of an API
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-policies
for whitelisting you can use Referer header like the following
<choose>
<when condition="@(context.Request.Headers.GetValueOrDefault('Referer', '').Contains('https://example.com'))">
<return-response>
<set-status code="200" reason="OK" />
</return-response>
</when>
<otherwise>
<return-response>
<set-status code="403" reason="Forbidden" />
</return-response>
</otherwise>
</choose>
and do to forget for cross-domain calls from browser-based clients, use cors policy with allowed-origins to specify the origins URL
https://learn.microsoft.com/en-us/azure/api-management/cors-policy#elements