Discover/Getyarn API
live

Getyarn APIgetyarn.io ↗

Search getyarn.io video clips by subtitle phrase. Returns clip ID, source title, quote text, direct mp4 URL, and duration for up to 20 results per page.

Endpoint health
verified 2h ago
search_clips
1/1 passing latest checkself-healing
Endpoints
1
Updated
2h ago

What is the Getyarn API?

The getyarn.io API exposes a single search_clips endpoint that queries the site's library of TV and movie subtitle clips and returns up to 20 clip records per page, each containing 8 fields including the source title, verbatim quote text, a direct mp4 URL, a subtitled mp4 variant, a thumbnail, and a clip page URL. You can filter results by genre, content rating, decade, and media type before making a request.

This call costs1 credit / call— charged only on success
Try it
1-based result page; each page holds 20 clips.
Genre label filter as shown in the site's genre facet (e.g. Fantasy, Comedy, Drama). Omitted = all genres.
Word or phrase to search for in clip subtitles.
Content-rating filter as shown in the site's rating facet (e.g. TV-PG, PG-13, R). Omitted = all ratings.
Decade filter as a 4-digit decade start year as shown in the site's decade facet (e.g. 1960, 2010). Omitted = all decades.
Restrict results to one media category. Omitted = all media.
→ api.parse.bot/scraper/2c0d0691-3a6c-49fa-8829-05d1758c2144/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2c0d0691-3a6c-49fa-8829-05d1758c2144/search_clips?query=you+shall+not+pass' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace getyarn-io-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Yarn clip search — find movie/TV quotes, filter by media type."""
from parse_apis.getyarn_io_api import Yarn, MediaType, InputFormatInvalid

client = Yarn()

# Search for a famous quote across all media, capped at 5 results.
for clip in client.clips.search(query="you shall not pass", limit=5):
    print(clip.quote, "-", clip.source_title, f"({clip.duration_seconds}s)")

# Narrow to movies only and grab the top hit; handle invalid-input errors.
try:
    top_movie_clip = client.clips.search(
        query="here's looking at you",
        media_type=MediaType.MOVIES,
        limit=1,
    ).first()
except InputFormatInvalid as e:
    print("Bad request:", e.message)
    top_movie_clip = None

if top_movie_clip is not None:
    print(top_movie_clip.quote)
    print("source:", top_movie_clip.source_title)
    print("watch:", top_movie_clip.mp4_url)
    print("score:", top_movie_clip.score)

print("exercised: clips.search (all media) / clips.search (movies filter) / InputFormatInvalid")
All endpoints · 1 totalmissing one? ·

Searches video clips whose subtitles match a word or phrase and returns one page of 20 clip records ranked by relevance (the site uses fuzzy matching, so lower-ranked results may only partially match). Each record carries the source show or movie title (the site's only title for a clip, e.g. a show name with season/episode), the quoted subtitle text, the clip page URL, the direct mp4 URL, a subtitled mp4 variant, thumbnail/GIF URLs, the clip duration in seconds and its start/end offsets in the source video. Pagination is page-numbered: page defaults to 1, and has_more tells whether a further page exists; total_hits is the site's own hit count, which it caps at 100000. Optional filters narrow by media type, genre, decade and content rating; an unrecognized filter value is passed to the site and typically yields the site's fallback (fewer or fuzzier) results rather than an error. One site request per call.

Input
ParamTypeDescription
pageinteger1-based result page; each page holds 20 clips.
genrestringGenre label filter as shown in the site's genre facet (e.g. Fantasy, Comedy, Drama). Omitted = all genres.
queryrequiredstringWord or phrase to search for in clip subtitles.
ratedstringContent-rating filter as shown in the site's rating facet (e.g. TV-PG, PG-13, R). Omitted = all ratings.
decadestringDecade filter as a 4-digit decade start year as shown in the site's decade facet (e.g. 1960, 2010). Omitted = all decades.
media_typestringRestrict results to one media category. Omitted = all media.
Response
{
  "type": "object",
  "fields": {
    "page": "integer, the 1-based page returned",
    "clips": "array of clip records: clip_id, source_title (show/movie title), quote (subtitle text), clip_url, mp4_url, subtitled_mp4_url, thumbnail_url, gif_url, duration_seconds (number), start_time_seconds, end_time_seconds, content_type (episode/movie or null), source_id (show/movie id), score (relevance)",
    "query": "echo of the searched phrase",
    "has_more": "boolean, whether a next page exists",
    "page_size": "integer, clips per page (20)",
    "total_hits": "integer, site-reported matching clip count (capped at 100000)"
  },
  "sample": {
    "data": {
      "page": 1,
      "clips": [
        {
          "quote": "You shall not pass!",
          "score": 240.69667,
          "clip_id": "fa41b589-210d-4149-bd11-f2d19e640c14",
          "gif_url": "https://y.yarn.co/fa41b589-210d-4149-bd11-f2d19e640c14_text.gif",
          "mp4_url": "https://y.yarn.co/fa41b589-210d-4149-bd11-f2d19e640c14.mp4",
          "clip_url": "https://getyarn.io/yarn-clip/fa41b589-210d-4149-bd11-f2d19e640c14",
          "source_id": "066d4f03-1b02-4de2-b78f-5d28d5fdb8e5",
          "content_type": "episode",
          "source_title": "Miraculous: Tales of Ladybug & Cat Noir (2015) - S02E12 Gorizilla",
          "thumbnail_url": "https://y.yarn.co/fa41b589-210d-4149-bd11-f2d19e640c14_thumb.jpg",
          "duration_seconds": 2.9,
          "end_time_seconds": 916.54,
          "subtitled_mp4_url": "https://y.yarn.co/fa41b589-210d-4149-bd11-f2d19e640c14_text.mp4",
          "start_time_seconds": 913.66
        }
      ],
      "query": "you shall not pass",
      "has_more": true,
      "page_size": 20,
      "total_hits": 100000
    },
    "status": "success"
  }
}

About the Getyarn API

What the API Returns

The search_clips endpoint accepts a query string and returns a paginated list of clips whose subtitle text matches that phrase. Each response includes clips, an array of records containing clip_id, source_title, quote, clip_url, mp4_url, subtitled_mp4_url, and thumbnail data. The response also echoes back your query, reports the current page, the fixed page_size of 20, a has_more boolean for pagination, and a total_hits count capped at 100,000.

Filtering and Pagination

Four optional filter parameters narrow the result set before it is returned. genre accepts labels like Fantasy, Comedy, or Drama. rated accepts standard content-rating strings such as TV-PG, PG-13, or R. decade takes a 4-digit decade start year (e.g. 1990, 2010). media_type restricts results to a single media category. All filters match the facet labels as displayed on the site. Pagination is 1-based via the page parameter; check has_more to determine whether additional pages exist.

Matching Behavior and Coverage

getyarn.io uses fuzzy matching, so results are ranked by relevance and lower-ranked clips on a given page may only partially match the queried phrase. The total_hits value reflects what the site reports and is capped at 100,000 regardless of actual library size. There is no endpoint for browsing by show title directly — discovery goes through subtitle text search.

Reliability & maintenanceVerified

The Getyarn API is a managed, monitored endpoint for getyarn.io — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when getyarn.io changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official getyarn.io API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
2h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a quote-search tool that retrieves the direct mp4_url for any memorable TV or movie line
  • Generate reaction GIF or clip suggestions in a chat app by querying common phrases against the subtitle index
  • Filter clips to a specific decade and genre to build a themed video-quote collection
  • Correlate source_title frequency across a query set to find which shows produce the most clips for a given phrase
  • Populate a content-rating-aware clip picker by filtering results with the rated parameter
  • Embed subtitled video clips in educational tools using the subtitled_mp4_url field for accessibility
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does getyarn.io offer an official developer API?+
getyarn.io does not publish an official developer API or documented public endpoints. This Parse API provides structured access to the clip data available on the site.
What does the search_clips endpoint return for each clip?+
Each clip record includes clip_id, source_title (the show or movie name), quote (the verbatim subtitle text), clip_url (the page on getyarn.io), mp4_url (direct video file), subtitled_mp4_url (the captioned variant), and thumbnail data. The response also carries query, page, page_size, has_more, and total_hits at the top level.
How does fuzzy matching affect result quality?+
The site ranks clips by relevance, but it applies fuzzy matching, so results later in a page — or on later pages — may only partially match your phrase. For precise matches, short, distinctive phrases tend to return better results than long sentences. The has_more field tells you whether additional pages exist to paginate through.
Can I look up all clips from a specific show or movie without a subtitle query?+
Not currently. The API requires a query string and retrieves clips by subtitle text; there is no browse-by-title or show-catalog endpoint. You can fork this API on Parse and revise it to add a show or title browsing endpoint.
Is clip metadata like upload date, view count, or user attribution included?+
Not currently. The response covers source_title, quote text, video URLs, thumbnail, and duration. Fields like view count, uploader identity, or upload date are not returned. You can fork this API on Parse and revise it to add those fields if the source exposes them.
Page content last updated . Spec covers 1 endpoint from getyarn.io.
Related APIs in EntertainmentSee all →
artlist.io API
Search and browse millions of stock footage clips on Artlist.io by category and sort preferences, including AI-generated content options. Quickly find the perfect video clips for your projects with powerful filtering capabilities to narrow down results by your specific needs.
filmskimaraton.com API
Access data from filmskimaraton.com.
filmot.com API
Search YouTube channels and find specific moments across videos by looking up subtitles in multiple languages through Filmot's comprehensive database. Discover exactly when topics are mentioned across channels without manually watching every video.
youtube.com API
Retrieve public YouTube channel information, discover featured channels and recommendations, and access liked videos playlists to understand what content creators are promoting and enjoying. Perfect for researching creator profiles, finding related channels, and exploring curated video collections without needing direct channel access.
witanime.site API
Access data from witanime.site.
vidrock.to API
Access data from vidrock.to.
openclipart.org API
Search and discover clipart from OpenClipart, explore collections by tag, and retrieve detailed metadata including artist profiles, engagement metrics, and download URLs. Also exposes site-wide statistics such as total clipart count, artist count, and recent upload activity.
simplyscripts.com API
Search and browse thousands of movie, TV, radio, and unproduced scripts from SimplyScripts.com, including Oscar-winning screenplays and the latest additions. Filter by genre, alphabetically, or by script type to find exactly what you're looking for.