Type Alias ContentLatestData

ContentLatestData: {
    headers?: {
        x-cmc_pro_api_key?: string;
    };
    query?: {
        category?: string;
        content_type?: string;
        id?: string;
        language?: string;
        limit?: string;
        news_type?: string;
        slug?: string;
        start?: string;
        symbol?: string;
    };
}

Type declaration

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

      Provide your API Key here

  • Optionalquery?: {
        category?: string;
        content_type?: string;
        id?: string;
        language?: string;
        limit?: string;
        news_type?: string;
        slug?: string;
        start?: string;
        symbol?: string;
    }
    • Optionalcategory?: string

      Optionally pass a comma-separated list of categories. Example: "GameFi,NFT".

    • Optionalcontent_type?: string

      Optionally specify a comma-separated list of supplemental data fields: news, video, or audio to filter news's content. Pass all or leave it blank to include all content types.

    • Optionalid?: string

      Optionally pass a comma-separated list of CoinMarketCap cryptocurrency IDs. Example: "1,1027"

    • Optionallanguage?: string

      Optionally pass a language code. Example: "en". If not specified the default value is "en".

    • Optionallimit?: string

      Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.

    • Optionalnews_type?: string

      Optionally specify a comma-separated list of supplemental data fields: news, community, or alexandria to filter news sources. Pass all or leave it blank to include all news types.

    • Optionalslug?: string

      Optionally pass a comma-separated list of cryptocurrency slugs. Example: "bitcoin,ethereum"

    • Optionalstart?: string

      Optionally offset the start (1-based index) of the paginated list of items to return.

    • Optionalsymbol?: string

      Optionally pass a comma-separated list of cryptocurrency symbols. Example: "BTC,ETH". Optionally pass "id" or "slug" or "symbol" is required for this request.