Scrapingdog

Yahoo Images Scraper API

The Yahoo Images Scraper API returns image search results from Yahoo as structured JSON. Every result carries a direct URL to the full-size image along with its real pixel dimensions, plus the thumbnail and the page the image appears on. Yahoo returns 60 images per page, and each successful request costs 5 API credits.

Endpoint: https://api.scrapingdog.com/yahoo/images
Filters are categories, not thresholds: image_size uses Yahoo’s own buckets rather than strict pixel limits, and they do not order neatly by width. Read the exact size from original_width and original_height on each result instead.

API Parameters

πŸ”‘

Scrapingdog Parameters

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

    Type: String
πŸ”

Search Query

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

    Type: String
  • url Optional
    A full Yahoo Images URL to scrape directly. When present it overrides query and every filter parameter, so you can pass a URL you built yourself.

    Type: String
  • page Optional
    Page of results. Yahoo returns 60 images per page, so page=2 requests the next 60.

    Default: 1

    Type: Integer
🎚

️ Filters

  • image_type Optional
    Filter by the kind of image.

    Accepted values: photo, clipart, gif, transparent.

    Type: String
  • image_size Optional
    Filter by image size.

    Accepted values: small, medium, large, wallpaper.

    These are Yahoo’s own buckets rather than strict pixel thresholds β€” read original_width and original_height for exact dimensions.

    Type: String
  • image_color Optional
    Filter by dominant colour.

    Accepted values: color (any colour), bw (black and white), or a named colour: red, blue, green, orange, yellow, purple, pink, white, gray, black, brown.

    Type: String
  • country Optional
    Two-letter country code used to route the request through a proxy in that country.

    Supported: jp, ca, de, fr, nl, gb, ro.

    Type: String
βš™

️ Output

  • html Optional
    Set to true to receive Yahoo’s raw HTML instead of parsed JSON.

    Default: false

    Type: Boolean
  • combined_output Optional
    Set to true to include the raw HTML as an html field alongside the parsed JSON.

    Default: false

    Type: Boolean

API Examples

API result preview
Code to Integrate
curl "https://api.scrapingdog.com/yahoo/images?api_key=APIKEY&query=coffee&image_size=large"
API Response
{
  "query": "coffee",
  "total_time_taken": 1.68,
  "images_results": [
    {
      "rank": 1,
      "title": "Coffee beans close-up 23920415 Stock Photo at Vecteezy",
      "original": "https://static.vecteezy.com/system/resources/previews/023/920/415/large_2x/coffee-beans-close-up-photo.jpg",
      "original_width": 1470,
      "original_height": 980,
      "thumbnail": "https://tse4.mm.bing.net/th/id/OIP.pQ8cQ0yQ0m7gkE1cQe0FVgHaE7?r=0&pid=Api&h=220&P=0",
      "source": "www.vecteezy.com",
      "link": "https://www.vecteezy.com/photo/23920415-coffee-beans-close-up"
    },
    {
      "rank": 2,
      "title": "Coffee Cups With Coffee Beans",
      "original": "https://ar.inspiredpencil.com/pictures/coffee-cups-with-coffee-beans.jpg",
      "original_width": 1600,
      "original_height": 1200,
      "thumbnail": "https://tse2.mm.bing.net/th/id/OIP.7mWwQb9bSxJz1s0rT4t2bQHaFj?r=0&pid=Api&h=220&P=0",
      "source": "ar.inspiredpencil.com",
      "link": "https://ar.inspiredpencil.com/pictures/coffee-cups-with-coffee-beans"
    }
  ]
}