APIAI GenerationData

Google Search

Search Google via API. Input fields and response shapes depend on the selected implementation. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.

Selected price
$0.003 / callPublished pricing
Sellers / APIs
4 / 22
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Google Search

Prepare your request, then continue with your agent.

Selected price

$0.003 / call

Provider
API
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin.
Country code from the official selector. The UI initially selects us; server default is not verified.
Language code from the official selector. The UI initially selects en; server default is not verified.

Sample response

{
  "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"
  }
}

Response result

Response structure

Inferred from examples
  • creditsinteger
  • organicunknown[]
  • searchParametersobject
    • enginestring
    • glstring
    • hlstring
    • numinteger
    • pageinteger
    • typestring
    • urlstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
Google Videos · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Patents · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Search Top 100 · POST · View API reference
$0.0018 / call—Select to load statistics
—successP50—
Google Search · POST · View API reference
$0.0005 / call—Select to load statistics
—successP50—
Google Shopping Search · POST · View API reference
$0.018 / call—Select to load statistics
—successP50—
Google News · POST · View API reference
$0.00099 / call—Select to load statistics
—successP50—
Google Images · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Lens · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Scholar · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Autocomplete · POST · View API reference
$0.00085 / call—Select to load statistics
—successP50—
Google Jobs · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Images · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Search · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google Local · POST · View API reference
$0.00015 / call—Select to load statistics
—successP50—
Google — Search · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Serper Search · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper Scholar · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper Patents · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper Autocomplete · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper Videos · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Serper News · POST · View API reference
$0.001 / call—Select to load statistics
—successP50—
Current
Serper Lens · POST · View API reference
$0.003 / call—
—successP50—
Loading...
Selected pricing · serperUSD / call
Unit price
$0.003

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.

calls

Total $0.3

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/serper/lens
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlJSON request bodybodystringYesPublic image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin.
glJSON request bodybodystringNoCountry code from the official selector. The UI initially selects us; server default is not verified.
hlJSON request bodybodystringNoLanguage code from the official selector. The UI initially selects en; server default is not verified.

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Third-party response reference · Configured HTTP 200; actual status is unverified. Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

Third-party reference (abridged; HTTP assumed)
{
  "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"
  }
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Google Search

Search Google via API. Input fields and response shapes depend on the selected implementation. Use it to surface relevant records in a search or discovery tool. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · Google Videos: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=102de1ac-29e8-4ea5-b174-9257d78f6038 · $0.00085 / call
anyapi · Google Patents: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=1193ae95-e5bf-48db-b79f-a2d7de2eb18c · $0.00085 / call
anyapi · Google Search Top 100: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=381f3fa7-d057-4aa2-b4c1-9c79ca898350 · $0.0018 / call
anyapi · Google Search: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=3b597bdd-b995-4fde-834b-44b1a9dc8d84 · $0.0005 / call
anyapi · Google Shopping Search: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=4733b5f3-4f21-4d17-8bea-eb3e5e5ae18f · $0.018 / call
anyapi · Google News: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=6ade9ae7-b746-40b6-afdf-e8ea6ffcde8f · $0.00099 / call
anyapi · Google Images: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=8d9f01a6-730a-42d8-b75e-60e18385cb91 · $0.00085 / call
anyapi · Google Lens: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=8f1ee3f8-b0bd-40e3-b62f-2150e18c15fa · $0.00085 / call
anyapi · Google Scholar: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=a7a08c9d-dfd5-4624-88c3-4489f61dbcda · $0.00085 / call
anyapi · Google Autocomplete: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=b8b8d810-1548-4f60-b8aa-6612a1a67fdf · $0.00085 / call
litescrape · Google Jobs: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=346a362f-ef7e-412a-a98f-409fa5e045b2 · $0.00015 / call
litescrape · Google Images: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=df351600-4e0e-4b99-b567-bada9baf39bf · $0.00015 / call
litescrape · Google Search: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=f2ead409-83f1-4773-9919-d9393423cf8b · $0.00015 / call
litescrape · Google Local: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=ff2f71ed-2a42-4759-8577-2b3c7602f5cf · $0.00015 / call
scrapecreators · Google — Search: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=339f73d0-1539-4987-96ab-e90380ac2266 · $0.00188 / call
serper · Serper Search: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=21505f62-523f-4ab4-a5fa-6d126219e487 · $0.001 / call
serper · Serper Scholar: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=2bf311f7-42f5-4f79-b46e-09d276d04391 · $0.001 / call
serper · Serper Patents: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=3f3b4c89-be85-45e4-ad33-407cf65da8d3 · $0.001 / call
serper · Serper Autocomplete: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=70573ac5-3a11-4b53-b730-48f908ed2767 · $0.001 / call
serper · Serper Videos: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=c406acfb-693e-40c0-afdd-81ffb959e66b · $0.001 / call
serper · Serper News: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=e2a07064-4833-4c85-8f40-4b22dcce4a56 · $0.001 / call
serper · Serper Lens: https://openany.si/markets/apis/capabilities/google-search-0e0dd28f?offering=f7beaa9d-70a8-4fc2-8eee-7bd909802651 · $0.003 / call

## Selected API contract
Documentation: https://openany.si/apis/f7beaa9d-70a8-4fc2-8eee-7bd909802651
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/serper/lens
Price: $0.003 / call
Provider: serper
Contract revision: 5
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```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"
}'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Serper Lens",
  "endpoint": "https://api.openany.si/v1/agent-apis/serper/lens",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin.",
      "location": "body",
      "name": "url",
      "nullable": false,
      "pointer": "/url",
      "required": true,
      "type": "string"
    },
    {
      "description": "Country code from the official selector. The UI initially selects us; server default is not verified.",
      "location": "body",
      "name": "gl",
      "nullable": false,
      "pointer": "/gl",
      "required": false,
      "type": "string"
    },
    {
      "description": "Language code from the official selector. The UI initially selects en; server default is not verified.",
      "location": "body",
      "name": "hl",
      "nullable": false,
      "pointer": "/hl",
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "3000",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Third-party reference (abridged; HTTP assumed)",
      "request": {
        "body": {
          "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/73/Lion_waiting_in_Namibia.jpg/1200px-Lion_waiting_in_Namibia.jpg"
        },
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "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

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Third-party reference (abridged; HTTP assumed)

Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 3

    Review these request fields before running. Keep the published provider and request method unchanged.

    url
    Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin.
    gl
    Country code from the official selector. The UI initially selects us; server default is not verified.
    hl
    Language code from the official selector. The UI initially selects en; server default is not verified.
    Terminal · cURL
    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"
    }'
  3. Check the response

    Third-party response reference · Configured HTTP 200; actual status is unverified.

    Third-party response reference
    {
      "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"
      }
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Google Search with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.