How to configure international shipping costs via third-party API?

We want to set the shipping cost of different countries through a third-party system. Is there an open API for the shipping configuration function?