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...
Google Search
Prepare your request, then continue with your agent.
Selected price
$0.003 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
creditsintegerorganicunknown[]searchParametersobjectenginestringglstringhlstringnumintegerpageintegertypestringurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
credits?: number;
organic?: Array<unknown>;
searchParameters?: {
engine?: string;
gl?: string;
hl?: string;
num?: number;
page?: number;
type?: string;
url?: string;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| 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— |
- 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.
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.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | JSON request bodybody | string | Yes | Public image URL for Lens, or public page URL for Webpage. This is an input URL, not a Serper execution origin. |
gl | JSON request bodybody | string | No | Country code from the official selector. The UI initially selects us; server default is not verified. |
hl | JSON request bodybody | string | No | Language 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.
{
"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
# 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/markets/apis/capabilities/google-search-0e0dd28f
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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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" } }