Steps
1
Get an API Key
Use your dashboard later. For now, Demo key can be used on the Demo page.
2
Call Generate Endpoint
Pick a type and a title/query (or IMDb ID for movies).
3
Use Blocks in Your App
Telegram text + HTML block are ready to publish.
cURL Example
Movie by title:
curl -s -H "Accept: application/json" \ "https://YOUR_DOMAIN.com/api/v1/generate?type=movie&title=Inception&key=YOUR_API_KEY"
Movie by IMDb ID (recommended):
curl -s -H "Accept: application/json" \ "https://YOUR_DOMAIN.com/api/v1/generate?type=movie&title=tt1375666&key=YOUR_API_KEY"
Response Fields
{
"ok": true,
"type": "movie",
"query": "Inception",
"blocks": {
"telegram": "....",
"html": "<div>...</div>"
},
"data": {
"title": "Inception",
"year": 2010,
"rating": 8.8,
"genres": ["Action", "Sci-Fi"]
}
}