Type Alias CategoriesData

CategoriesData: {
    headers?: {
        x-cmc_pro_api_key?: string;
    };
    query?: {
        id?: string;
        limit?: 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?: {
        id?: string;
        limit?: string;
        slug?: string;
        start?: string;
        symbol?: string;
    }
    • Optionalid?: string

      Filtered categories by one or more comma-separated cryptocurrency CoinMarketCap IDs. Example: 1,2

    • Optionallimit?: string

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

    • Optionalslug?: string

      Alternatively filter categories by 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

      Alternatively filter categories one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH".