cURL
curl --request GET \ --url https://api.ayrshare.com/api/media/meta
{ "codec": "h264", "duration": 28.24, // In seconds "filename": "https://img.ayrshare.com/random/landscape16.mp4", "format": "QuickTime / MOV", "height": 1080, "size": 16275959, // In bytes "type": "video", "width": 1920 }
Get the metadata on a media file URL
Authorization: Bearer API_KEY