---
search:
  tags:
    - images
    - POST
seo:
  description: >-
    Search for images and return each image's URL, thumbnail, the page…
    Reference for the POST /api/v1/tools/search_images endpoint in the Fieldwork
    gateway API.
sidebar:
  label: search_images
  badge: POST
title: search_images
type: openapi-operation
---
Search for images and return each image's URL, thumbnail, the page it appears on, its title and its size. Use when you need pictures of a subject. Do not use to find pages (use search_web) or to learn what is in an image. Defaults to brave. Set provider to choose another supported provider; Fieldwork never switches providers after an error.

`POST /api/v1/tools/search_images`

**Request body** (`application/json`, required)

- `provider` (string)
- `timeout` (integer) — Maximum wait in milliseconds. Resume a returned jobId to collect a long job.

Request body example:

```json
{
  "provider": "firecrawl",
  "timeout": 1,
  "query": "string",
  "limit": 1,
  "country": "string",
  "language": "string",
  "maxCharacters": 1
}
```

**Responses**

- `200` — The provider that ran the call and its normalized result.
- `default` — A refusal or a failed call. Branch on error.code; never parse the message.

Response example, 200:

```json
{
  "provider": "firecrawl",
  "requestId": "string",
  "result": {
    "meta": {
      "requestId": "string",
      "usage": {
        "costUsd": 0,
        "credits": 0,
        "units": {
          "property1": 0,
          "property2": 0
        }
      },
      "warnings": [
        "string"
      ]
    },
    "results": [
      {
        "description": "string",
        "height": 0,
        "sourceUrl": "string",
        "thumbnailUrl": "string",
        "title": "string",
        "url": "string",
        "width": 0
      }
    ],
    "truncated": [
      {
        "length": 0,
        "path": "string",
        "shown": 0
      }
    ]
  }
}
```
