Yandex (Alice)
Query Yandex's Alice AI assistant via Wire — Russian-market AI answers with sources
POST
https://api.anakin.io/v1/wire/taskAlice (Алиса) is Yandex's AI assistant — the dominant AI answer surface for the Russian-speaking market. Send a prompt and get Alice's answer with the sources it cites. Run it with the yandex_alice action on POST /v1/wire/task.
Catalog: yandex · action_id: yandex_alice · Credits: 2 / call · Auth: none
Request Body
{
"action_id": "yandex_alice",
"params": { "prompt": "лучшие смартфоны 2026", "country": "ru" }
}| Parameter | Type | Description |
|---|---|---|
action_id required | string | Set to yandex_alice |
params.prompt required | string | Your question for Alice (Russian recommended for best grounding) |
params.country | string | Region to query from (2-letter code). Default ru |
params.include_raw | boolean | Also include Alice's full raw response alongside the parsed result. Default false |
Code Examples
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"action_id": "yandex_alice",
"params": { "prompt": "лучшие смартфоны 2026", "country": "ru" }
}'import requests
res = requests.post(
'https://api.anakin.io/v1/wire/task',
headers={'X-API-Key': 'your_api_key'},
json={'action_id': 'yandex_alice', 'params': {'prompt': 'лучшие смартфоны 2026', 'country': 'ru'}},
)
job_id = res.json()['job_id']const res = await fetch('https://api.anakin.io/v1/wire/task', {
method: 'POST',
headers: { 'X-API-Key': 'your_api_key', 'Content-Type': 'application/json' },
body: JSON.stringify({
action_id: 'yandex_alice',
params: { prompt: 'лучшие смартфоны 2026', country: 'ru' },
}),
});
const { job_id } = await res.json();Response
202 Accepted{ "status": "processing", "job_id": "…", "poll_url": "/v1/wire/jobs/…" }Poll GET /v1/wire/jobs/{id} until status: "completed":
{
"status": "completed",
"credits_used": 2,
"execution_ms": 15070,
"data": {
"status": "ok",
"data": {
"answer_text": "…", "answer_text_markdown": "…", "answer_text_raw": "…",
"citations": [
{ "url": "https://…", "title": "…", "description": "…" }
],
"sources": [{ "url": "https://…", "domain": "…", "title": "…" }],
"citation_anchors": [], "search_sources": [], "references": [], "links_attached": [],
"web_search_triggered": true, "model": "yandex-alice"
},
"meta": { "action_id": "yandex_alice", "catalog_slug": "yandex", "envelope_version": "v1" }
}
}| Field | Type | Description |
|---|---|---|
data.data.answer_text | string | Alice's answer (also answer_text_markdown, answer_text_raw) |
data.data.answer_text_raw | string | The raw, unprocessed answer — keeps Alice's inline citation-chip labels and placeholder tokens that answer_text strips out |
data.data.citations | array | Sources Alice cites — { url, title, description } |
data.data.recommendations | array | Related products or items the engine recommends alongside the answer |
data.data.shopping | array | Shopping module for commercial-intent queries — products with titles, prices and links |
data.data.sources | array | Source pages — { url, domain, title } |
data.data.citation_anchors | array | Passage-level anchors when Alice provides them (empty when the answer carries no inline placement) |
data.data.links_attached | array | The cited sources as a flat list in reading order: { url, text, position } |
data.data.references | array | The cited sources in { url, title, attribution, domain } shape |
data.data.search_sources | array | Sources Alice considered during its web search (not necessarily cited) |
data.data.web_search_triggered | boolean | Whether Alice ran a web search for this answer |
data.data.web_search_query | string | The search query Alice ran |
data.data.ads | object | The sponsored result Alice showed — name, url, favicon_url, carousel_cards; fields are null when there was none |
data.data.response_raw | string | Alice's raw response stream, verbatim. Not a stable contract — its format can change without notice; use the structured fields instead |
Alice answers in Russian and is strongest on Russian-language, Russia-geo prompts. Billed only on success.