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