API Documentation

Bing Autocomplete API

Get structured Bing search suggestions for a query and search market.

Test API

Endpoint

GET https://api.goanyapi.com/api/v1/bing-autocomplete

With the current configuration, each successful request costs 3 credits.

Authentication

Authorization: Bearer YOUR_API_KEY

Request Parameters

ParameterTypeRequiredDefaultDescription
qstringYesQuery with up to 200 characters; meaningful leading and trailing spaces are preserved
mktstringNoen-USSearch market in language-country format, for example en-US or zh-CN

mkt affects suggestion language, regional spelling, popularity, and ordering. It is optional, but the API always uses the stable en-US default when it is omitted.

Request Example

The following query ends with an encoded space after image:

GET /api/v1/bing-autocomplete?q=ai%20image%20&mkt=en-US
Authorization: Bearer YOUR_API_KEY

Response Example

{
  "code": "ok",
  "message": "ok",
  "data": {
    "endpoint": "bing-autocomplete",
    "remainingCredits": 999,
    "query": {
      "q": "ai image ",
      "mkt": "en-US"
    },
    "suggestions": [
      "image creator",
      "ai image editor",
      "ai image generator free",
      "ai image detector",
      "ai image upscaler",
      "ai image enhancer",
      "ai image checker",
      "ai image to video",
      "ai image creation",
      "ai image search",
      "ai image to image"
    ]
  }
}

Response Fields

FieldTypeDescription
data.endpointstringFixed value: bing-autocomplete
data.costCreditsnumberCredits consumed by this request
data.remainingCreditsnumberRemaining credits after deduction
data.query.qstringQuery exactly as sent, including meaningful spaces
data.query.mktstringSearch market actually used
data.suggestionsstring[]Suggestions in returned order

Suggestion strings are returned unchanged. The API does not prepend q, reorder values, or combine the query with a suggestion.

Validation and Billing

  • q must contain non-whitespace content and may contain at most 200 characters.

  • A supplied mkt must use language-country casing such as en-US. The current request cost follows the API configuration shown on this page.

  • Empty results, validation failures, authentication failures, failed requests, and invalid responses cost 0 credits.

  • Open the Bing Autocomplete API page

  • Open API Tester

  • Google Autocomplete API