
Social新功能
Social:通过 API 读取 YouTube、Instagram 和 Threads
搜索 YouTube、Instagram 和 Threads,以 JSON 获取视频、帖子、评论、主页资料和 YouTube 字幕。所有 API 密钥都可使用,每个完成的请求 0.5 积分。

Citation Analysis 把 AI 回答的每个部分与引用页面上对应的段落连接起来,并为每处对应附上简短说明。
links:引用页面中对应的段落,连接到它所对应的回答片段,并附一句说明。sources:每个引用在结果中包含的页面段落;读取失败的页面会以 error 说明原因。insights:对这些连接的简短总结,每条总结都标明所依据的连接。发送回答及其引用的 URL。Citation Analysis 会读取每个页面,把段落与回答进行比对,并以回答中的字符范围返回每处对应,方便你高亮回答片段并在旁边展示来源段落。
一次分析最多覆盖 100 个引用和 200,000 个字符的回答。你手头已有的页面正文可以放进 citations[].body,其余页面由我们抓取。
在 Authorization 请求头中带上 API 密钥发送请求。
curl -X POST https://api.querying.ai/v1/citation-analysis \
-H "Authorization: Bearer $QUERYING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"answer": "Here are several **nearby cafés that look particularly suitable for laptop work**, based on current local listings and work-friendly details:\n\n- The Lost Draft — **0.2 km away**. Laptop-friendly, with Wi-Fi, comfortable seating, and larger tables. …",
"citations": [
{ "url": "https://awifiplace.com/cities/new-york" },
{
"url": "https://www.theinfatuation.com/new-york/guides/coffee-shops-nyc-for-doing-work"
}
],
"country": "US"
}'answerstring必填citationsarray必填url,可选附带页面正文 body。countrystringUS。webhook.urlstringidempotencyKeystring完成的任务如下所示,已截取部分内容。
{
"success": true,
"task": {
"id": "1d0521d6-26fe-4fbf-9e54-3a97c0e566a3",
"taskType": "CITATION_ANALYSIS",
"status": "COMPLETED",
"createdAt": "2026-10-02T15:44:12.823Z"
},
"credits": { "creditsToCharge": 133, "creditsCharged": 133 },
"response": {
"answer": "Here are several **nearby cafés that look particularly suitable for laptop work**, based on current local listings and work-friendly details:\n…",
"sources": [
{
"id": "s0",
"url": "https://awifiplace.com/cities/new-york",
"paragraphs": [
{
"id": "s0p4",
"text": "100 Cafés to Work in New York\n\nCarefully curated from Google reviews: All locations offer WiFi and are verified as laptop-friendly by remote …"
}
]
}
],
"links": [
{
"id": "l0",
"paragraphId": "s0p4",
"answerRanges": [
{ "start": 0, "end": 141 },
{ "start": 179, "end": 247 },
{ "start": 248, "end": 288 },
{ "start": 869, "end": 938 }
],
"explanation": "The page describes 100 New York cafés as offering WiFi and verified as laptop-friendly by remote workers, supporting their suitability for laptop work and Wi-Fi use."
}
],
"insights": [
{
"summary": "The recommendations are best read as promising laptop-work options, not guaranteed workspaces: the underlying guides rely on reported Wi‑Fi and work-friendly listings, while noting that connection quality, outlets, and seating can vary.",
"linkIds": ["l0", "l2", "l3", "l4", "l6", "l7", "l8"]
}
]
}
}task.statusstringQUEUED、PROCESSING,最终为附带回答的 COMPLETED 或附带 error 的 FAILED。credits.creditsChargedintegerresponse.answerstringresponse.sourcesarrayurl 和结果中的 paragraphs(各含 id 与 text)。response.linksarrayanswerRanges 以及一句话的 explanation 配对。response.insightsarraylinkIds 标明依据的链接。请求会立即返回 status 为 QUEUED 的任务。用 GET /v1/async/task/{id} 轮询,直到 status 变为 COMPLETED 或 FAILED;或者加上 webhook.url,在服务器上接收同样的 task、credits 和 response。任务结束后,结果保留 24 小时供查询。
curl https://api.querying.ai/v1/async/task/$TASK_ID \
-H "Authorization: Bearer $QUERYING_API_KEY"Citation Analysis 按分析规模计价。任务开始时预留积分,结束时结算,你只为实际运行的分析付费。

搜索 YouTube、Instagram 和 Threads,以 JSON 获取视频、帖子、评论、主页资料和 YouTube 字幕。所有 API 密钥都可使用,每个完成的请求 0.5 积分。

一次调用即可为智能体加上网页搜索:每条结果都附带页面中回答搜索词的段落,每次搜索 0.5 积分。
通过邮件接收产品更新。