# Serper Lens

Search Google via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by Serper, pass parameters such as url, and retrieve structured data including returned credits field, returned organic field, returned engine field, returned gl field, and returned hl field to search interfaces and source review, and integration reference.

Documentation: https://openany.si/google/google-search-0e0dd28f/f7beaa9d-70a8-4fc2-8eee-7bd909802651/
API ID: f7beaa9d-70a8-4fc2-8eee-7bd909802651
Provider: serper
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/serper/lens
Page update time: 2026-12-03T02:53:21.516Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.003 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:18.457Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "3000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Google Serper Lens API

Retrieve serper Lens with the Google API. Provide url in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `credits` | Returned credits field |
| `organic` | Returned organic field |
| `searchParameters.engine` | Returned engine field |
| `searchParameters.gl` | Returned gl field |
| `searchParameters.hl` | Returned hl field |
| `searchParameters.num` | Returned num field |
| `searchParameters.page` | Page number |
| `searchParameters.type` | Returned type field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Serper Lens request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin."
        },
        "gl": {
          "type": "string",
          "description": "Country code from the official selector. The UI initially selects us; server default is not verified."
        },
        "hl": {
          "type": "string",
          "description": "Language code from the official selector. The UI initially selects en; server default is not verified."
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits": {
      "type": "integer"
    },
    "organic": {
      "type": "array",
      "items": {}
    },
    "searchParameters": {
      "type": "object",
      "properties": {
        "engine": {
          "type": "string"
        },
        "gl": {
          "type": "string"
        },
        "hl": {
          "type": "string"
        },
        "num": {
          "type": "integer"
        },
        "page": {
          "type": "integer"
        },
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Third-party reference (abridged; HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/serper/lens' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Lion_waiting_in_Namibia.jpg/1200px-Lion_waiting_in_Namibia.jpg"
}'
```

## Response example
Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
Third-party response reference · Configured HTTP 200; actual status is unverified.
```json
{
  "credits": 3,
  "organic": [],
  "searchParameters": {
    "engine": "google",
    "gl": "us",
    "hl": "en",
    "num": 10,
    "page": 1,
    "type": "lens",
    "url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg"
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide url in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/google/google-search-0e0dd28f/102de1ac-29e8-4ea5-b174-9257d78f6038/
- anyapi: https://openany.si/google/google-search-0e0dd28f/1193ae95-e5bf-48db-b79f-a2d7de2eb18c/
- anyapi: https://openany.si/google/google-search-0e0dd28f/381f3fa7-d057-4aa2-b4c1-9c79ca898350/
- anyapi: https://openany.si/google/google-search-0e0dd28f/3b597bdd-b995-4fde-834b-44b1a9dc8d84/
- anyapi: https://openany.si/google/google-search-0e0dd28f/4733b5f3-4f21-4d17-8bea-eb3e5e5ae18f/
- anyapi: https://openany.si/google/google-search-0e0dd28f/6ade9ae7-b746-40b6-afdf-e8ea6ffcde8f/
- anyapi: https://openany.si/google/google-search-0e0dd28f/8d9f01a6-730a-42d8-b75e-60e18385cb91/
- anyapi: https://openany.si/google/google-search-0e0dd28f/8f1ee3f8-b0bd-40e3-b62f-2150e18c15fa/
- anyapi: https://openany.si/google/google-search-0e0dd28f/a7a08c9d-dfd5-4624-88c3-4489f61dbcda/
- anyapi: https://openany.si/google/google-search-0e0dd28f/b8b8d810-1548-4f60-b8aa-6612a1a67fdf/
- litescrape: https://openany.si/google/google-search-0e0dd28f/346a362f-ef7e-412a-a98f-409fa5e045b2/
- litescrape: https://openany.si/google/google-search-0e0dd28f/df351600-4e0e-4b99-b567-bada9baf39bf/
- litescrape: https://openany.si/google/google-search-0e0dd28f/f2ead409-83f1-4773-9919-d9393423cf8b/
- litescrape: https://openany.si/google/google-search-0e0dd28f/ff2f71ed-2a42-4759-8577-2b3c7602f5cf/
- scrapecreators: https://openany.si/google/google-search-0e0dd28f/339f73d0-1539-4987-96ab-e90380ac2266/
- serper: https://openany.si/google/google-search-0e0dd28f/21505f62-523f-4ab4-a5fa-6d126219e487/
- serper: https://openany.si/google/google-search-0e0dd28f/2bf311f7-42f5-4f79-b46e-09d276d04391/
- serper: https://openany.si/google/google-search-0e0dd28f/3f3b4c89-be85-45e4-ad33-407cf65da8d3/
- serper: https://openany.si/google/google-search-0e0dd28f/70573ac5-3a11-4b53-b730-48f908ed2767/
- serper: https://openany.si/google/google-search-0e0dd28f/c406acfb-693e-40c0-afdd-81ffb959e66b/
- serper: https://openany.si/google/google-search-0e0dd28f/e2a07064-4833-4c85-8f40-4b22dcce4a56/
- serper: https://openany.si/google/google-search-0e0dd28f/f7beaa9d-70a8-4fc2-8eee-7bd909802651/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
