GroundsocialDocs

API · Bing

GET /bing/images

Bing image search with size, type, color, aspect and license filters.

RequestGET /v1/bing/images
Operation idbing.images.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Bing image search with size, type, color, aspect and license filters.

Query parameters

NameTypeRequiredDescription
querystringyes
marketstringnoBing market, e.g. en-US, de-DE (default en-US).
countrystringno
languagestringno
safe_search"strict" | "moderate" | "off"noOne of strict, moderate, off.
time_range"any" | "day" | "week" | "month" | "year"noOne of any, day, week, month, year.
size"small" | "medium" | "large" | "wallpaper"noOne of small, medium, large, wallpaper.
type"photo" | "clipart" | "linedrawing" | "animatedgif" | "transparent"noOne of photo, clipart, linedrawing, animatedgif, transparent.
aspect"square" | "wide" | "tall"noOne of square, wide, tall.
color"color" | "bw" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "purple" | "pink" | "brown" | "black" | "gray" | "white"noOne of color, bw, red, orange, yellow, green, teal, blue, purple, pink, brown, black, gray, white.
face"face" | "portrait"noOne of face, portrait.
license"creative_commons"noOne of creative_commons.
limitintegerno
cursorstringno

Responses

StatusMeaningSchema
200Images.
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404Bing has nothing for that search.Error
429Too many requests. Wait for Retry-After seconds.Error
503Bing is temporarily unavailable. Retryable; nothing was charged.Error

Errors use one shape everywhere; see Errors for every code and what to do.