import requests url = 'https://elle.tlu.ee/api/tools/wordlist' myobj = { "corpusTextIds": [ "86f4f30b-8348-4b0b-8d5d-cacc65d3ec1e", "71be97c8-046b-4850-8bc7-cad05e10f577", "b3f1a73f-d5d3-41f4-b2b1-2c5b861889dc" ], "ownTexts": None, "type": "LEMMAS", "excludeStopwords": True, "customStopwords": None, "keepCapitalization": False, "minFrequency": "1" } x = requests.post(url, json = myobj) print(x.text)