Unless you specifically know the provenance, it's almost certainly not real. They sell them everywhere, even Amazon.
I'm gonna go with these ...
https://www.amazon.com/Metal-Pirate-Coins-Doubloon-Replicas/dp/B001CICTZS
https://www.amazon.com/dp/B001CICTZS/ref=cm_sw_r_cp_api_glt_fabc_9K21BY5YZHEDGRZZ39C6?_encoding=UTF8&psc=1