import { Mobula } from "mobula-sdk";

const mobula = new Mobula("YOUR_API_KEY_HERE");

mobula
  .fetchAssetMarketData({
    asset: "Floki Inu",
  })
  .then((response) => {
    console.log(response);
  })
  .catch((error) => {
    console.error("Error:", error);
  });

Learn more about the parameters in the REST API documentation