for using one of the API's you mention, you would need to follow the instructions for that API for implementing it on your site, your questions are realy better addressed to the API Documentation than here.
Using data Bridge, you could have a separate databases for each domain that contains the language specific content, then use Dynamic Connections to connect to the appropriate domains based on the address. but that would not be using the API's you mention that you want to use.