Introduction
Welcome to the XenonFlare Developer Documentation.
XenonFlare provides a powerful, military-grade API for high-volume video distribution. Our API allows you to programmatically upload, process, and schedule content across multiple social media platforms simultaneously.
Core Capabilities
- Unified Upload: One endpoint to rule them all. Upload your video once and target multiple platforms.
- Cloud Encoding: Automatic optimization for YouTube Shorts and Instagram Reels.
- Precision Scheduling: Programmatic control over when your content goes live.
- Multi-Account Management: Easily switch between and target specific connected channels.
Base URL
All API requests should be made to the following base URL:
https://api.xenonflare.com
Getting Started
To begin using the XenonFlare API:
- Generate an API Key: Head to your Dashboard and create a new key.
- Authenticate: Include your key in the header of every request as described in the Authentication section.
- Fetch Channels: Call the Channels API to see your available targets.
- Manage Profiles: Group your accounts with the Posting Profiles API.
- Upload Content: Use the Media Upload API to start distributing.
- Check Status: Track your posts with the Media Status API.
Quick Start
Here are simple examples of how to fetch your connected accounts using various languages.
- Python
- Node.js
- cURL
import requests
url = "https://api.xenonflare.com/channels"
headers = {
"X-API-Key": "your_api_key_here"
}
response = requests.get(url, headers=headers)
print(response.json())
const axios = require('axios');
const getChannels = async () => {
try {
const response = await axios.get('https://api.xenonflare.com/channels', {
headers: { 'X-API-Key': 'your_api_key_here' }
});
console.log(response.data);
} catch (error) {
console.error(error);
}
};
getChannels();
curl -H "X-API-Key: your_api_key_here" \
https://api.xenonflare.com/channels
Rate Limits
Currently, rate limits are determined by your subscription plan. If you exceed your plan's encoding or storage quotas, the API will return a 413 Payload Too Large status.