{
  "openapi": "3.0.1",
  "info": {
    "title": "Bing Images Scraper 🖼️ Filters & 1,000s of Images per Search",
    "description": "🖼️ Scrape Bing Images for any keyword — full-size image URLs, thumbnails, source pages, titles and dimensions. Filter by size, type, layout, color, license and date, and go past Bing's ~500-image limit automatically. Public data, no login.",
    "version": "0.0",
    "x-build-id": "JMtZweslVvglbYknN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dz_omar~bing-images-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dz_omar-bing-images-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/dz_omar~bing-images-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dz_omar-bing-images-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/dz_omar~bing-images-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dz_omar-bing-images-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "🔎 Search queries",
            "type": "array",
            "description": "One or more keywords to search Bing Images for, exactly as you would type them in the search box. Each query is searched separately.\n\nExample: red car",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "🔢 Max images per search",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum images to collect for each query (not a global total). Set 0 to collect everything Bing returns. Bing itself ends a single search after roughly 500 images — keep 'Go beyond Bing's ~500-image limit' on to get more.",
            "default": 100
          },
          "splitLargeSearches": {
            "title": "🧩 Go beyond Bing's ~500-image limit",
            "type": "boolean",
            "description": "Bing stops one search after about 500 images. When you ask for more than that, the Actor re-runs the same query narrowed by Bing's own filters you have left open (size, image type, layout, colour) and combines the results, without duplicates. Every image still matches your query and your filters. It only adds work when one plain Bing search cannot supply your 'Max images per search'.",
            "default": true
          },
          "size": {
            "title": "📐 Image size",
            "enum": [
              "any",
              "small",
              "medium",
              "large",
              "extraLarge"
            ],
            "type": "string",
            "description": "Bing's size filter. Ignored when a minimum width or height is set below.",
            "default": "any"
          },
          "minWidth": {
            "title": "↔️ Minimum width (px)",
            "minimum": 0,
            "type": "integer",
            "description": "Only images at least this wide. 0 = no minimum. The Actor checks the size of every image itself, so an image smaller than your minimum is never delivered or charged, even when Bing returns one. Setting a minimum width or height replaces the 'Image size' choice above.",
            "default": 0
          },
          "minHeight": {
            "title": "↕️ Minimum height (px)",
            "minimum": 0,
            "type": "integer",
            "description": "Only images at least this tall. 0 = no minimum. Checked on every image, like the minimum width. If nothing on Bing is that large you get a single notice and are not charged.",
            "default": 0
          },
          "imageType": {
            "title": "🎞️ Image type",
            "enum": [
              "any",
              "photo",
              "clipart",
              "lineDrawing",
              "animatedGif",
              "transparent"
            ],
            "type": "string",
            "description": "Kind of image, as in Bing's 'Type' filter.",
            "default": "any"
          },
          "layout": {
            "title": "▭ Layout",
            "enum": [
              "any",
              "square",
              "wide",
              "tall"
            ],
            "type": "string",
            "description": "Aspect ratio of the image.",
            "default": "any"
          },
          "color": {
            "title": "🎨 Colour",
            "enum": [
              "any",
              "colorOnly",
              "blackAndWhite",
              "red",
              "orange",
              "yellow",
              "green",
              "teal",
              "blue",
              "purple",
              "pink",
              "brown",
              "black",
              "gray",
              "white"
            ],
            "type": "string",
            "description": "Dominant colour, as in Bing's 'Color' filter.",
            "default": "any"
          },
          "people": {
            "title": "🧑 People",
            "enum": [
              "any",
              "faces",
              "portrait"
            ],
            "type": "string",
            "description": "Only images of faces or head-and-shoulders portraits.",
            "default": "any"
          },
          "datePosted": {
            "title": "📅 Date",
            "enum": [
              "any",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "How recently Bing discovered the image.",
            "default": "any"
          },
          "license": {
            "title": "⚖️ Licence",
            "enum": [
              "any",
              "creativeCommons",
              "publicDomain",
              "freeToShare",
              "freeToShareCommercial",
              "freeToModify",
              "freeToModifyCommercial"
            ],
            "type": "string",
            "description": "Bing's licence filter. It reflects what the source page declares to Bing — always check the licence at the source before reusing an image.",
            "default": "any"
          },
          "market": {
            "title": "🌍 Market",
            "enum": [
              "us",
              "gb",
              "ca",
              "au",
              "in",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "br",
              "mx",
              "jp",
              "kr",
              "ru",
              "tr",
              "pl",
              "se"
            ],
            "type": "string",
            "description": "Country and language Bing searches in. It changes which images rank first, and the language of titles.",
            "default": "us"
          },
          "safeSearch": {
            "title": "🛡️ Safe search",
            "enum": [
              "strict",
              "moderate",
              "off"
            ],
            "type": "string",
            "description": "Bing's SafeSearch level. 'Off' can return explicit images for some queries.",
            "default": "moderate"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}