curl--request GET \--url https://api.ayrshare.com/api/media/meta \--header'Authorization: Bearer <token>'
{"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}
Available on Premium, Business, Enterprise plans.
Retrieve the metadata on a media file URL to check format, dimensions, and other details.
Encoded URI of the externally accessible media file URL.
{"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}
curl--request GET \--url https://api.ayrshare.com/api/media/meta \--header'Authorization: Bearer <token>'
{"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}