YouTube Comment Moderation avatar

YouTube Comment Moderation

Under maintenance

Pricing

from $0.01 / 1,000 results

Go to Apify Store
YouTube Comment Moderation

YouTube Comment Moderation

Under maintenance

Moderate YouTube video, channel, or submitted comments. The Actor calls the YouTube Comment Moderation API and writes one moderation response per request to the default dataset.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

jts

jts

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

What this Actor does

Moderate YouTube video, channel, or submitted comments. The Actor calls the YouTube Comment Moderation API and writes one moderation response per request to the default dataset.

Input example

{
"maxResults": 50,
"days": 30
}

Input fields

Provide video IDs, channel IDs, or direct comment text. At least one input list is required.

  • videoIds (array, user input): YouTube video IDs to fetch and moderate.
  • channelIds (array, user input): Canonical YouTube channel IDs starting with UC.
  • comments (array, user input): Comment text to classify without fetching from YouTube.
  • maxResults (integer, user input): Maximum comments to fetch per video or channel, from 1 to 100.
  • days (integer, user input): Channel-mode lookback window in days.
  • apiBaseUrl (string, optional override): Override of the upstream API base URL. Defaults to runtime.baseUrl from service.json.

Output dataset

Each dataset item is one moderation response from the upstream API.

  • kind: video, channel, or direct.
  • input: Original video ID, channel ID, or comment text.
  • result: Full moderation response.

Developer notes

Set YOUTUBE_COMMENT_MODERATION_API_KEY as an Apify secret environment variable. The Actor forwards it as X-API-Key to the upstream API. Use apiBaseUrl only for local or staging QA. Production runs default to the deployed API base URL from service.json. For advanced testing, a requests array can call explicit API paths; normal users should use the service-specific fields above.

Run locally

$apify run

Deploy

$apify push