Nexlev icon

Nexlev

Interact with the Nexlev API

Channel Content → Get About

AI-generated

Summary

Retrieve about information for a specified YouTube channel or username via the Nexlev API.

Inputs

  • searchBy (required) — Choose whether to search by channel ID or username. Default is 'channelId'. Accepts options: 'channelId' or 'username'.
  • channelId (required) — The YouTube channel ID to get about information for. Shown when 'searchBy' is set to 'channelId'. Routes query parameter as 'id'.
  • username (required) — The YouTube username to get about information for. Shown when 'searchBy' is set to 'username'. Routes query parameter as 'forUsername'.
  • requestOptions — Configuration for request handling. Includes batching settings, SSL certification options, proxy configuration, and timeout settings. Default is an empty object {}.

Output shape

Returns channel metadata from the Nexlev API. The exact response structure depends on the API endpoint and parameters provided.

When 'searchBy' is 'channelId', the operation sends a query with the 'id' parameter. When 'searchBy' is 'username', it sends a query with the 'forUsername' parameter. Batching can be configured to throttle requests via 'batchSize' and 'batchInterval'. SSL validation can be disabled via 'allowUnauthorizedCerts' if certificate issues occur. A proxy can be specified for routed traffic.

Examples

Example 1: Fetch about info for a specific channel ID

Set 'searchBy' to 'channelId' and provide the desired 'channelId' value. Optionally configure 'requestOptions' for batching, proxy, or timeout settings.

Example 2: Fetch about info for a specific username

Set 'searchBy' to 'username' and provide the desired 'username' value. Optionally configure 'requestOptions' as needed.

Discussion