import requests headers = { 'X-Luckdata-Api-Key': '' } json_data={} response = requests.get( '/api/Instagram-API/lwepxa8btrgp?id=18527&count=12&max_id=', headers=headers, ) print(response.json())