Doesn't work whether or not its global. problem below example: ———————————————————— import requests import json headers = { 'Content-Type': 'application/json' 'X-api-key': '' } data = { "required": "emails AND profiles" "min_likelihood": 9, "data_include": "emails.address" "requests": [ { "params": { "profile": [" linkedin.com/in/seanthorne "] "location": ["SF Bay Area"] "name": ["Sean F. Thorne"], "data_include": "emails.address" } } { "params": { "profile": [" https://www.linkedin.com/in/haydenconrad/ "] "first_name": "Hayden" "data_include": "emails.address" "last_name": "Conrad" } } ] } json_response = requests.post ( ' https://api.peopledatalabs.com/v5/person/bulk ' headers=headers json=data ).json() print(json.dumps(json_response))