Wise (formerly TransferWise) is a London-based financial technology company. We can use the Wise API to import data from Wise into Google Sheets. In this tutorial, we’ll show you how to connect the Wise REST API to Google Sheets in 6 steps:
Apipheny is a free API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to API data sources, easily.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser:
Go to https://sandbox.transferwise.tech/register, type in your email address, and then click the Next button:
Choose what kind of account you want, either personal or business:
Select your country of primary residence, then click the Continue button:
Enter your phone number and then click the Send verification code button:
Because we are on a test environment, we will not receive a code. You’ll have to type a test code, 111111 as it says in the Hint below. Then click the Submit button:
Create a password, then click the Continue button:
Next, enter your first name, your last name and your business name (if applicable), then click the Done button:
Your account is now created. You can explore your account by clicking the Or, explore your account button:
After logging into your newly created account, click the account icon in the top-right corner and select the Settings item:
Click the API tokens item:
Click the Add new token button:
Type a name for your token, select the Full access radio button and then click the Create token button:
Your token is now created. Click the Reveal key button to see the token and copy it to a safe location, because you’ll need it later:
In this section, we’ll show you how to browse the Wise API documentation to find the endpoint that you need. If you already know your API URL, or you want to use the same example URL as us, just skip to Step 5.
First, open the WiseAPI documentation page: https://api-docs.wise.com/#wise-platform-api
The menu on the left contains general information about the Wise API and a list of categorized endpoints:
If you scroll down, you’ll see the Full API Reference section, which contains a list of endpoint categories:
For example, if we click the Bank Account Detail category, a description of this category will be displayed, along with a list of its endpoints:
An example endpoint is List bank account details orders, which returns the bank account assignment requests for a profile and multi-currency account:
If you use this URL, don’t forget to replace profileId with a real profile ID.
The endpoint’s documentation contains a short description of the endpoint’s purpose, its HTTP method (GET), an example cURL request and its response:
All API calls to Wise should be made to the https://api.sandbox.transferwise.tech base domain.
Once you’ve chosen an endpoint and you know what URL you need to use, proceed to the next step.
Now go back to your Google Sheet and make sure that the Apipheny add-on is open on the Import tab. With the Import tab open, enter these details into the add-on:
API URL: In Step 4, we explained how you can find the Wise REST API endpoint that you need. Now copy and paste your complete Wise API URL into the Apipheny add-on, where it says API URL Path, followed by any parameters required for your query (if applicable).
For this example, we are using the Check account balance endpoint which gets available balances for all activated currencies in your account. This is what the whole URL looks like:
If you use this URL, don’t forget to replace id with a value of a real profile id!
The profile id could be obtained by accessing the https://api.sandbox.transferwise.tech/v1/v1/profiles endpoint. Make sure you don’t use the userID instead!
Headers: In the Headers section of Apipheny, add one row with the following key and value:
Header Key: Authorization Header Value: Bearer your_token
Make sure to replace your_token with the key you previously obtain in Step 3. There should be a literal space between the word Bearer and your_token in the header value.
Here’s what our request looks like in Apipheny:
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Wise API data to be imported into your Google Sheet. Here’s what our request looked like when completed:
After making a successful request to the Wise API, try querying a different Wise API endpoint, or try using one of the more advanced features in the Apipheny add-on.
Crypto API Tutorials:
Need website help? Hire an SEO Consultant.