Search for videos
You can search for videos by name through the Stream API by adding a search
query parameter to the list media files endpoint.
To make API requests you will need a Cloudflare API token ↗ and your Cloudflare account ID ↗.
This example lists media where the name matches puppy.mp4
.
curl -X GET "https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/stream?search=puppy" \ -H "Authorization: Bearer <API_TOKEN>" \ -H "Content-Type: application/json"
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark