How to use python requests to get limited item resellers with the Roblox api

Hello. I’m trying to use python to get a list of users selling a specific limited but I keep getting this error:

{"errors":[{"code":0,"message":"Authorization has been denied for this request."}]}

My code is:

from requests.structures import CaseInsensitiveDict
import requests
itemId=175134660
url = f'https://economy.roblox.com/v1/assets/{itemId}/resellers'
 
headers = CaseInsensitiveDict()
headers["Cookie"] = f".ROBLOSECURITY={token}"> 

res = requests.get(url, headers=headers)
html_page = res.content
html_page=html_page.decode("utf-8")
print(html_page)

I’ve already included my login token in the header.

All feedback will be appreciated

Try taking a look at this thread: Accessing the Roblox API - the comprehensive tutorial it shows how to authorize roblox cookies with python.