curl "https://api.ideardev.com/api/v1/video_scraping_models" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
Video scraping
Analyzes a video with an AI model and extracts a transcript and data. The analysis takes one to three minutes.
apihttps://api.ideardev.com/api/v1api3https://api3.ideardev.com/api/v1curl "https://api.ideardev.com/api/v1/video_scrapings" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl "https://api.ideardev.com/api/v1/video_scrapings/44" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl -X POST "https://api.ideardev.com/api/v1/video_scrapings" \
-H "Authorization: Bearer $IDEARDEV_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://youtube.com/watch?v=…",
"prompt": "products mentioned"
}'curl -X PUT "https://api.ideardev.com/api/v1/video_scrapings/44" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl -X DELETE "https://api.ideardev.com/api/v1/video_scrapings/44" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
Queues the analysis. Poll /video_scrapings/{id} until it finishes.
api3.ideardev.com · runs
idbodycurl -X POST "https://api3.ideardev.com/api/v1/video_scraping_run" \
-H "Authorization: Bearer $IDEARDEV_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": 8
}'Response
{
"message": "queued",
"video_scraping": {
"id": 8,
"status": "running"
}
}curl -X POST "https://api3.ideardev.com/api/v1/video_scraping_start" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl "https://api.ideardev.com/api/v1/video_scraping_transcript/44" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
Asks about the video using the conversation history.
api.ideardev.com
idpathmessagebodyhistorybodycurl -X POST "https://api.ideardev.com/api/v1/video_scraping_chat/44" \
-H "Authorization: Bearer $IDEARDEV_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"message": "Which prices appear?",
"history": []
}'Data extracted from the video.
api.ideardev.com
idpathcurl "https://api.ideardev.com/api/v1/data_video_scrapings/by_video_scraping_id/44" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"
curl "https://api.ideardev.com/api/v1/video_scraping_export/44/json" \ -H "Authorization: Bearer $IDEARDEV_TOKEN"