Scrapingdog

Bing Images Scraper API

The Bing Images Scraper API returns image search results from Bing as structured JSON — the original image URL, Bing’s thumbnail, the page hosting the image and its full-size pixel dimensions — without handling proxies, retries or HTML parsing.

Endpoint: https://api.scrapingdog.com/bing/images

API Parameters

🔑

Scrapingdog Parameters

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
🔍

Search & Pagination

  • query Required
    The search term to look up on Bing Images (e.g., danny devito). Required unless url is supplied.

    Type: String
  • url Optional
    Scrape an exact bing.com/images/search URL instead of building one. When supplied, every other search and filter parameter is ignored.

    Type: String
  • page Optional
    Page number, 1-indexed. Each page returns 35 results.

    Default: 1

    Type: Integer
  • first Optional
    Bing’s native result offset, 1-indexed. Use this or page — if both are sent, first wins.

    Type: Integer
  • count Optional
    Requested number of results, passed through to Bing. Bing treats this as a hint, not a guarantee.

    Type: Integer
  • safeSearch Optional
    Adult-content filtering.

    Accepted values: off, moderate, strict.

    Type: String
🌍

Localization

  • mkt Optional
    Market code (e.g., en-US, en-GB, de-DE).

    mkt and country are mutually exclusive — Bing rejects a contradictory pair, so if both are supplied mkt is used and country is dropped.

    Type: String
  • country Optional
    Two-letter country code (e.g., us, in). Alias: cc.

    Mutually exclusive with mkt, which takes precedence when both are supplied.

    Type: String
🎚

️ Image Filters

  • imagesize Optional
    Filter by image dimensions.

    Accepted values: small, medium, large, wallpaper.

    Legacy alias: image_size.

    Type: String
  • photo Optional
    Filter by image type.

    Accepted values: photo, clipart, linedrawing, animatedgif, transparent.

    Legacy alias: image_type.

    Type: String
  • aspect Optional
    Filter by aspect ratio.

    Accepted values: square, wide, tall.

    Legacy alias: image_layout.

    Type: String
  • color2 Optional
    Filter by dominant colour.

    Accepted values: color (any colour), bw (black and white), or a named colour such as FGcls_RED, FGcls_BLUE, FGcls_GREEN and the other FGcls_ colours.

    Legacy alias: image_color.

    Type: String
  • face Optional
    Filter by people in the image.

    Accepted values: face, portrait.

    Type: String
  • age Optional
    Filter by date published.

    Accepted values: lt1440 (past 24 hours), lt10080 (past week), lt43200 (past month), lt525600 (past year).

    Type: String
  • license Optional
    Filter by usage rights.

    Accepted values: L1, L2, L3, L4, L5, L6, L7.

    Type: String

API Examples

API result preview
Code to Integrate
curl "https://api.scrapingdog.com/bing/images?api_key=APIKEY&query=danny+devito"
API Response
{
  "query": "danny devito",
  "total_time_taken": 3.42,
  "images_results": [
    {
      "rank": 1,
      "title": "Danny DeVito: quién es, sus películas y series",
      "original": "https://image.tmdb.org/t/p/original/6kO4IN7ndoIGw2JhyhAQN3SFmdx.jpg",
      "thumbnail": "https://ts4.mm.bing.net/th/id/OIP._LtZxyDTbJ6rmjwTsch8qQHaLG&pid=15.1",
      "source": "quever.com",
      "link": "https://quever.com/persona/518/danny-devito",
      "original_width": 1067,
      "original_height": 1600
    }
  ]
}