X-Stream API

Integrate our content into your applications

Full Content Access

Access our entire video library through our API

Branded Player

Embed our player with X-Stream branding

VAST Ad Support

Embedded player includes our ad system

Available Endpoints
GET/api/videos

Get all videos

Response:

{
  "videos": [
    {
      "id": "video_123",
      "title": "Video Title",
      "embed_code": "<iframe>...</iframe>",
      "thumbnail_url": "https://...",
      "views": 1000,
      "likes": 50,
      "category": "Entertainment",
      "tags": ["action", "comedy"],
      "created_date": "2024-01-01T00:00:00Z"
    }
  ]
}
GET/api/videos/:id

Get a specific video by ID

Response:

{
  "video": {
    "id": "video_123",
    "title": "Video Title",
    "embed_code": "<iframe>...</iframe>",
    "thumbnail_url": "https://...",
    "views": 1000,
    "likes": 50
  }
}
GET/api/trending

Get trending videos

Response:

{
  "videos": [...]
}
GET/api/categories

Get all categories

Response:

{
  "categories": [
    { "id": "cat_1", "name": "Entertainment" },
    { "id": "cat_2", "name": "Music" }
  ]
}

For API support, contact us at Baynithgroup@gmail.com

© 2026 Baynith Group & X-Company