Automatically assign users to a membership

We are using WP API to add new users. Please let us know how we can assign all new registered users to a Standard membership.

Ideally, we would need to know which field in the Database to edit.