How to use a reverse image search API with an AI agent
Updated · 1ToolRing team
A reverse image search API takes an image URL and returns web pages that contain the image and images that look similar. With 1ToolRing your agent runs serpapi/google/lens for visual and exact matches and serpapi/google/reverse-image for pages that use the image, then merges the results into one table. You pay per call from one prepaid balance.
Brand owners, online sellers and photographers use reverse image search to see where their images end up: product photos on other sellers' listings, logos on sites that never licensed them, or a product shot that helps identify an item and where it is sold. By hand, that means uploading each image to several engines and copying links into a sheet.
Each engine returns different pages, so one search misses what another finds, and exact copies, crops and look-alike products come back mixed together. Run two or three engines per image, keep exact matches apart from similar ones, and judge each page yourself. The scope here is products, brand assets and image reuse; identifying people in photos is out of bounds.
Paste this into your agent
Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.
Set up 1ToolRing from 1toolring.com/install, then check where these 10 product images appear online: [image URLs on example.com]. For each image run serpapi/google/lens and serpapi/bing/reverse-image. Inspect the price first and stop at 20 calls. Return one row per page found with the image, page URL, domain, match type (exact or similar) and engine, drop pages on example.com, and flag domains that appear for three or more images.First time? Set up takes one command or one connector URL:
set up 1ToolRing - https://1toolring.com/llms.txtPaste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.
Tools this workflow uses
Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.
| Tool | What it does here | Price |
|---|---|---|
serpapi/google/lens | Runs Google Lens on an image URL and returns visual and exact matches, the broadest first pass. | $0.020 / callRp353 / call |
serpapi/google/reverse-image | Finds web pages that contain an image, given its URL, which is the direct check for reuse. | $0.020 / callRp353 / call |
serpapi/bing/reverse-image | Finds pages and similar images for an image URL using Bing, a second index that catches pages Google did not return. | $0.020 / callRp353 / call |
dataforseo/serp/google-search-by-image | Finds pages and visually similar images for an image URL, as a further Google check per image. | $0.0016 / callRp29 / call |
Step by step
- Put each image at a public URL. Every tool here takes an image URL, so the image has to load without a login. Use the original file from your site or CDN. The agent reads the exact input name with
inspect_tool. - Run a first pass with Lens. Run
serpapi/google/lenson each image. It returns exact matches, where the same image appears, and visual matches, where something looks alike. Store the two kinds in separate rows. - Add a page check and a second engine. Run
serpapi/google/reverse-imagefor pages that contain the image, andserpapi/bing/reverse-imagefor Bing's results. The engines index different pages, so their combined list is more complete than either one alone. - Merge and deduplicate. Combine the results on page URL, then group by domain. Record which engines found each page, since a page found by two engines is a firmer lead. Remove your own domains and known authorized partners.
- Review and decide. Open the pages that matter and record what you find: an authorized reseller, an unlicensed copy, a marketplace listing, or a similar product from another brand. Then decide an action per domain, such as no action, a request for credit, or a takedown request through the site's own process.
What is reverse image search?
Reverse image search starts from an image instead of words and returns pages where that image, or something like it, appears. Exact matches are the same image, possibly resized or cropped. Visual matches look similar and are often different photos of a similar object, which helps when identifying a product and adds noise when checking for copies.
Which reverse image search API should I use?
Use Lens for the first pass, then add page checks where reuse is the question.
| Tool | Returns | Use it for |
|---|---|---|
| serpapi/google/lens | Visual and exact matches | A first pass on any image |
| serpapi/google/reverse-image | Web pages that contain the image | Finding reuse of your own photos |
| serpapi/bing/reverse-image | Pages and similar images from Bing | A second index to widen coverage |
| dataforseo/serp/google-search-by-image | Pages and visually similar images | A further Google check per image |
How do I find who is using my product photos?
Run the page checks on each original photo, keep exact matches only, and drop your own domains and authorized resellers. Group what is left by domain and sort by how many of your images each domain uses. A domain using many of your photos is the first one to review.
Can I use reverse image search to identify a product?
Yes. Run serpapi/google/lens on a product photo and read the visual matches, which point to pages showing similar items. Confirm the exact model by name before you act on it, because look-alike products from different brands come back together. Once you know the product, Google Shopping lowest price covers comparing offers.
When is reverse image search the wrong tool?
Identifying people from photos is outside this workflow. Reverse image search also cannot see pages behind a login, inside apps, or not yet indexed, so a missing match does not prove an image is unused. If you plan legal action over a copy, keep your own records and follow the platform's process.
What does it cost?
Ten product images, each checked with Google Lens and Bing reverse image search, plus a Google page check on the 5 images that matter most.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Lens on 10 images | serpapi/google/lens | 10 | $0.195 | Rp3.530 |
| Bing on 10 images | serpapi/bing/reverse-image | 10 | $0.195 | Rp3.530 |
| Google page check on 5 images | serpapi/google/reverse-image | 5 | $0.098 | Rp1.765 |
| Total | $0.488 | Rp8.825 | ||
Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.
Questions
Is there a Google reverse image search API?
serpapi/google/lens and serpapi/google/reverse-image. Each takes an image URL and is paid per call.Can I upload an image file instead of a URL?
inspect_tool before it runs.Why do Google and Bing return different pages?
Can I find out who a person in a photo is?
What does checking a batch of images cost?
inspect_tool shows the per-call price before anything runs. Start with the images that earn you the most and widen the batch once the first results prove useful.