I have a problem, everytime when I creating new base, I need to manually set up all tables. I have the main base that I would like copy(tables, extensions, automations) to others, can I archive that by API or code ?
No. Currently the web API does not support duplicating an entire base.
You must manually duplicate the base. But duplicating a base is the only a couple of clicks. You can share your original base with your users with read-only permissions and have them duplicate the base themselves.