[{"data":1,"prerenderedAt":1148},["ShallowReactive",2],{"footer-content-paths":3,"content:/pt/api":345},[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344],"/4k-downloader-online-vs-software","/4k-youtube-downloader","/about","/api","/de/4k-downloader-online-vs-software","/de/4k-youtube-downloader","/de/about","/de/api","/de/eula","/de/facebook-video-downloader","/de/how-to-download-video","/de/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/de/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/de/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/de/how-to-download-video/yt-dlp-age-restricted-videos","/de/how-to-download-video/yt-dlp-http-error-403-forbidden","/de/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/de/how-to-download-video/yt-dlp-signature-extraction-failed","/de/instagram-reels-downloader","/de/instagram-video-downloader","/de/online-video-downloader","/de/privacy-policy","/de/reddit-video-downloader","/de/safe-youtube-downloader","/de/savefrom-alternative","/de/snaptik-alternative","/de/tiktok-video-downloader","/de/twitter-video-downloader","/de/y2mate-alternative","/de/youtube-playlist-downloader","/de/youtube-shorts-downloader","/de/youtube-thumbnail-downloader","/de/youtube-to-mp3","/de/youtube-to-mp4","/de/youtube-video-downloader","/es/4k-downloader-online-vs-software","/es/4k-youtube-downloader","/es/about","/es/api","/es/eula","/es/facebook-video-downloader","/es/how-to-download-video","/es/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/es/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/es/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/es/how-to-download-video/yt-dlp-age-restricted-videos","/es/how-to-download-video/yt-dlp-http-error-403-forbidden","/es/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/es/how-to-download-video/yt-dlp-signature-extraction-failed","/es/instagram-reels-downloader","/es/instagram-video-downloader","/es/online-video-downloader","/es/privacy-policy","/es/reddit-video-downloader","/es/safe-youtube-downloader","/es/savefrom-alternative","/es/snaptik-alternative","/es/tiktok-video-downloader","/es/twitter-video-downloader","/es/y2mate-alternative","/es/youtube-playlist-downloader","/es/youtube-shorts-downloader","/es/youtube-thumbnail-downloader","/es/youtube-to-mp3","/es/youtube-to-mp4","/es/youtube-video-downloader","/eula","/facebook-video-downloader","/fr/4k-downloader-online-vs-software","/fr/4k-youtube-downloader","/fr/about","/fr/api","/fr/eula","/fr/facebook-video-downloader","/fr/how-to-download-video","/fr/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/fr/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/fr/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/fr/how-to-download-video/yt-dlp-age-restricted-videos","/fr/how-to-download-video/yt-dlp-http-error-403-forbidden","/fr/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/fr/how-to-download-video/yt-dlp-signature-extraction-failed","/fr/instagram-reels-downloader","/fr/instagram-video-downloader","/fr/online-video-downloader","/fr/privacy-policy","/fr/reddit-video-downloader","/fr/safe-youtube-downloader","/fr/savefrom-alternative","/fr/snaptik-alternative","/fr/tiktok-video-downloader","/fr/twitter-video-downloader","/fr/y2mate-alternative","/fr/youtube-playlist-downloader","/fr/youtube-shorts-downloader","/fr/youtube-thumbnail-downloader","/fr/youtube-to-mp3","/fr/youtube-to-mp4","/fr/youtube-video-downloader","/hi/4k-downloader-online-vs-software","/hi/4k-youtube-downloader","/hi/about","/hi/api","/hi/eula","/hi/facebook-video-downloader","/hi/how-to-download-video","/hi/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/hi/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/hi/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/hi/how-to-download-video/yt-dlp-age-restricted-videos","/hi/how-to-download-video/yt-dlp-http-error-403-forbidden","/hi/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/hi/how-to-download-video/yt-dlp-signature-extraction-failed","/hi/instagram-reels-downloader","/hi/instagram-video-downloader","/hi/online-video-downloader","/hi/privacy-policy","/hi/reddit-video-downloader","/hi/safe-youtube-downloader","/hi/savefrom-alternative","/hi/snaptik-alternative","/hi/tiktok-video-downloader","/hi/twitter-video-downloader","/hi/y2mate-alternative","/hi/youtube-playlist-downloader","/hi/youtube-shorts-downloader","/hi/youtube-thumbnail-downloader","/hi/youtube-to-mp3","/hi/youtube-to-mp4","/hi/youtube-video-downloader","/how-to-download-video","/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/how-to-download-video/yt-dlp-age-restricted-videos","/how-to-download-video/yt-dlp-http-error-403-forbidden","/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/how-to-download-video/yt-dlp-signature-extraction-failed","/id/4k-downloader-online-vs-software","/id/4k-youtube-downloader","/id/about","/id/api","/id/eula","/id/facebook-video-downloader","/id/how-to-download-video","/id/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/id/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/id/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/id/how-to-download-video/yt-dlp-age-restricted-videos","/id/how-to-download-video/yt-dlp-http-error-403-forbidden","/id/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/id/how-to-download-video/yt-dlp-signature-extraction-failed","/id/instagram-reels-downloader","/id/instagram-video-downloader","/id/online-video-downloader","/id/privacy-policy","/id/reddit-video-downloader","/id/safe-youtube-downloader","/id/savefrom-alternative","/id/snaptik-alternative","/id/tiktok-video-downloader","/id/twitter-video-downloader","/id/y2mate-alternative","/id/youtube-playlist-downloader","/id/youtube-shorts-downloader","/id/youtube-thumbnail-downloader","/id/youtube-to-mp3","/id/youtube-to-mp4","/id/youtube-video-downloader","/instagram-reels-downloader","/instagram-video-downloader","/ja/4k-downloader-online-vs-software","/ja/4k-youtube-downloader","/ja/about","/ja/api","/ja/eula","/ja/facebook-video-downloader","/ja/how-to-download-video","/ja/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/ja/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/ja/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/ja/how-to-download-video/yt-dlp-age-restricted-videos","/ja/how-to-download-video/yt-dlp-http-error-403-forbidden","/ja/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/ja/how-to-download-video/yt-dlp-signature-extraction-failed","/ja/instagram-reels-downloader","/ja/instagram-video-downloader","/ja/online-video-downloader","/ja/privacy-policy","/ja/reddit-video-downloader","/ja/safe-youtube-downloader","/ja/savefrom-alternative","/ja/snaptik-alternative","/ja/tiktok-video-downloader","/ja/twitter-video-downloader","/ja/y2mate-alternative","/ja/youtube-playlist-downloader","/ja/youtube-shorts-downloader","/ja/youtube-thumbnail-downloader","/ja/youtube-to-mp3","/ja/youtube-to-mp4","/ja/youtube-video-downloader","/online-video-downloader","/privacy-policy","/pt/4k-downloader-online-vs-software","/pt/4k-youtube-downloader","/pt/about","/pt/api","/pt/eula","/pt/facebook-video-downloader","/pt/how-to-download-video","/pt/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/pt/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/pt/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/pt/how-to-download-video/yt-dlp-age-restricted-videos","/pt/how-to-download-video/yt-dlp-http-error-403-forbidden","/pt/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/pt/how-to-download-video/yt-dlp-signature-extraction-failed","/pt/instagram-reels-downloader","/pt/instagram-video-downloader","/pt/online-video-downloader","/pt/privacy-policy","/pt/reddit-video-downloader","/pt/safe-youtube-downloader","/pt/savefrom-alternative","/pt/snaptik-alternative","/pt/tiktok-video-downloader","/pt/twitter-video-downloader","/pt/y2mate-alternative","/pt/youtube-playlist-downloader","/pt/youtube-shorts-downloader","/pt/youtube-thumbnail-downloader","/pt/youtube-to-mp3","/pt/youtube-to-mp4","/pt/youtube-video-downloader","/reddit-video-downloader","/ru/4k-downloader-online-vs-software","/ru/4k-youtube-downloader","/ru/about","/ru/api","/ru/eula","/ru/facebook-video-downloader","/ru/how-to-download-video","/ru/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/ru/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/ru/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/ru/how-to-download-video/yt-dlp-age-restricted-videos","/ru/how-to-download-video/yt-dlp-http-error-403-forbidden","/ru/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/ru/how-to-download-video/yt-dlp-signature-extraction-failed","/ru/instagram-reels-downloader","/ru/instagram-video-downloader","/ru/online-video-downloader","/ru/privacy-policy","/ru/reddit-video-downloader","/ru/safe-youtube-downloader","/ru/savefrom-alternative","/ru/snaptik-alternative","/ru/tiktok-video-downloader","/ru/twitter-video-downloader","/ru/y2mate-alternative","/ru/youtube-playlist-downloader","/ru/youtube-shorts-downloader","/ru/youtube-thumbnail-downloader","/ru/youtube-to-mp3","/ru/youtube-to-mp4","/ru/youtube-video-downloader","/safe-youtube-downloader","/savefrom-alternative","/snaptik-alternative","/tiktok-video-downloader","/twitter-video-downloader","/vi/4k-downloader-online-vs-software","/vi/4k-youtube-downloader","/vi/about","/vi/api","/vi/eula","/vi/facebook-video-downloader","/vi/how-to-download-video","/vi/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/vi/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/vi/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/vi/how-to-download-video/yt-dlp-age-restricted-videos","/vi/how-to-download-video/yt-dlp-http-error-403-forbidden","/vi/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/vi/how-to-download-video/yt-dlp-signature-extraction-failed","/vi/instagram-reels-downloader","/vi/instagram-video-downloader","/vi/online-video-downloader","/vi/privacy-policy","/vi/reddit-video-downloader","/vi/safe-youtube-downloader","/vi/savefrom-alternative","/vi/snaptik-alternative","/vi/tiktok-video-downloader","/vi/twitter-video-downloader","/vi/y2mate-alternative","/vi/youtube-playlist-downloader","/vi/youtube-shorts-downloader","/vi/youtube-thumbnail-downloader","/vi/youtube-to-mp3","/vi/youtube-to-mp4","/vi/youtube-video-downloader","/y2mate-alternative","/youtube-playlist-downloader","/youtube-shorts-downloader","/youtube-thumbnail-downloader","/youtube-to-mp3","/youtube-to-mp4","/youtube-video-downloader","/zh/4k-downloader-online-vs-software","/zh/4k-youtube-downloader","/zh/about","/zh/api","/zh/eula","/zh/facebook-video-downloader","/zh/how-to-download-video","/zh/how-to-download-video/how-to-download-youtube-videos-from-desktop-by-any4k","/zh/how-to-download-video/how-to-download-youtube-videos-from-ios-iphone-14-pro-max","/zh/how-to-download-video/how-to-download-youtube-videos-on-samsung-galaxy-s24-ultra","/zh/how-to-download-video/yt-dlp-age-restricted-videos","/zh/how-to-download-video/yt-dlp-http-error-403-forbidden","/zh/how-to-download-video/yt-dlp-http-error-429-too-many-requests","/zh/how-to-download-video/yt-dlp-signature-extraction-failed","/zh/instagram-reels-downloader","/zh/instagram-video-downloader","/zh/online-video-downloader","/zh/privacy-policy","/zh/reddit-video-downloader","/zh/safe-youtube-downloader","/zh/savefrom-alternative","/zh/snaptik-alternative","/zh/tiktok-video-downloader","/zh/twitter-video-downloader","/zh/y2mate-alternative","/zh/youtube-playlist-downloader","/zh/youtube-shorts-downloader","/zh/youtube-thumbnail-downloader","/zh/youtube-to-mp3","/zh/youtube-to-mp4","/zh/youtube-video-downloader",{"doc":346,"availablePaths":1146,"categoryTitle":1147},{"_path":211,"_dir":347,"_draft":348,"_partial":348,"_locale":349,"title":350,"description":351,"keywords":352,"seoTitle":353,"primaryKeyword":354,"keywordGroup":355,"intent":360,"platform":361,"canonical":211,"heroImage":362,"heroAlt":363,"heroCaption":364,"ogImage":365,"relatedPages":366,"faq":373,"body":383,"_type":1140,"_id":1141,"_source":1142,"_file":1143,"_stem":1144,"_extension":1145},"pt",false,"","Documentação da API de Download de Vídeos","Faça download de vídeos 4K do YouTube, TikTok, Twitter e mais usando nossa API de download de vídeos rápida e confiável","api download vídeo, youtube downloader, tiktok downloader, download vídeo twitter, api vídeo redes sociais, downloader vídeo 4k, downloader vídeo 8k, downloader vídeo 1080p","API de download de vídeos para YouTube, TikTok, Twitter e mais","api de download de vídeo",[356,357,358,359],"api youtube downloader","api tiktok downloader","api de vídeo para redes sociais","api downloader de vídeo","api","multi-platform","/seo/images/video-download-flow-illustration.webp","Um fluxo limpo mostrando uma URL de vídeo passando pela API de download até virar arquivos de mídia salvos.","No uso da API, o caminho também é direto: verificar a URL, escolher um formato disponível e iniciar o download.","/seo/screenshots/any4k-video-download-api.webp",[367,369,371],{"title":368,"path":313},"Baixador de vídeos do YouTube",{"title":370,"path":274},"Baixador de vídeos do TikTok",{"title":372,"path":275},"Baixador de vídeos do Twitter",[374,377,380],{"question":375,"answer":376},"O que a API de download de vídeos da Any4K faz?","A API pode verificar URLs públicas de vídeo, retornar metadados e formatos disponíveis e iniciar downloads pelos endpoints documentados.",{"question":378,"answer":379},"Quais plataformas são compatíveis?","A API foi pensada para plataformas populares como YouTube, TikTok, Twitter/X, Facebook, Instagram, Vimeo, Dailymotion, Twitch e outras quando há acesso público.",{"question":381,"answer":382},"Devo chamar o endpoint de check antes do download?","Sim. Verifique as informações do vídeo primeiro para mostrar formatos, detectar vídeos não suportados e escolher a opção certa.",{"type":384,"children":385,"toc":1127},"root",[386,394,401,408,413,452,459,605,611,618,630,636,647,653,664,670,675,705,710,817,822,827,836,841,850,856,981,987,1032,1038,1056,1062,1091,1097,1102],{"type":387,"tag":388,"props":389,"children":390},"element","p",{},[391],{"type":392,"value":393},"text","Nossa API de Download de Vídeos Any4K.com permite que você baixe facilmente vídeos de plataformas populares de mídia social, incluindo YouTube, TikTok e Twitter. A API suporta várias qualidades de vídeo, formatos e fornece recursos de extração de vídeo e áudio.",{"type":387,"tag":395,"props":396,"children":398},"h2",{"id":397},"endpoints-da-api",[399],{"type":392,"value":400},"Endpoints da API",{"type":387,"tag":402,"props":403,"children":405},"h3",{"id":404},"verificação-de-informações-do-vídeo",[406],{"type":392,"value":407},"Verificação de Informações do Vídeo",{"type":387,"tag":388,"props":409,"children":410},{},[411],{"type":392,"value":412},"Recupera metadados do vídeo e formatos de download disponíveis.",{"type":387,"tag":388,"props":414,"children":415},{},[416,422,424,431,435,440,442,445,450],{"type":387,"tag":417,"props":418,"children":419},"strong",{},[420],{"type":392,"value":421},"Endpoint:",{"type":392,"value":423}," ",{"type":387,"tag":425,"props":426,"children":428},"code",{"className":427},[],[429],{"type":392,"value":430},"https://api.any4k.com/v1/dlp/check",{"type":387,"tag":432,"props":433,"children":434},"br",{},[],{"type":387,"tag":417,"props":436,"children":437},{},[438],{"type":392,"value":439},"Método:",{"type":392,"value":441}," POST",{"type":387,"tag":432,"props":443,"children":444},{},[],{"type":387,"tag":417,"props":446,"children":447},{},[448],{"type":392,"value":449},"Content-Type:",{"type":392,"value":451}," application/json",{"type":387,"tag":453,"props":454,"children":456},"h4",{"id":455},"parâmetros-da-requisição",[457],{"type":392,"value":458},"Parâmetros da Requisição",{"type":387,"tag":460,"props":461,"children":462},"table",{},[463,492],{"type":387,"tag":464,"props":465,"children":466},"thead",{},[467],{"type":387,"tag":468,"props":469,"children":470},"tr",{},[471,477,482,487],{"type":387,"tag":472,"props":473,"children":474},"th",{},[475],{"type":392,"value":476},"Parâmetro",{"type":387,"tag":472,"props":478,"children":479},{},[480],{"type":392,"value":481},"Tipo",{"type":387,"tag":472,"props":483,"children":484},{},[485],{"type":392,"value":486},"Obrigatório",{"type":387,"tag":472,"props":488,"children":489},{},[490],{"type":392,"value":491},"Descrição",{"type":387,"tag":493,"props":494,"children":495},"tbody",{},[496,520,542,563,584],{"type":387,"tag":468,"props":497,"children":498},{},[499,505,510,515],{"type":387,"tag":500,"props":501,"children":502},"td",{},[503],{"type":392,"value":504},"url",{"type":387,"tag":500,"props":506,"children":507},{},[508],{"type":392,"value":509},"string",{"type":387,"tag":500,"props":511,"children":512},{},[513],{"type":392,"value":514},"Sim",{"type":387,"tag":500,"props":516,"children":517},{},[518],{"type":392,"value":519},"URL do vídeo para download",{"type":387,"tag":468,"props":521,"children":522},{},[523,528,532,537],{"type":387,"tag":500,"props":524,"children":525},{},[526],{"type":392,"value":527},"lang",{"type":387,"tag":500,"props":529,"children":530},{},[531],{"type":392,"value":509},{"type":387,"tag":500,"props":533,"children":534},{},[535],{"type":392,"value":536},"Não",{"type":387,"tag":500,"props":538,"children":539},{},[540],{"type":392,"value":541},"Código do idioma (padrão: en)",{"type":387,"tag":468,"props":543,"children":544},{},[545,550,554,558],{"type":387,"tag":500,"props":546,"children":547},{},[548],{"type":392,"value":549},"country",{"type":387,"tag":500,"props":551,"children":552},{},[553],{"type":392,"value":509},{"type":387,"tag":500,"props":555,"children":556},{},[557],{"type":392,"value":536},{"type":387,"tag":500,"props":559,"children":560},{},[561],{"type":392,"value":562},"Código do país (padrão: US)",{"type":387,"tag":468,"props":564,"children":565},{},[566,571,575,579],{"type":387,"tag":500,"props":567,"children":568},{},[569],{"type":392,"value":570},"platform",{"type":387,"tag":500,"props":572,"children":573},{},[574],{"type":392,"value":509},{"type":387,"tag":500,"props":576,"children":577},{},[578],{"type":392,"value":536},{"type":387,"tag":500,"props":580,"children":581},{},[582],{"type":392,"value":583},"Nome da plataforma (padrão: Web)",{"type":387,"tag":468,"props":585,"children":586},{},[587,592,596,600],{"type":387,"tag":500,"props":588,"children":589},{},[590],{"type":392,"value":591},"deviceId",{"type":387,"tag":500,"props":593,"children":594},{},[595],{"type":392,"value":509},{"type":387,"tag":500,"props":597,"children":598},{},[599],{"type":392,"value":536},{"type":387,"tag":500,"props":601,"children":602},{},[603],{"type":392,"value":604},"Identificador único do dispositivo",{"type":387,"tag":453,"props":606,"children":608},{"id":607},"exemplo-de-requisição",[609],{"type":392,"value":610},"Exemplo de Requisição",{"type":387,"tag":612,"props":613,"children":615},"h5",{"id":614},"curl",[616],{"type":392,"value":617},"cURL",{"type":387,"tag":619,"props":620,"children":625},"pre",{"className":621,"code":623,"language":624,"meta":349},[622],"language-bash","curl -X POST https://api.any4k.com/v1/dlp/check \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"url\": \"https://www.youtube.com/watch?v=VIDEO_ID\",\n    \"lang\": \"pt\",\n    \"country\": \"BR\",\n    \"platform\": \"Web\",\n    \"deviceId\": \"your-device-id\"\n  }'\n","bash",[626],{"type":387,"tag":425,"props":627,"children":628},{"__ignoreMap":349},[629],{"type":392,"value":623},{"type":387,"tag":612,"props":631,"children":633},{"id":632},"nodejs",[634],{"type":392,"value":635},"Node.js",{"type":387,"tag":619,"props":637,"children":642},{"className":638,"code":640,"language":641,"meta":349},[639],"language-javascript","const axios = require('axios');\n\nasync function checkVideo() {\n  try {\n    const response = await axios.post('https://api.any4k.com/v1/dlp/check', {\n      url: 'https://www.youtube.com/watch?v=VIDEO_ID',\n      lang: 'pt',\n      country: 'BR',\n      platform: 'Web',\n      deviceId: 'your-device-id'\n    }, {\n      headers: {\n        'Content-Type': 'application/json'\n      }\n    });\n    console.log(response.data);\n  } catch (error) {\n    console.error('Erro:', error.response.data);\n  }\n}\n","javascript",[643],{"type":387,"tag":425,"props":644,"children":645},{"__ignoreMap":349},[646],{"type":392,"value":640},{"type":387,"tag":453,"props":648,"children":650},{"id":649},"formato-da-resposta",[651],{"type":392,"value":652},"Formato da Resposta",{"type":387,"tag":619,"props":654,"children":659},{"className":655,"code":657,"language":658,"meta":349},[656],"language-json","{\n  \"err_code\": 0,\n  \"err_msg\": \"\",\n  \"data\": {\n    \"id\": \"VIDEO_ID\",\n    \"title\": \"Título do vídeo\",\n    \"description\": \"Descrição do vídeo\",\n    \"duration\": 180,\n    \"view_count\": 1000000,\n    \"upload_date\": \"20240401\",\n    \"extractor\": \"youtube\",\n    \"is_live\": false,\n    \"thumbnail\": \"https://example.com/thumbnail.jpg\",\n    \"download\": [\n      {\n        \"id\": \"format_id\",\n        \"ext\": \"mp4\",\n        \"res_text\": \"1080p\",\n        \"filesize\": 104857600\n      }\n    ],\n    \"raw_video\": [\n      {\n        \"id\": \"format_id\",\n        \"ext\": \"mp4\",\n        \"res_text\": \"4K\",\n        \"filesize\": 524288000,\n        \"vcodec\": \"h264\"\n      }\n    ],\n    \"raw_audio\": [\n      {\n        \"id\": \"format_id\",\n        \"ext\": \"m4a\",\n        \"filesize\": 3145728,\n        \"acodec\": \"aac\",\n        \"asr\": 44100\n      }\n    ]\n  }\n}\n","json",[660],{"type":387,"tag":425,"props":661,"children":662},{"__ignoreMap":349},[663],{"type":392,"value":657},{"type":387,"tag":402,"props":665,"children":667},{"id":666},"download-de-vídeo",[668],{"type":392,"value":669},"Download de Vídeo",{"type":387,"tag":388,"props":671,"children":672},{},[673],{"type":392,"value":674},"Faz o download do vídeo no formato especificado.",{"type":387,"tag":388,"props":676,"children":677},{},[678,682,683,689,692,696,697,700,704],{"type":387,"tag":417,"props":679,"children":680},{},[681],{"type":392,"value":421},{"type":392,"value":423},{"type":387,"tag":425,"props":684,"children":686},{"className":685},[],[687],{"type":392,"value":688},"https://api.any4k.com/v1/dlp/download",{"type":387,"tag":432,"props":690,"children":691},{},[],{"type":387,"tag":417,"props":693,"children":694},{},[695],{"type":392,"value":439},{"type":392,"value":441},{"type":387,"tag":432,"props":698,"children":699},{},[],{"type":387,"tag":417,"props":701,"children":702},{},[703],{"type":392,"value":449},{"type":392,"value":451},{"type":387,"tag":453,"props":706,"children":708},{"id":707},"parâmetros-da-requisição-1",[709],{"type":392,"value":458},{"type":387,"tag":460,"props":711,"children":712},{},[713,735],{"type":387,"tag":464,"props":714,"children":715},{},[716],{"type":387,"tag":468,"props":717,"children":718},{},[719,723,727,731],{"type":387,"tag":472,"props":720,"children":721},{},[722],{"type":392,"value":476},{"type":387,"tag":472,"props":724,"children":725},{},[726],{"type":392,"value":481},{"type":387,"tag":472,"props":728,"children":729},{},[730],{"type":392,"value":486},{"type":387,"tag":472,"props":732,"children":733},{},[734],{"type":392,"value":491},{"type":387,"tag":493,"props":736,"children":737},{},[738,758,779,798],{"type":387,"tag":468,"props":739,"children":740},{},[741,745,749,753],{"type":387,"tag":500,"props":742,"children":743},{},[744],{"type":392,"value":504},{"type":387,"tag":500,"props":746,"children":747},{},[748],{"type":392,"value":509},{"type":387,"tag":500,"props":750,"children":751},{},[752],{"type":392,"value":514},{"type":387,"tag":500,"props":754,"children":755},{},[756],{"type":392,"value":757},"URL do vídeo",{"type":387,"tag":468,"props":759,"children":760},{},[761,766,770,774],{"type":387,"tag":500,"props":762,"children":763},{},[764],{"type":392,"value":765},"format",{"type":387,"tag":500,"props":767,"children":768},{},[769],{"type":392,"value":509},{"type":387,"tag":500,"props":771,"children":772},{},[773],{"type":392,"value":514},{"type":387,"tag":500,"props":775,"children":776},{},[777],{"type":392,"value":778},"ID do formato da resposta de verificação",{"type":387,"tag":468,"props":780,"children":781},{},[782,786,790,794],{"type":387,"tag":500,"props":783,"children":784},{},[785],{"type":392,"value":527},{"type":387,"tag":500,"props":787,"children":788},{},[789],{"type":392,"value":509},{"type":387,"tag":500,"props":791,"children":792},{},[793],{"type":392,"value":536},{"type":387,"tag":500,"props":795,"children":796},{},[797],{"type":392,"value":541},{"type":387,"tag":468,"props":799,"children":800},{},[801,805,809,813],{"type":387,"tag":500,"props":802,"children":803},{},[804],{"type":392,"value":549},{"type":387,"tag":500,"props":806,"children":807},{},[808],{"type":392,"value":509},{"type":387,"tag":500,"props":810,"children":811},{},[812],{"type":392,"value":536},{"type":387,"tag":500,"props":814,"children":815},{},[816],{"type":392,"value":562},{"type":387,"tag":453,"props":818,"children":820},{"id":819},"exemplo-de-requisição-1",[821],{"type":392,"value":610},{"type":387,"tag":612,"props":823,"children":825},{"id":824},"curl-1",[826],{"type":392,"value":617},{"type":387,"tag":619,"props":828,"children":831},{"className":829,"code":830,"language":624,"meta":349},[622],"curl -X POST https://api.any4k.com/v1/dlp/download \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"url\": \"https://www.youtube.com/watch?v=VIDEO_ID\",\n    \"format\": \"format_id\",\n    \"lang\": \"pt\",\n    \"country\": \"BR\"\n  }'\n",[832],{"type":387,"tag":425,"props":833,"children":834},{"__ignoreMap":349},[835],{"type":392,"value":830},{"type":387,"tag":612,"props":837,"children":839},{"id":838},"nodejs-1",[840],{"type":392,"value":635},{"type":387,"tag":619,"props":842,"children":845},{"className":843,"code":844,"language":641,"meta":349},[639],"const axios = require('axios');\n\nasync function downloadVideo() {\n  try {\n    const response = await axios.post('https://api.any4k.com/v1/dlp/download', {\n      url: 'https://www.youtube.com/watch?v=VIDEO_ID',\n      format: 'format_id',\n      lang: 'pt',\n      country: 'BR'\n    }, {\n      headers: {\n        'Content-Type': 'application/json'\n      },\n      responseType: 'stream'\n    });\n    \n    // Processar o stream de vídeo\n    response.data.pipe(fs.createWriteStream('video.mp4'));\n  } catch (error) {\n    console.error('Erro:', error.message);\n  }\n}\n",[846],{"type":387,"tag":425,"props":847,"children":848},{"__ignoreMap":349},[849],{"type":392,"value":844},{"type":387,"tag":395,"props":851,"children":853},{"id":852},"códigos-de-erro",[854],{"type":392,"value":855},"Códigos de Erro",{"type":387,"tag":460,"props":857,"children":858},{},[859,874],{"type":387,"tag":464,"props":860,"children":861},{},[862],{"type":387,"tag":468,"props":863,"children":864},{},[865,870],{"type":387,"tag":472,"props":866,"children":867},{},[868],{"type":392,"value":869},"Código",{"type":387,"tag":472,"props":871,"children":872},{},[873],{"type":392,"value":491},{"type":387,"tag":493,"props":875,"children":876},{},[877,890,903,916,929,942,955,968],{"type":387,"tag":468,"props":878,"children":879},{},[880,885],{"type":387,"tag":500,"props":881,"children":882},{},[883],{"type":392,"value":884},"0",{"type":387,"tag":500,"props":886,"children":887},{},[888],{"type":392,"value":889},"Sucesso",{"type":387,"tag":468,"props":891,"children":892},{},[893,898],{"type":387,"tag":500,"props":894,"children":895},{},[896],{"type":392,"value":897},"400",{"type":387,"tag":500,"props":899,"children":900},{},[901],{"type":392,"value":902},"Requisição Inválida - Parâmetros inválidos",{"type":387,"tag":468,"props":904,"children":905},{},[906,911],{"type":387,"tag":500,"props":907,"children":908},{},[909],{"type":392,"value":910},"401",{"type":387,"tag":500,"props":912,"children":913},{},[914],{"type":392,"value":915},"Não Autorizado - Chave API inválida",{"type":387,"tag":468,"props":917,"children":918},{},[919,924],{"type":387,"tag":500,"props":920,"children":921},{},[922],{"type":392,"value":923},"403",{"type":387,"tag":500,"props":925,"children":926},{},[927],{"type":392,"value":928},"Proibido - Acesso negado",{"type":387,"tag":468,"props":930,"children":931},{},[932,937],{"type":387,"tag":500,"props":933,"children":934},{},[935],{"type":392,"value":936},"404",{"type":387,"tag":500,"props":938,"children":939},{},[940],{"type":392,"value":941},"Não Encontrado - Vídeo não encontrado",{"type":387,"tag":468,"props":943,"children":944},{},[945,950],{"type":387,"tag":500,"props":946,"children":947},{},[948],{"type":392,"value":949},"429",{"type":387,"tag":500,"props":951,"children":952},{},[953],{"type":392,"value":954},"Muitas Requisições - Limite excedido",{"type":387,"tag":468,"props":956,"children":957},{},[958,963],{"type":387,"tag":500,"props":959,"children":960},{},[961],{"type":392,"value":962},"500",{"type":387,"tag":500,"props":964,"children":965},{},[966],{"type":392,"value":967},"Erro Interno do Servidor",{"type":387,"tag":468,"props":969,"children":970},{},[971,976],{"type":387,"tag":500,"props":972,"children":973},{},[974],{"type":392,"value":975},"502",{"type":387,"tag":500,"props":977,"children":978},{},[979],{"type":392,"value":980},"Gateway Inválido - Erro da plataforma de vídeo",{"type":387,"tag":395,"props":982,"children":984},{"id":983},"plataformas-suportadas",[985],{"type":392,"value":986},"Plataformas Suportadas",{"type":387,"tag":988,"props":989,"children":990},"ul",{},[991,997,1002,1007,1012,1017,1022,1027],{"type":387,"tag":992,"props":993,"children":994},"li",{},[995],{"type":392,"value":996},"YouTube",{"type":387,"tag":992,"props":998,"children":999},{},[1000],{"type":392,"value":1001},"TikTok",{"type":387,"tag":992,"props":1003,"children":1004},{},[1005],{"type":392,"value":1006},"Twitter",{"type":387,"tag":992,"props":1008,"children":1009},{},[1010],{"type":392,"value":1011},"Instagram",{"type":387,"tag":992,"props":1013,"children":1014},{},[1015],{"type":392,"value":1016},"Facebook",{"type":387,"tag":992,"props":1018,"children":1019},{},[1020],{"type":392,"value":1021},"Vimeo",{"type":387,"tag":992,"props":1023,"children":1024},{},[1025],{"type":392,"value":1026},"Dailymotion",{"type":387,"tag":992,"props":1028,"children":1029},{},[1030],{"type":392,"value":1031},"E mais...",{"type":387,"tag":395,"props":1033,"children":1035},{"id":1034},"limites-de-taxa",[1036],{"type":392,"value":1037},"Limites de Taxa",{"type":387,"tag":988,"props":1039,"children":1040},{},[1041,1046,1051],{"type":387,"tag":992,"props":1042,"children":1043},{},[1044],{"type":392,"value":1045},"Plano Gratuito: 100 requisições por dia",{"type":387,"tag":992,"props":1047,"children":1048},{},[1049],{"type":392,"value":1050},"Plano Pro: 1000 requisições por dia",{"type":387,"tag":992,"props":1052,"children":1053},{},[1054],{"type":392,"value":1055},"Plano Empresarial: Limites personalizados",{"type":387,"tag":395,"props":1057,"children":1059},{"id":1058},"melhores-práticas",[1060],{"type":392,"value":1061},"Melhores Práticas",{"type":387,"tag":1063,"props":1064,"children":1065},"ol",{},[1066,1071,1076,1081,1086],{"type":387,"tag":992,"props":1067,"children":1068},{},[1069],{"type":392,"value":1070},"Sempre verifique as informações do vídeo antes do download",{"type":387,"tag":992,"props":1072,"children":1073},{},[1074],{"type":392,"value":1075},"Trate adequadamente os limites de taxa",{"type":387,"tag":992,"props":1077,"children":1078},{},[1079],{"type":392,"value":1080},"Implemente tratamento adequado de erros",{"type":387,"tag":992,"props":1082,"children":1083},{},[1084],{"type":392,"value":1085},"Faça cache das respostas quando possível",{"type":387,"tag":992,"props":1087,"children":1088},{},[1089],{"type":392,"value":1090},"Use valores apropriados de timeout",{"type":387,"tag":395,"props":1092,"children":1094},{"id":1093},"suporte",[1095],{"type":392,"value":1096},"Suporte",{"type":387,"tag":388,"props":1098,"children":1099},{},[1100],{"type":392,"value":1101},"Para suporte técnico ou dúvidas, entre em contato:",{"type":387,"tag":988,"props":1103,"children":1104},{},[1105,1117],{"type":387,"tag":992,"props":1106,"children":1107},{},[1108,1110],{"type":392,"value":1109},"Email: ",{"type":387,"tag":1111,"props":1112,"children":1114},"a",{"href":1113},"mailto:api@any4k.com",[1115],{"type":392,"value":1116},"api@any4k.com",{"type":387,"tag":992,"props":1118,"children":1119},{},[1120,1122],{"type":392,"value":1121},"Documentação: ",{"type":387,"tag":1111,"props":1123,"children":1125},{"href":1124},"https://any4k.com/api",[1126],{"type":392,"value":1124},{"title":349,"searchDepth":1128,"depth":1128,"links":1129},2,[1130,1135,1136,1137,1138,1139],{"id":397,"depth":1128,"text":400,"children":1131},[1132,1134],{"id":404,"depth":1133,"text":407},3,{"id":666,"depth":1133,"text":669},{"id":852,"depth":1128,"text":855},{"id":983,"depth":1128,"text":986},{"id":1034,"depth":1128,"text":1037},{"id":1058,"depth":1128,"text":1061},{"id":1093,"depth":1128,"text":1096},"markdown","content:pt:api.md","content","pt/api.md","pt/api","md",[7,11,42,75,106,145,178,211,243,279,317],null,1792764443703]