Install
openclaw skills install @yusufgurdogan/sofya-researchGet a cited research report from many web sources in one call with Sofya research. Use when the user asks to research a topic, compare options, survey a field or answer a question that one search won't settle, for example "research", "deep dive", "compare", "what are the options for".
openclaw skills install @yusufgurdogan/sofya-researchresearch breaks a question into several searches, reads the sources in parallel and writes a structured report with citations. One call costs 50 credits and usually takes 20-60 seconds.
Use it for open-ended questions. For a quick fact, a single page or a known URL, the sofya-search skill is cheaper and faster.
research from a server named sofya): call it directly.SOFYA_API_KEY is set: use curl. Set the timeout to at least 90 seconds.Parameters: query (required), topic (general | news), freshness (day, week, month, year, or YYYY-MM-DD:YYYY-MM-DD), max_sources (5-30, default 20).
curl -s --max-time 120 -X POST https://sofya.co/v1/research \
-H "Authorization: Bearer $SOFYA_API_KEY" -H "Content-Type: application/json" \
-d '{"query": "how do heat pumps perform in cold climates", "max_sources": 15}'
Response: report (markdown with numbered citations), sources[] with title, url, published_date, sub_queries (the searches it ran), credits_used, credits_remaining.
freshness, or use topic: "news".search or fetch instead.fetch the cited source and confirm.Only successful responses are charged; a failed or timed-out call is refunded, so retrying is safe. 402 means out of credits: give the user the top_up_url (or with MCP, a link from buy_credits). 429: wait Retry-After seconds. 502/503: retry once shortly after.
Full reference: https://sofya.co/docs#research