Automation via API vs Browser

What do you guys think are the pros/cons of automating via the browser vs using the API.

Help me add on to the list here:

API Pros
-More functionality
-Doesn't require a browser
-Can run on a server indefinitely

API Cons
-Easier to detect??? (not sure)
-Needs phone number auth

Browser Pros
-No phone auth
-No rate limit

Browser Cons
-No rate limit means its easier to get flagged.
-Must have a browser open