adaptive-filters + API
All filters are applied on a per-URL basis. It depends what kind of call you are making through the API. Typically through the API people aren’t pulling back the widgets, just the content.
The content should work and should be filtered properly through the API.
If you describe what you are specifically trying to do I can help more.