
Now supporting mainland China on ChatGPT, Gemini and Google
Set country to CN or HK on CHATGPT, GEMINI and GOOGLE tasks to get the answers users in mainland China and Hong Kong see.

Source Influence lines up each part of an AI answer with the paragraphs on its cited pages that correspond to it, with a short explanation for every match.
links: each matching paragraph from a cited page, tied to the exact parts of the answer it corresponds to, with a one-sentence explanation.sources: for every citation, the page’s paragraphs that appear in the result, and an error note for a page that was unreadable.insights: short summaries of what the matches add up to, each built from the links it names.Send the answer and the URLs it cited. Source Influence reads every page, compares its paragraphs with the answer and returns each match as character ranges in your answer, so you can highlight a passage and show the source paragraph beside it.
One analysis covers up to 100 citations and an answer of up to 200,000 characters. Pages you already have can go in citations[].body, and we fetch the rest.
Send the request with your API key in the Authorization header.
curl -X POST https://api.querying.ai/v1/source-influence \
-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"
}'answerstringRequiredcitationsarrayRequiredurl and an optional body with the page text.countrystringUS.webhook.urlstringidempotencyKeystringA finished task looks like this, trimmed for length.
{
"success": true,
"task": {
"id": "1d0521d6-26fe-4fbf-9e54-3a97c0e566a3",
"taskType": "SOURCE_INFLUENCE",
"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, then COMPLETED with the answer or FAILED with error.credits.creditsChargedintegerresponse.answerstringresponse.sourcesarrayurl and the paragraphs in the result, each with an id and text.response.linksarrayanswerRanges it matches and a one-sentence explanation.response.insightsarraylinkIds.The request returns the task right away with status QUEUED. Poll GET /v1/async/task/{id} until status is COMPLETED or FAILED, or add webhook.url and the finished task arrives at your server with the same task, credits and response. Results stay available for 24 hours after a task finishes.
curl https://api.querying.ai/v1/async/task/$TASK_ID \
-H "Authorization: Bearer $QUERYING_API_KEY"Source Influence is priced by the size of each analysis. Credits are held when the task starts and settled when it finishes, so you pay for the analysis you ran.

Set country to CN or HK on CHATGPT, GEMINI and GOOGLE tasks to get the answers users in mainland China and Hong Kong see.

Set payload.location on GOOGLE, AIMODE and GOOGLE_SERP tasks to get the AI Overview, AI Mode answer and search results a user at that place sees.
Get new product updates in your inbox.