Skip to main content
POST
Monitor Bing AI Mode Responses
Extract the answer, its sources and its inline citation pills from Bing AI Mode, the AI answer page at bing.com/copilotsearch.

Request parameters

prompt and country are required. state and the include flags are optional.
  • prompt: Bing puts the prompt in the page URL, so the limit is 3,500 characters after URL encoding. A letter, digit or space counts as 1, most punctuation as 3, an accented or Cyrillic letter as 6, and a Chinese, Japanese or Korean character as 9. Thus a CJK prompt can have a maximum of 388 characters. A longer prompt returns a 400 with the message Prompt is too long (max 3,500 characters, fewer for non-Latin scripts). The prompt also cannot contain site: or url: in any letter case, even inside a word such as composite: or Website:. Bing AI Mode reads them as search operators and does not answer. Such a prompt returns a 400 with the message Prompt cannot contain "site:" or "url:", which Bing AI Mode reads as search operators and does not answer. A space before the colon ("site :") avoids it. A sync request fails before it takes credits or a concurrency slot. An async task is not created, and in a batch only the matching entries fail. To keep the wording, add a space before the colon, as in Website :.
  • country: all countries except CN, KR and RU, where Bing AI Mode does not answer. GET /v1/countries?model=bing_aimode returns the list.
  • state: a US state code, only with country: "US". It is a paid add-on.
For async requests, send the same body as payload with taskType: "BING_AIMODE" to POST /v1/async/task or POST /v1/async/task/batch.

Prompts without an answer

When Bing’s web search finds nothing for the prompt, or when Bing shows result cards instead of writing an answer, the request still succeeds. In the no-results case, result.text and, when requested, result.markdown hold Bing’s no-results heading in the request’s language, such as Es gibt keine Ergebnisse für …, instead of an answer.

Response schema

Includes the common response fields plus these fields:

Example

Request
Response

Authorizations

Authorization
string
header
required

cloro API key as a bearer token. One key grants every endpoint in this spec; per-key scopes are not available, so a client cannot request a narrower permission. Keys are created and revoked in the dashboard.

Body

application/json

Request parameters for monitoring Bing AI Mode responses

prompt
string
required

The prompt to send to Bing AI Mode. Bing puts the prompt in the page URL, so the limit is 3,500 characters after URL encoding. A letter, digit or space counts as 1, most punctuation as 3, an accented or Cyrillic letter as 6, and a Chinese, Japanese or Korean character as 9. Thus a CJK prompt can have a maximum of 388 characters. A longer prompt returns a 400 error: "Prompt is too long (max 3,500 characters, fewer for non-Latin scripts)". The prompt cannot contain site: or url: in any letter case, even inside a word such as composite: or Website:, because Bing AI Mode reads them as search operators and does not answer. Such a prompt returns a 400 error: "Prompt cannot contain "site:" or "url:", which Bing AI Mode reads as search operators and does not answer. A space before the colon ("site :") avoids it."

Required string length: 1 - 3500
Example:

"What are the best running shoes for beginners?"

country
enum<string>
required

Country/region code for localized response, using ISO 3166-1 alpha-2 country codes. Bing AI Mode accepts all countries except CN, KR and RU. GET /v1/countries?model=bing_aimode returns the list.

Available options:
AD,
AE,
AF,
AG,
AI,
AL,
AM,
AO,
AQ,
AR,
AS,
AT,
AU,
AW,
AX,
AZ,
BA,
BB,
BD,
BE,
BF,
BG,
BH,
BI,
BJ,
BL,
BM,
BN,
BO,
BQ,
BR,
BS,
BT,
BV,
BW,
BY,
BZ,
CA,
CC,
CD,
CF,
CG,
CH,
CI,
CK,
CL,
CM,
CN,
CO,
CR,
CU,
CV,
CW,
CX,
CY,
CZ,
DE,
DJ,
DK,
DM,
DO,
DZ,
EC,
EE,
EG,
EH,
ER,
ES,
ET,
FI,
FJ,
FK,
FM,
FO,
FR,
GA,
GB,
GD,
GE,
GF,
GG,
GH,
GI,
GL,
GM,
GN,
GP,
GQ,
GR,
GS,
GT,
GU,
GW,
GY,
HK,
HM,
HN,
HR,
HT,
HU,
ID,
IE,
IL,
IM,
IN,
IO,
IQ,
IR,
IS,
IT,
JE,
JM,
JO,
JP,
KE,
KG,
KH,
KI,
KM,
KN,
KP,
KR,
KW,
KY,
KZ,
LA,
LB,
LC,
LI,
LK,
LR,
LS,
LT,
LU,
LV,
LY,
MA,
MC,
MD,
ME,
MF,
MG,
MH,
MK,
ML,
MM,
MN,
MO,
MP,
MQ,
MR,
MS,
MT,
MU,
MV,
MW,
MX,
MY,
MZ,
NA,
NC,
NE,
NF,
NG,
NI,
NL,
NO,
NP,
NR,
NU,
NZ,
OM,
PA,
PE,
PF,
PG,
PH,
PK,
PL,
PM,
PN,
PR,
PS,
PT,
PW,
PY,
QA,
RE,
RO,
RS,
RU,
RW,
SA,
SB,
SC,
SD,
SE,
SG,
SH,
SI,
SJ,
SK,
SL,
SM,
SN,
SO,
SR,
SS,
ST,
SV,
SX,
SY,
SZ,
TC,
TD,
TF,
TG,
TH,
TJ,
TK,
TL,
TM,
TN,
TO,
TR,
TT,
TV,
TW,
TZ,
UA,
UG,
UM,
US,
UY,
UZ,
VA,
VC,
VE,
VG,
VI,
VN,
VU,
WF,
WS,
XK,
YE,
YT,
ZA,
ZM,
ZW
Example:

"US"

state
enum<string>

State code for sub-country geo-targeting (e.g., "CA"). Only valid with country "US". Paid add-on: +2 credits, on top of the base cost and any other add-on (pricing).

Available options:
AL,
AK,
AZ,
AR,
CA,
CO,
CT,
DE,
DC,
FL,
GA,
HI,
ID,
IL,
IN,
IA,
KS,
KY,
LA,
ME,
MD,
MA,
MI,
MN,
MS,
MO,
MT,
NE,
NV,
NH,
NJ,
NM,
NY,
NC,
ND,
OH,
OK,
OR,
PA,
RI,
SC,
SD,
TN,
TX,
UT,
VT,
VA,
WA,
WV,
WI,
WY
Required string length: 2
Pattern: ^[A-Z]{2}$
Example:

"CA"

include
object

Optional flags for including additional response formats

Response

successful Bing AI Mode monitoring response

success
boolean
required
Example:

true

result
object
required

Bing AI Mode response data