After performing this, I came across this error, which did not display API information. Being that in another URL of a similar API the code displayed and worked perfectly.
API URL: link
$.ajax({
type: "POST",
dataType: "JSON",
url: "https://economia.awesomeapi.com.br/json/all",
success: function(data){
console.log(data["USD"]["code"]);
}
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>