# API Beginner - First API call

**URL:** https://forums.collective2.com/t/api-beginner-first-api-call/13364
**Category:** C2 Software Development
**Created:** [September 7, 2019, 8:36am UTC](https://forums.collective2.com/t/api-beginner-first-api-call/13364 "2019-09-07T08:36:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![KlausSmit](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/klaussmit/32/13320_2.png) [@KlausSmit](https://forums.collective2.com/u/KlausSmit)
#### Post date: [September 7, 2019, 8:36am UTC](https://forums.collective2.com/t/api-beginner-first-api-call/13364/1 "2019-09-07T08:36:25Z")

</div>

What is the easiest command I can type to check connection with the API.

import numpy as np  
import pandas as pd  
import requests  
api\_key = ‘xxxxxx’  
URL = xxxxxxx  
r = requests.get(url=URL, headers={“Authorization”: api\_key, ‘filter’:‘active’})
