Language: Spanish

YouTube Data API for Mexico

Search videos, fetch transcripts, and read metadata from YouTube Mexico. One API for search, transcripts, and channel data.

YouTube in Mexico

YouTube has enormous reach in Mexico and is a primary entertainment platform. Spanish-language creator content, music videos, and telenovela-style vlogs drive heavy engagement.

Popular Creator Archetypes

  • Mexican comedy creators
  • Latin music channels
  • gaming streamers
  • reggaeton and regional Mexican music channels

Search YouTube Mexico

Pass platform: "youtube" and country_code: "mx" to search videos localized to Mexico audiences.

Python
import requests

response = requests.post(
    "https://api.scavio.dev/api/v1/search",
    headers={
        "x-api-key": "your_scavio_api_key",
        "Content-Type": "application/json",
    },
    json={
        "platform": "youtube",
        "query": "Mexican comedy creators",
        "country_code": "mx",
    },
)

data = response.json()
for video in data.get("videos", [])[:5]:
    print(f"{video['title']}")
    print(f"  {video.get('channel', 'N/A')} | {video.get('views', 'N/A')} views")
    print(f"  https://youtube.com/watch?v={video['video_id']}\n")

Get Transcripts in Spanish

The transcript endpoint returns timestamped text for any public video. Pass the ISO language code to prefer the Spanish track where available.

Python
import requests

# Get a full video transcript
response = requests.post(
    "https://api.scavio.dev/api/v1/search",
    headers={"x-api-key": "your_scavio_api_key"},
    json={
        "platform": "youtube",
        "action": "transcript",
        "video_id": "dQw4w9WgXcQ",
        "language": "spanish",
    },
)
print(response.json()["transcript"])

Common Use Cases in Mexico

  • Trend detection — monitor emerging topics and viral content in the Mexico market.
  • Creator research — analyze channels, views, and engagement at scale.
  • Content summarization — feed transcripts to LLMs for summaries, key quotes, or clips.
  • Brand monitoring — track mentions of your brand in Mexico YouTube videos.
  • Competitive intelligence — see what competitors rank for in Mexico YouTube search.

Why Use Scavio for YouTube Mexico

  • No YouTube Data API quota limits. Scavio handles rate limiting for you.
  • Transcripts included. Full transcript API that works on both auto-generated and uploader-provided captions.
  • Multi-language support. Return transcripts in Spanish or any available language.
  • Structured JSON. Video ID, channel, views, likes, duration, tags, all in a flat schema.
  • Free tier. 500 credits per month. No card required.

Frequently Asked Questions

Send a POST request to /api/v1/search with platform: "youtube" and country_code: "mx". Scavio returns search results, trends, and creator metadata localized to the Mexico market.

Yes. Scavio returns both auto-generated and uploader-provided transcripts. For Mexico videos, pass language as the primary Spanish code. Multiple languages are available when the video provides them.

Views, likes, comments count, published date, channel name and subscriber count, duration, tags, category, and thumbnails. All returned in clean JSON.

Yes. Combine the YouTube search endpoint with periodic queries to track trending queries, rising creators, and emerging content in the Mexico market.

Scavio offers 500 free credits per month. Each YouTube search, transcript, or metadata lookup costs 1 credit. No credit card required.

Start Building with YouTube Mexico

Fetch YouTube video data and transcripts for the Mexico market. 500 free credits/month.