Apinoa Docs

Suggestions

Get what Bing's search box suggests for a query.

View raw .mdx
GET | POST /v1/bing/suggestions

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/bing/suggestions?q=running+shoes&country=US" \
  -H "x-api-key: $APINOA_API_KEY"

Parameters

ParameterTypeRequiredNotes
qstringyesThe query, search operators included.
countryenumThe market, as an ISO 3166 country code. US GB CA AU DE FR IT AT JP KR
langstringInterface language.

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns Suggestions in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "engine": "bing",
    "query": "running shoes",
    "suggestions": [{"text": "running shoes near me", "type": "AS"}, {"text": "running shoes in elizabeth", "type": "LMSQ"}],
    "country": "US",
    "lang": "en"
  }
}

Errors

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range, or the engine does not take it. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe engine answered with something unusable. Retry with backoff.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.0012 per call. List price; the rate steps down above 1,000 calls a day.

On this page