XFREE / API V1
Developer API
Use X video metadata on your own website. Apply for a key; we email it only after approval.
GET /api/v1/lookup
The key belongs on your server. Never place it in browser code.
Endpoint: https://x.get-free.net/api/v1/lookup?url=...
Send the key as a Bearer token. The per-key limit is counted by minute; HTTP 429 includes Retry-After. Authorization: Bearer xfk_...
curl -G 'https://x.get-free.net/api/v1/lookup' -H 'Authorization: Bearer xfk_YOUR_KEY' --data-urlencode 'url=https://x.com/user/status/1234567890123456789'The JSON response includes post ID, source URL, author, text, videos and temporary MP4 URLs. id, sourceUrl, author, text, videos[], formats[]. invalid_api_key, invalid_url, rate_limited, no_video.
Successful lookups enter the XFree video pool; public hot pages still require review.
Embed component
Use the slug of an approved video. No API key appears in browser code.
<script src="https://x.get-free.net/embed.js" defer></script>
<xfree-video slug="example-video-123456789012"></xfree-video>