> ## Documentation Index
> Fetch the complete documentation index at: https://pnpprotocol.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube Predictions

> This section details the process for setting up YouTube-based markets, where participants can predict and trade outcomes tied to viewership and engagement data.

### YouTube Video Predictions

Create prediction markets based on YouTube video performance metrics like view count, likes, or comments.
Settlement: Automatic via YouTube API integration

![Screenshot of YouTube prediction market creation interface](https://mintcdn.com/pnpprotocol/HXLsAbu_1qYKTAeW/images/YT.png?fit=max\&auto=format\&n=HXLsAbu_1qYKTAeW\&q=85\&s=4c92b8efecb2e3c72208bdf58409213b)

### Adding YouTube Videos

Simply paste any YouTube video link to create a prediction market about its future performance.

![Interface showing where to paste YouTube links](https://mintcdn.com/pnpprotocol/HXLsAbu_1qYKTAeW/images/yt1.png?fit=max\&auto=format\&n=HXLsAbu_1qYKTAeW\&q=85\&s=da75deb3fff92301c70ce92c8804798a)

### Setting Prediction Parameters

Choose what to predict about the video - views, likes, comments, or other engagement metrics.
Select a timeframe for your prediction - end of day, week, or month.

![Interface showing where to paste YouTube links](https://mintcdn.com/pnpprotocol/HXLsAbu_1qYKTAeW/images/yt2.png?fit=max\&auto=format\&n=HXLsAbu_1qYKTAeW\&q=85\&s=94900f440fdce2e22e3980f3dc1865b0)

### Market Settlement

Markets automatically settle using our YouTube API integration when the prediction timeframe ends.

![YouTube market settlement process](https://mintcdn.com/pnpprotocol/HXLsAbu_1qYKTAeW/images/yt3.png?fit=max\&auto=format\&n=HXLsAbu_1qYKTAeW\&q=85\&s=bc305146945963f774fcd34a22973b21)

### Popular Use Cases

* Predicting viral potential of new uploads
* Forecasting subscriber milestones
* Estimating engagement for upcoming premieres
* Predicting performance of trending videos


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.