SparkYTBProxy API Documentation

A simple proxy service for fetching YouTube video information

Introduction

Welcome to the SparkYTBProxy API documentation. This service allows you to search for YouTube videos and retrieve their basic information.

Base URL

All API requests should be made to:

http://localhost:8080

Endpoints

Search for Videos

GET
/youtube?q={query}

Description

Searches for YouTube videos based on the provided query and returns the first matching video's information.

Query Parameters

Response

Returns a JSON object containing the video ID and channel name.

Example Request:
GET /youtube?q=example+search+query
Example Response:
{
    "video_id": "dQw4w9WgXcQ",
    "channel_name": "Example Channel"
}

Features