Bing Reverse Image Search

API docs
https://api.sandbase.ai/v1/api/bing/reverse-image

Search Bing Visual Search with an image URL and get visually similar images, pages that contain the image and related searches.

Price
$0.01USD / call
Method
POST
Response
JSON
Parameters
1 required · 8 optional

Playground

Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum

Parameter defines the URL for an image to perform the reverse image search. NOTE: The image's width and height must each be 4,000 pixels or less.
The market where the results come from (e.g. `en-US`). Typically, `mkt` is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Reverse Image API delivers results. The market must be in the form <language code>-<country code>. For example, en-US. The string is case insensitive. For a list of possible market values, see Market Codes. NOTE: If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response. If you
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.3` means cropping 30% from the top. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.3` means cropping 30% from the left. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.8` means cropping the right, 80% from the left. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, `0.8` means cropping the bottom, 80% from the top. The minimum and maximum for this coordinate are `0` and `1`, respectively.
Parameter defines the next page token. It is used for retrieving the next page results.
Parameter controls the number of results per page. This parameter defaults to `35`. This parameter is only a suggestion and might not reflect the returned results. The minimum and maximum for this parameter are `0` and `150`, respectively.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

API README

Bing Reverse Image Search

Search Bing Visual Search with an image URL and get visually similar images, pages that contain the image and related searches.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bing/reverse-image" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Camponotus_flavomarginatus_ant.jpg/320px-Camponotus_flavomarginatus_ant.jpg"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
image_urlstringYesParameter defines the URL for an image to perform the reverse image search. NOTE: The image's width and height must each be 4,000 pixels or less.
mktstringNoThe market where the results come from (e.g. en-US). Typically, mkt is the country where the user is making the request from. However, it could be a different country if the user is not located in a country where Bing Reverse Image API
catstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.3 means cropping 30% from the top. The minimum and maximum for this coordinate are 0 and 1, respectively.
calstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.3 means cropping 30% from the left. The minimum and maximum for this coordinate are 0 and 1, respectively.
carstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.8 means cropping the right, 80% from the left. The minimum and maximum for this coordinate are 0 and 1, respectively.
cabstringNoParameter is used to crop the image and perform the reverse search on the cropped part of the image. For example, 0.8 means cropping the bottom, 80% from the top. The minimum and maximum for this coordinate are 0 and 1, respectively.
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page results.
countstringNoParameter controls the number of results per page. This parameter defaults to 35. This parameter is only a suggestion and might not reflect the returned results. The minimum and maximum for this parameter are 0 and 150, respectively.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Explore more

Related APIs

All APIs
APIPriceResponse
Bing$0.01 per callJSON
Bing$0.015 per callJSON
Bing$0.015 per callJSON
Bing$0.01 per callJSON
Bing$0.01 per callJSON
Bing$0.015 per callJSON

Questions

FAQ

How do I use the Bing Reverse Image Search API?

Send a POST request to https://api.sandbase.ai/v1/api/bing/reverse-image with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Bing Reverse Image Search API cost?

$0.01 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Bing Reverse Image Search API accept?

Required: image_url (string). Optional: mkt (string), cat (string), cal (string), car (string), cab (string) and next_page_token (string) and 2 more. The Parameters table and the Playground on this page list every field.

What does the Bing Reverse Image Search API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Bing developer account or API key?

No. Bing Reverse Image Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bing API access separately.