Please put the print statement given below after the line in your code
response = json.loads(response.text)
After adding the above line, please send a screenshot of the output so that I can help you further.
here is the screenshot
Please scroll up in your code, and take a screenshot of the URL that you have used in your function.
Please share the screenshot here.
Check whether you have correctly written as fsym in the url