Skip to main content
GET
/
api
/
iframe_player
Get iFrame Player
curl --request GET \
  --url https://api.example.com/api/iframe_player
{
  "player_url": "<string>",
  "fuente": "<string>",
  "formato": "<string>",
  "error": "<string>"
}

Endpoint

GET /api/iframe_player

Description

Extracts the video player iframe URL from a given content page. This endpoint is used to get the actual streaming player for movies or series episodes. It scrapes the page and extracts the embedded player information.

Parameters

url
string
required
Full URL of the content page (movie or episode) to extract the player from

Response

player_url
string
required
URL of the video player iframe
fuente
string
required
Domain name of the video source (extracted from player_url)
formato
string
required
Player format, typically “iframe”
error
string
Error message if player extraction fails

Example Requests

Movie Player

curl "http://localhost:1234/api/iframe_player?url=https://sololatino.net/peliculas/spider-man-no-way-home"

Episode Player

curl "http://localhost:1234/api/iframe_player?url=https://sololatino.net/series/the-last-of-us/temporada-1/episodio-1"

Example Response

Success Response

{
  "player_url": "https://streamvid.net/embed/xyz123abc",
  "fuente": "streamvid.net",
  "formato": "iframe"
}

Error Responses

Missing URL Parameter

{
  "error": "Falta URL"
}
Status: 400 Bad Request

Player Not Found

{
  "error": "No se encontró el reproductor"
}
Status: 404 Not Found

How It Works

  1. Fetches HTML: Downloads the content page HTML
  2. Cleans Ads: Removes ad-related HTML elements for cleaner extraction
  3. Extracts iframe: Finds the .dooplay_player iframe element
  4. Returns Info: Extracts the iframe src URL and domain

Ad Blocking

The endpoint uses an ad blocker to clean the HTML before extraction:
  • Removes known ad containers and scripts
  • Improves extraction reliability
  • Reduces processing overhead

Embedding the Player

Use the returned player_url to embed the video player:
<iframe 
  src="{player_url}" 
  width="100%" 
  height="500" 
  frameborder="0" 
  allowfullscreen
  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
></iframe>

Common Video Sources

The fuente field may contain domains such as:
  • streamvid.net
  • streamtape.com
  • doodstream.com
  • filemoon.sx
  • voe.sx
  • And other video hosting services
Video sources may change over time as the source website updates its hosting providers.

Usage Flow

1

Get Content List

Use /api/listado or /api/deep-search to find content
2

Get Details

For series: Use /api/serie/{slug} or /api/anime/{slug} to get episode URLsFor movies: The /api/pelicula/{slug} endpoint already returns player info
3

Extract Player

Use /api/iframe_player?url=... with the episode or movie URL to get the video player
4

Embed Player

Use the returned player_url in an iframe to display the video

URL Encoding

Make sure to properly URL-encode the url parameter, especially if it contains special characters:
const contentUrl = 'https://sololatino.net/series/the-show';
const encodedUrl = encodeURIComponent(contentUrl);
const apiUrl = `http://localhost:1234/api/iframe_player?url=${encodedUrl}`;

Limitations

  • Only extracts iframe-based players (not direct video URLs)
  • Requires the source page to have a .dooplay_player iframe element
  • May fail if the source website structure changes
  • Does not validate that the player URL is actually working

Build docs developers (and LLMs) love