Ok, but to be clear you said all outgoing traffic is charged. The API call price is something else, it's not part of the outgoing traffic.
Your example with VPC endpoints does not leave AWS.
Sorry for the confusion you probably thought about outgoing from S3, but I mean outgoing from AWS.