Rankings and links

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.txt

Paste 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.

ToolWhat it does herePrice
serpapi/google/lensRuns Google Lens on an image URL and returns visual and exact matches, the broadest first pass.$0.020 / callRp353 / call
serpapi/google/reverse-imageFinds web pages that contain an image, given its URL, which is the direct check for reuse.$0.020 / callRp353 / call
serpapi/bing/reverse-imageFinds 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-imageFinds pages and visually similar images for an image URL, as a further Google check per image.$0.0016 / callRp29 / call

Step by step

  1. 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.
  2. Run a first pass with Lens. Run serpapi/google/lens on 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.
  3. Add a page check and a second engine. Run serpapi/google/reverse-image for pages that contain the image, and serpapi/bing/reverse-image for Bing's results. The engines index different pages, so their combined list is more complete than either one alone.
  4. 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.
  5. 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.

ToolReturnsUse it for
serpapi/google/lensVisual and exact matchesA first pass on any image
serpapi/google/reverse-imageWeb pages that contain the imageFinding reuse of your own photos
serpapi/bing/reverse-imagePages and similar images from BingA second index to widen coverage
dataforseo/serp/google-search-by-imagePages and visually similar imagesA 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.

CallToolCountUSDIDR
Lens on 10 imagesserpapi/google/lens10$0.195Rp3.530
Bing on 10 imagesserpapi/bing/reverse-image10$0.195Rp3.530
Google page check on 5 imagesserpapi/google/reverse-image5$0.098Rp1.765
Total$0.488Rp8.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?
Google Lens and Google reverse image results are available as tools on 1ToolRing: 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?
The tools take an image URL, so host the file somewhere public first. The agent confirms the inputs with inspect_tool before it runs.
Why do Google and Bing return different pages?
They index different parts of the web and match images in different ways. Running both and merging the results gives you a fuller list.
Can I find out who a person in a photo is?
No, and this workflow should not be used for that. It is for products, brand assets and checking where your own images are used.
What does checking a batch of images cost?
Each image costs one call per tool, so ten images on two engines come to twenty calls. 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.