Developer Dashboard
Manage your API keys and monitor usage.
✓ Payment successful — your credits have been added to your account.
Payment was cancelled — no charge was made.
Secure payment via Stripe. Credits are added instantly after payment.
🔒 A minimum balance of $10.00 is required to generate your first API key. Purchase credits above to unlock key generation.
🔒 Key generation is locked until your account has a $10.00 credit balance. See the notice above to add credits.
✓ New API key created
Copy it now — it won't be shown again.
# Submit a video for analysis
curl -X POST https://your-domain/api/v1/analyze \
-H "X-Api-Key: lgs_your_key_here" \
-H "Content-Type: application/json" \
-d '{"url": "https://youtube.com/watch?v=dQw4w9WgXcQ"}'
# Poll for results
curl https://your-domain/api/v1/jobs/JOB_ID \
-H "X-Api-Key: lgs_your_key_here"
import requests, time
API_KEY = "lgs_your_key_here"
BASE = "https://your-domain"
HEADERS = {"X-Api-Key": API_KEY}
# Submit
r = requests.post(f"{BASE}/api/v1/analyze",
headers=HEADERS,
json={"url": "https://youtube.com/watch?v=dQw4w9WgXcQ"})
job_id = r.json()["job_id"]
# Poll until done
while True:
status = requests.get(f"{BASE}/api/v1/jobs/{job_id}", headers=HEADERS).json()
if status["status"] == "complete":
print(status["genre"], status["mpaa_rating"])
break
time.sleep(5)
const API_KEY = "lgs_your_key_here";
const BASE = "https://your-domain";
// Submit
const { job_id } = await fetch(`${BASE}/api/v1/analyze`, {
method: "POST",
headers: { "X-Api-Key": API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://youtube.com/watch?v=dQw4w9WgXcQ" })
}).then(r => r.json());
// Poll
const poll = async () => {
const s = await fetch(`${BASE}/api/v1/jobs/${job_id}`,
{ headers: { "X-Api-Key": API_KEY }}).then(r => r.json());
if (s.status !== "complete") return setTimeout(poll, 5000);
console.log(s.genre, s.mpaa_rating, s.synopsis);
};
poll();