Type Alias MetadataData

MetadataData: {
    headers?: {
        x-cmc_pro_api_key?: string;
    };
    query?: {
        aux?: string;
        id?: string;
        slug?: string;
    };
}

Type declaration

  • Optionalheaders?: {
        x-cmc_pro_api_key?: string;
    }
    • Optionalx-cmc_pro_api_key?: string

      Provide your API Key here

  • Optionalquery?: {
        aux?: string;
        id?: string;
        slug?: string;
    }
    • Optionalaux?: string

      Optionally specify a comma-separated list of supplemental data fields to return. Pass urls,logo,description,date_launched,notice,status to include all auxiliary fields.

    • Optionalid?: string

      One or more comma-separated CoinMarketCap cryptocurrency exchange ids. Example: "1,2"

    • Optionalslug?: string

      Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" or "slug" is required.