Eld7e7 API
Ask a question, get back the moments in Eld7e7's episodes that answer it, from +27,000 clips. Free, no API key.
For AI agents: /llms.txt
Quick start
Send a question, get clips back:
const response = await fetch('{BASE}/search', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query: 'ليه الديناصورات انقرضت', topK: 3 }),
})
const data = await response.json()
const clips = data.results
for (const clip of clips) {
console.log(clip.episode, clip.url)
}import axios from 'axios'
const response = await axios.post('{BASE}/search', {
query: 'ليه الديناصورات انقرضت',
topK: 3,
})
const clips = response.data.results
for (const clip of clips) {
console.log(clip.episode, clip.url)
}curl -X POST {BASE}/search \
-H "Content-Type: application/json" \
-d '{"query": "ليه الديناصورات انقرضت", "topK": 3}'import requests
response = requests.post(
"{BASE}/search",
json={"query": "ليه الديناصورات انقرضت", "topK": 3},
)
clips = response.json()["results"]
for clip in clips:
print(clip["episode"], clip["url"])POST /api/v1/search
Returns the clips closest to your question.
Parameters
| Name | Type | Description |
|---|---|---|
query required | string | Your question (max 500 characters). |
mode | string | dense by meaning (default), sparse by exact words. |
topK | integer 1–50 | Number of results. Default 10. |
Response
{
"query": "هل ال ai هيستبدلني",
"mode": "dense",
"results": [
{
"id": "rrnHkoGLyNU-66",
"score": 0.8078,
"episode": "الدحيح - موظفون بؤساء",
"videoId": "rrnHkoGLyNU",
"publishedAt": "2019-12-07",
"chunkIndex": 66,
"startSec": 2342.43,
"endSec": 2386.51,
"url": "https://www.youtube.com/watch?v=rrnHkoGLyNU&t=2342s",
"thumbnail": "https://i.ytimg.com/vi/rrnHkoGLyNU/hqdefault.jpg",
"text": "كلنا شاف إن الإضراب حاجة ضرورية…"
}
],
"timingMs": { "embed": 801, "search": 143, "total": 944 }
}| Field | Meaning |
|---|---|
episode | Episode title. |
startSec / endSec | Where the clip starts and ends, in seconds. |
url | YouTube link that opens at the clip. |
text | What was said in the clip. |
score | How well it matches. Higher is better. |
GET /api/v1/health
Check that the API is up.
{
"ok": true,
"list": "elda7e7",
"chunks": { "elda7e7": 27066, "elda7e7-intros": 1811 },
"modes": ["dense", "sparse"]
}Try it
// press “Send” and the response shows up here