Microsoft Copilot API
Copilot's Bing-grounded answer with its sources, the searches it ran, shopping cards and map results.
Coming soon. The endpoint and fields below are the documented contract; requests are not accepted yet.
Price
5 credits per async request, 7 synchronous.
Endpoint
POST /v1/monitor/copilot
Request
curl -X POST "https://api.answerline.dev/v1/monitor/copilot" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Cheapest way to send money abroad","country":"US","state":"NY"}' Request options
| Field | Type | Description |
|---|---|---|
prompt * | string | The prompt to send to Copilot |
country * | string | Country/region code for localized response |
include | object | Optional flags for including additional response formats |
include.html | boolean | Include a URL to the full HTML of the response |
include.markdown | boolean | Include markdown-formatted response in the result |
include.rawResponse | boolean | Include raw streaming response events |
state | string | State code for sub-country geo-targeting (e.g., "CA"). Only valid with country "US". |
What you get back
Field in result | Type | Description |
|---|---|---|
text | string | Copilot's response text |
markdown | string | Copilot's response formatted in Markdown (included when include.markdown is true) |
sources | object[] | Array of sources referenced in the response |
citationPills | object[] | Inline citation pills extracted from the Copilot answer. Each entry is one (pill, source) pair: when a pill cites N sources (consecutive citation events grouped into a single chip), the array contains N entries sharing the same `citationPillId` but carrying per-source `label`, `url`, and `domain`. Group by `citationPillId` to recover the pill-level structure. Omitted from `result` when the answer carries no pills. |
searchQueries | string[] | Array of query fan-out — the web search queries Copilot ran while generating the response. Automatically included when at least one is available, no surcharge. |
shoppingCards | object[] | Array of shopping/product cards extracted from the response (when available) |
map | object[] | Array of business/place map entries extracted from the response (when available) |