
YouTube Subtitles
POST/youtube/subtitles
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "oxylabs",
"path": "/youtube/subtitles",
"method": "POST",
"body": {
"query": ""
}
}'
The final charge depends on what comes back. It shows after Run.
up to$0.00162per call
Response-basedYou pay for what the call uses, read from the response, never more than $0.00162 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 99.8% success · 3,330 ms median · 30 days
About this endpoint
Oxylabs YouTube subtitles scraper: subtitles and closed captions for a video ID. $0.00138 per call, $0.00162 with JavaScript rendering.
Body parameters
queryrequiredstringYouTube video ID, e.g. c4P_YuNnZ7U.contextarrayExtra options as an array of {"key": ..., "value": ...} objects. Supported keys: language_code (e.g. en), subtitle_origin (auto_generated or uploader_provided; omit for both). Example: [{"key":"language_code","value":"en"}].More from Oxylabs Web Scraper API
- Scrape any public URLPOST/universalUp to $0.00162 per callResponse-based
- Google Shopping SearchPOST/google/shopping-searchUp to $0.00162 per callResponse-based
- Walmart SearchPOST/walmart/searchUp to $0.00162 per callResponse-based
- YouTube SearchPOST/youtube/searchUp to $0.00162 per callResponse-based
- Amazon ProductPOST/amazon/productUp to $0.00162 per callResponse-based
- Walmart ProductPOST/walmart/productUp to $0.00162 per callResponse-based
- Amazon SearchPOST/amazon/searchUp to $0.00162 per callResponse-based
- Google SearchPOST/google/searchUp to $0.00162 per callResponse-based
- Google Trends ExplorePOST/google/trends-exploreUp to $0.00162 per callResponse-based
- Google AI ModePOST/google/ai-modeUp to $0.00162 per callResponse-based
- YouTube MetadataPOST/youtube/metadataUp to $0.00162 per callResponse-based
- Amazon Offers (Pricing)POST/amazon/pricingUp to $0.00162 per callResponse-based