← Guides

Content & AI pipelines

Research a YouTube topic before you write the script

You can spend a day writing a video that answers the wrong question. A quick look at existing YouTube results helps you spot whether viewers are being offered tutorials, breaking news, short explanations or long discussions. Use that evidence to sharpen the brief before you write, without pretending a search snapshot tells you how many people want your video.

TL;DR: save the exact query and the collection time; keep videos, channels, Shorts and live results separate; use the results to refine a viewer question, not to predict rankings.

The excerpt below is a shortened saved documentation example for the query nasa. It is not a live fetch and not today's results. It keeps a few records from each group and leaves out the continuation token.

The endpoint

YouTube

YouTube

Search / Hashtag

GET /v1/youtube/search-hashtag

Search YouTube for videos, channels and playlists, or pull hashtag result feeds.

1 credit per call · from $1.50 per 1,000 calls · failed calls never charged

Full endpoint reference

Make the call

Put your key in FASTFETCHZ_KEY. The target below is a real one — it works as written.

curl
curl "https://fastfetchz.com/v1/youtube/search-hashtag?target=nasa" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

What comes back

Trimmed to the fields that matter. The full payload carries more.

200 application/json
{
  "request": {
    "target": "nasa"
  },
  "data": {
    "videos": [
      {
        "type": "video",
        "id": "IwZVXmQdX1E",
        "title": "NASA Moon Base: The First Six Months",
        "viewCountText": "6,746 views",
        "viewCountInt": 6746,
        "publishedTimeText": "1 hour ago",
        "publishedTime": "2026-09-08T19:06:34.679Z",
        "lengthText": "1:07",
        "lengthSeconds": 67
      },
      {
        "type": "video",
        "id": "90Kgw_SvK4w",
        "title": "What It Takes",
        "viewCountText": "263,725 views",
        "viewCountInt": 263725,
        "publishedTimeText": "4 days ago",
        "publishedTime": "2026-09-04T20:06:34.679Z",
        "lengthText": "2:32",
        "lengthSeconds": 152
      }
    ],
    "channels": [
      {
        "type": "channel",
        "id": "UCLA_DiR1FfKNvjuUpBHmylQ",
        "channelName": "NASA",
        "handle": "NASA",
        "subscriberCountText": "15.1M",
        "subscriberCountInt": 15100000
      }
    ],
    "playlists": [],
    "shorts": [
      {
        "type": "short",
        "id": "MT-ErptvDmg",
        "title": "NASA Sent This Message To Aliens",
        "viewCountText": "9.8M",
        "viewCountInt": 9800000
      }
    ],
    "shelves": [],
    "lives": [
      {
        "type": "live",
        "id": "tGjffGccQig",
        "title": "Artemis II Congressional Space Medal of Honor Ceremony",
        "viewCountText": "165,082 views",
        "viewCountInt": 165082,
        "publishedTimeText": "Streamed 11 days ago",
        "publishedTime": "2026-08-28T20:06:34.679Z",
        "lengthText": "2:38:42",
        "lengthSeconds": 9522
      }
    ]
  }
}

What it costs

20 videos ÷ 20 per call = 1 calls
1 calls × 1 credit = 1 credits

At the Starter pack rate: $0.0029
10,000 credits for $29.00 · $0.00290 per credit. This is the credit value used by the job, not the pack purchase price.
At the Volume pack rate: $0.0015
500,000 credits for $750.00 · $0.00150 per credit. This is the credit value used by the job, not the pack purchase price.

Begin with a question narrow enough to investigate

"Space" is a subject; "why a rocket launch gets delayed" is a viewer question. Write down the decision your video should help someone make.

Collect a small number of deliberately different queries and keep each result set separate. Broad results can help you find the terms people use, while specific questions help you check what has already been explained.

Keep the result types separate

The saved nasa response groups results into videos, channels, shorts and lives, with playlists and shelves empty. A channel is not a competing video, and a live broadcast, such as the 2:38:42 stream in the example, may serve a different need from an edited explanation.

Store type plus id so similar-looking items do not collapse into one record. An empty group means the saved result had none. It does not mean YouTube has nothing of that kind for the topic.

Use public counts as context, not a demand forecast

View counts describe the returned content, not search volume for your query. Results can mix older videos that have had years to collect views with uploads from the past few days.

Counts normalized from a short display stay rounded. The saved Short shows viewCountText "9.8M" beside viewCountInt 9,800,000, and the channel shows "15.1M" beside 15,100,000. Keep the original display text next to the number. Never add views across the results and call the total a market size or a unique audience.

Treat relative publication times carefully

In the saved example, publishedTime is worked out from labels such as "1 hour ago" and "4 days ago". Both values end in the same 06:34.679 minutes, seconds and milliseconds, a sign that they were calculated from one clock rather than read from the videos. Treat them as approximate, not as exact publishing timestamps.

Save the original label and your fetch time together. Do not turn a relative time from an undated saved example into a precise historical fact. If timing is central to your analysis, check the individual video instead of relying on a reconstructed date.

Make a brief, not a list of copied titles

Here is an illustrative brief. Question: why launches get delayed. Existing formats to inspect: news updates, engineering explanations and short clips. Proposed promise: explain three different causes with clear examples. Evidence needed before writing: reliable technical sources for each cause. What search cannot establish: forecast views, audience geography or ranking certainty.

That brief is an editorial teaching example, not a summary of the saved nasa records. The table below is one way to lay out your own.

brief table
question        observed format     gap to verify        source still needed
launch delays   news updates        causes explained?    technical sources
                engineering talks   too long for a       agency or launch
                                    first answer?        provider documents
                short clips         what gets left out?  one primary source
                                                         per cause

Be precise about the limits

YouTube's help page says search weighs relevance, engagement and quality, and may also use a person's search and watch history when that is turned on, so two people can see different results for the same query. API output is not a guaranteed copy of any one person's results page. Record the query, the time, the endpoint and any context you know, and leave an unknown location unknown.

The endpoint accepts target, limit and cursor, plus the fresh switch every endpoint has. Do not promise the type, upload date, length or sort filters mentioned in the endpoint description. The catalog's 20 results per call is a figure for cost planning. A continuation token appears in the saved example, but this article does not check a second page and does not promise complete retrieval.

Finish with one next action

Choose one video whose explanation you need to understand, and follow the guide on getting a YouTube video transcript where a transcript is available. Check the video and its source material before you script.

A useful outcome is a sharper question and an outline you can defend, not a copied title or a promised ranking.

Sources and example notes

The field names and values in this guide come from the saved FastFetchz documentation example for this endpoint. The excerpt keeps only the fields discussed here. It is not a new fetch, and it should not be used as a current report.

The ranking factors and the note on personal history come from YouTube's help page on how search works. The endpoint reference describes the request format and current catalog behavior. Prices on this page are calculated from the current catalog.

Published on 18 November 2026. Request details, saved examples, catalog pricing and the outside help page were checked on 18 November 2026. The date of that check is separate from the capture date of the saved response, which is not established here.

sources
FastFetchz endpoint reference
https://fastfetchz.com/docs/youtube/search-hashtag

YouTube Help: How YouTube search works
https://support.google.com/youtube/answer/16090438?hl=en

FastFetchz guide: How to get a YouTube video transcript
https://fastfetchz.com/guides/youtube-video-transcript

Endpoints you will probably want next