Core APIs
...
Core Requests
Images
4 min
bing image parameters get get /search?engine=bing\&search type=images the bing image parameters are applicable when making a request with engine=bing and search type=images to retrieve image results for a given search term the search term is specified in the q parameter and the optional location parameter can be used to geo locate the image request (locations can be retrieved via the https //docs trajectdata com/serpwow/locations api/overview ) setting location for bing requests the recommended way of setting the location of your bing request is to use the location parameter the location parameter can be populated with a full name value returned by the https //docs trajectdata com/serpwow/locations api/overview you may also use either the market code or country code parameters to set the location of your request, but the recommended approach is to use the location parameter as this sets all the required prerequisites to achieve a correctly geo located result for example, to request bing image results for the keyword pizza in the location united states , the request would be http https //api serpwow\ com/live/search?api key=demo\&engine=bing\&search type=images\&q=pizza+united+statescurl l get https //api serpwow\ com/live/search \\ d api key="demo" \\ d engine="bing" \\ d q="pizza" \\ d search type="images" \\ d location="united+states"const axios = require('axios'); // set up the request parameters const params = { api key "demo", engine "bing", q "pizza", type "images", location "united+states" } // make the http get request axios get('https //api serpwow\ com/live/search', { params }) then(response => { // print the json response console log(json stringify(response data, 0, 2)); }) catch(error => { // catch and print the error console log(error); })import requests import json \# set up the request parameters params = { 'api key' 'demo', 'engine' 'bing', 'q' 'pizza', 'search type' 'images', 'location' 'united+states' } \# make the http get request api result = requests get('https //api serpwow\ com/live/search', params) \# print the json response print(json dumps(api result json()))\<?php \# set up the request parameters $querystring = http build query(\[ 'api key' => 'demo', 'engine' => 'bing', 'q' => 'pizza', 'search type' => 'images', 'location' => 'united+states' ]); \# make the http get request $ch = curl init(sprintf('%s?%s', 'https //api serpwow\ com/live/search', $querystring)); curl setopt($ch, curlopt returntransfer, true); curl setopt($ch, curlopt followlocation, true); \# the following options are required if you're using an outdated openssl version \# more details https //www openssl org/blog/blog/2021/09/13/letsencryptrootcertexpire/ curl setopt($ch, curlopt ssl verifyhost, false); curl setopt($ch, curlopt ssl verifypeer, false); curl setopt($ch, curlopt timeout, 180); $api result = curl exec($ch); curl close($ch); \# print the json response echo $api result; ?> bing image parameters the following parameters are available for all requests made when engine=bing and search type=images true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type next steps https //docs trajectdata com/serpwow/search api/results/bing/images