YepAPI
SERP

Google Images

Google Image search results — thumbnails, source URLs, titles, and image metadata.

POST/v1/serp/google-images
$0.01/call

Usage

const res = await fetch('https://api.yepapi.com/v1/serp/google-images', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ query: 'modern dashboard UI design', depth: 10 }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/serp/google-images \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "modern dashboard UI design", "depth": 10}'

Request Body

ParameterTypeRequiredDescriptionDefault
querystringYesImage search query to look up on Google Images
depthnumberNoNumber of results to return10
location_codenumberNoTarget country code (e.g., 2840 for US). See Location Codes.2840
languagestringNoISO language code (e.g., en, es)"en"

Response

{
  "ok": true,
  "data": {
    "query": "modern dashboard UI",
    "totalResults": 0,
    "results": [
      {
        "position": 2,
        "type": "imagesSearch",
        "title": "Modern Dashboard Design designs, themes ...",
        "url": "https://dribbble.com/tags/modern-dashboard-design",
        "description": "",
        "domain": ""
      },
      {
        "position": 3,
        "type": "imagesSearch",
        "title": "Modern Dashboard UI Design Design ...",
        "url": "https://www.figma.com/community/file/1339194361793974200/modern-dashboard-ui-design-design-free",
        "description": "",
        "domain": ""
      },
      {
        "position": 4,
        "type": "imagesSearch",
        "title": "Dashboard Design: best practices and ...",
        "url": "https://www.justinmind.com/ui-design/dashboard-design-best-practices-ux",
        "description": "",
        "domain": ""
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.querystringThe image search query that was executed
data.totalResultsnumberTotal number of image results found (may be 0 when Google does not expose a count)
data.resultsobject[]Array of image search result items
data.results[].positionnumberPosition in image search results (1-indexed)
data.results[].typestringResult type (e.g., imagesSearch, carousel, relatedSearches)
data.results[].titlestringTitle or alt text of the image result
data.results[].urlstringURL of the page containing the image
data.results[].descriptionstringDescription or caption of the image (often empty for image results)
data.results[].domainstringDomain of the source page (may be empty for image results)
Under the Hood

Under the hood, this queries our SERP engine. We normalize the response format and flatten nested structures for consistency.

On this page