---
search:
  tags:
    - reverseImage
    - POST
seo:
  description: >-
    Find the web pages an image appears on, given the image's URL.… Reference
    for the POST /api/v1/tools/search_by_image endpoint in the Fieldwork gateway
    API.
sidebar:
  label: search_by_image
  badge: POST
title: search_by_image
type: openapi-operation
---
Find the web pages an image appears on, given the image's URL. Returns each page's URL (sourceUrl), the matched image when the provider gives one, a thumbnail, a title and whether the match is the same image or a similar one. Use when you have an image and need to know where it is published, who uses it or where a larger copy is. Do not use to find pictures of a subject (use search_images), to find pages by text (use search_web) or to learn what is in an image. Defaults to serpapi. Set provider to choose another supported provider; Fieldwork never switches providers after an error.

`POST /api/v1/tools/search_by_image`

**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": "serpapi",
  "timeout": 1,
  "imageUrl": "http://example.com",
  "query": "string",
  "match": "exact",
  "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": "serpapi",
  "requestId": "string",
  "result": {
    "meta": {
      "requestId": "string",
      "usage": {
        "costUsd": 0,
        "credits": 0,
        "units": {
          "property1": 0,
          "property2": 0
        }
      },
      "warnings": [
        "string"
      ]
    },
    "results": [
      {
        "description": "string",
        "height": 0,
        "kind": "exact",
        "publishedAt": "string",
        "siteName": "string",
        "sourceUrl": "string",
        "thumbnailUrl": "string",
        "title": "string",
        "url": "string",
        "width": 0
      }
    ],
    "truncated": [
      {
        "length": 0,
        "path": "string",
        "shown": 0
      }
    ]
  }
}
```
