{"info":{"description":"Searchable index of movie and TV download links (HubCloud, GDFlix mirrors) with on-demand direct-link resolution. Built for AI agents: plain HTTPS, JSON in and out, no browser, no captchas. See https://movies.ssrizz.workers.dev/llms.txt for agent how-to.","title":"movies","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/diag":{"get":{"parameters":[{"in":"query","name":"source","schema":{"default":"moviesdrive","type":"string"}},{"in":"query","name":"page","schema":{"default":1,"minimum":1,"type":"integer"}}],"responses":{"200":{"description":"Upstream status, byte count, item count, timings"},"400":{"description":"Unknown source"},"502":{"description":"Upstream unreachable, body unreadable, or body over cap"}},"summary":"Probe the upstream WP list URL from worker egress (ingest diagnosis)"}},"/api/domains":{"get":{"responses":{"200":{"description":"Domain map"}},"summary":"Upstream provider domain map"}},"/api/get":{"get":{"parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"in":"query","name":"n","schema":{"default":10,"maximum":50,"minimum":1,"type":"integer"}},{"in":"query","name":"host","schema":{"type":"string"}},{"in":"query","name":"cursor","description":"Opaque `nextCursor` from the previous response. Omit for the first page. Only valid with the same `q` and `host`.","schema":{"type":"string"}}],"responses":{"200":{"description":"Newest-first page URLs plus `hasMore`, `nextCursor`, `truncated`, `searchWindow` and resolve instructions. Not ranked by relevance. `searchWindow` is how far back the scan looked, in rows."}},"summary":"Search the index for candidate page URLs (resolve locally)"}},"/api/hosts":{"get":{"responses":{"200":{"description":"Host counts"}},"summary":"Mirror host counts"}},"/api/links":{"get":{"parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"host","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"default":1,"type":"integer"}},{"in":"query","name":"limit","schema":{"default":50,"maximum":100,"type":"integer"}},{"in":"query","name":"cursor","description":"Opaque `nextCursor` from the previous response. Walks past the `page`/`limit` offset ceiling.","schema":{"type":"string"}}],"responses":{"200":{"description":"Paged link rows"}},"summary":"Raw index search (unresolved page URLs)"}},"/api/resolve":{"get":{"parameters":[{"in":"query","name":"url","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Direct link or dead end"}},"summary":"Resolve one indexed page URL to a fresh direct download URL"}},"/api/stats":{"get":{"responses":{"200":{"description":"Coverage stats"}},"summary":"Index coverage and ingest budget"}},"/health":{"get":{"responses":{"200":{"description":"OK"}},"summary":"Liveness probe"}},"/scripts":{"get":{"responses":{"200":{"description":"Script manifest with fetch + run commands"}},"summary":"Agent scripts served as source, runnable from any machine"}},"/scripts/get-movie.ts":{"get":{"description":"Save it and run with bun: `curl -sO <url>/scripts/get-movie.ts && bun get-movie.ts \"<title>\"`.","responses":{"200":{"description":"TypeScript source"}},"summary":"Self-contained agent script: search, resolve locally, download"}}},"servers":[{"url":"https://movies.ssrizz.workers.dev"}]}