I used this script for creating wordlist for web API fuzzing. Create a save the data which is releted to your target. most relevent data you get from the Burp suite.
# python main.py
First enter the input file name Second enter the output file name. (If file alredy exist, it append the data at end of the file.)