Using the Quovo API with Python

Hoss@Hossapp /

Using the Quovo API with Python

Today, we will show you how to use the Quovo API with Python. We'll cover setup, authentication, and making basic requests.

Installing and Importing Libraries

We first need to install a few libraries with the pip package manager - so run ‘pip install requests’ in your terminal. The requests library enables us to make HTTP requests to use the API. If you want to sign up for Hoss - which provides you with deep visibility into API performance and alerts you of errors before your customers notice - visit the Hoss website here. To install Hoss, you should run ‘pip install hoss’.

import hoss_agent
import requests

Integrate the Hoss SDK

Integrating the Hoss Python SDK is just one simple line of code. You will first need to find your Hoss keys in your settings here. There are three keys for development, production, and staging respectively. We are using our development key here.

hoss_client = hoss_agent.init('<HOSS API KEY>')

Getting Started With Quovo

Find your Quovo API keys in your Quovo developer portal here. We will first need to obtain an access token, as the Quovo API requires these in order to verify incoming API requests. To obtain a token, we will need to use the /v3/tokens endpoint.

	'Content-Type': 'application/json'
DATA = '{"name": "main_token"}'
response ='', headers=HEADERS, data=DATA, auth=('my_api_username', 'my_api_password'))

The response is returned as follows.

    "access_token": {
        "created": "2018-01-31T17:45:09Z",
        "expires": "2018-01-31T18:45:09Z",
        "name": "main_token",
        "token": "a724809d37d0a21b7e9257f45cee416f5aec61993ab4b09e"

Getting Account Information

We’ll now demonstrate how to obtain information on an individual financial account. To obtain information on a single account, we will have to use the /accounts endpoint

headers = {'Authorization': 'Bearer <YOUR_TOKEN>}

response = requests.get('', headers=headers)

The response is returned as following:

    "accounts": [
            "category": "Investment",
            "connection_id": 877247,
            "id": 746745,
            "institution_id": 21534,
            "institution_name": "Test Investment Institution",
            "is_disabled": false,
            "is_taxable": true,


On the left hand side, you can choose which API to view metrics on. In order to access the requests log, click on “Requests”. In the requests log, we can see the API requests - clicking on the individual requests enables us to view the headers, payload, and other internal details of the request.

Masking Fields

The Quovo API may yield personally identifiable information (PII) with API responses. If you’re using the Hoss app to monitor your API usage, learn about how you can use masking to help comply with data privacy regulations here.

Set Up Alarms

You can set up alarms (and integrate them with Slack and Pagerduty) to monitor API status, failed calls, and latency. This empowers you to directly notify the developers responsible for working with these API integrations.

Next Steps

That’s it! You can access the full Quovo API documentation here and get started building your application!

Subscribe to Hoss ModeA weekly newsletter with curated articles, community discussions, news and trends.

Masking Fields with Hoss

Read more
One of the biggest concerns when using third-party APIs in development is the management of sensitive data, particularly in the realm of personally identifiable information (PII). This is where data masking comes into the picture.
Back to blog

Copyright © Hoss Technologies, Inc. 2021 - All rights reserved. Terms of Service & Privacy Policy