Google AI
Retrieve google AI via API. Input fields and response shapes depend on the selected implementation. Use it to integrate the capability into a content workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.0015 / callPublished pricing
- Sellers / APIs
- 2 / 5
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Google AI
Prepare your request, then continue with your agent.
Selected price
$0.0015 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
outputobjectdataobjectanswerstringanswerMarkdownstringcitationsobject[]indexintegertitlestringurlstring
languagestringpromptstringscrapedAtstring
foundboolean
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
output?: {
data?: {
answer?: string;
answerMarkdown?: string;
citations?: Array<{
index?: number;
title?: string;
url?: string;
}>;
language?: string;
prompt?: string;
scrapedAt?: string;
};
found?: boolean;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
Current Google AI Overview · POST · View API reference | $0.0015 / call | — | —successP50— | |
| Google AI Mode · POST · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Google AI Overview · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Gemini Chat · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google AI Mode · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.0015
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: 6. Price update time: not supplied.
Total $0.15
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/anyapi/v1/run/google.ai_overview- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/anyapi/v1/run/google.ai_overview' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"prompt": "How does photosynthesis work?"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
fields | URL query parametersquery | string | No | Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost. |
max_items | URL query parametersquery | integer | No | Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost. minimum: 0 |
summary | URL query parametersquery | boolean | No | Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost. |
jq | URL query parametersquery | string | No | Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost. |
max_cost_usd | URL query parametersquery | string | No | Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price. |
Idempotency-Key | Request headersheaders | string | No | Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict. minLength: 1 · maxLength: 255 |
allowFallbacks | JSON request bodybody | boolean | No | Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price. |
ignoreSources | JSON request bodybody | array | No | Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.Nested fields and variants
|
preferLatencyUnderMs | JSON request bodybody | integer | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted. minimum: 1 |
prompt | JSON request bodybody | string | Yes | The question or prompt to answer with a Google AI Overview. minLength: 1 |
source | JSON request bodybody | array | No | Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"output": {
"data": {
"answer": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.",
"answerMarkdown": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy.\n\n**How it works:**\n1. Chlorophyll in the chloroplasts absorbs sunlight\n2. Light energy splits water molecules (photolysis)\n3. Carbon dioxide combines with hydrogen to produce glucose\n4. Oxygen is released as a byproduct\n\nOverall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2",
"citations": [
{
"index": 1,
"title": "Photosynthesis - National Geographic Education",
"url": "https://education.nationalgeographic.org/resource/photosynthesis"
},
{
"index": 2,
"title": "The Basics of Photosynthesis - Khan Academy",
"url": "https://www.khanacademy.org/science/biology/photosynthesis-in-plants"
},
{
"index": 3,
"title": "Photosynthesis, respiration and transpiration - BBC Bitesize",
"url": "https://www.bbc.co.uk/bitesize/topics/z9ss4wx"
}
],
"language": "en",
"prompt": "How does photosynthesis work?",
"scrapedAt": "2026-09-27T14:32:00Z"
},
"found": true
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Google AI
Retrieve google AI via API. Input fields and response shapes depend on the selected implementation. Use it to integrate the capability into a content workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · Google AI Overview: https://openany.si/markets/apis/capabilities/google-ai?offering=ca87c058-83f3-41c4-84ec-d76a762b4662 · $0.0015 / call
anyapi · Google AI Mode: https://openany.si/markets/apis/capabilities/google-ai?offering=db534d95-5616-46b6-bce8-b8e7fec9588d · $0.002 / call
litescrape · Google AI Overview: https://openany.si/markets/apis/capabilities/google-ai?offering=27d2667e-7cb4-4765-9b45-69006a99341c · $0.00015 / call
litescrape · Gemini Chat: https://openany.si/markets/apis/capabilities/google-ai?offering=4b2f6448-f1c6-4d62-aa8c-07ea228df437 · $0.00015 / call
litescrape · Google AI Mode: https://openany.si/markets/apis/capabilities/google-ai?offering=6a56b00a-0331-4f7e-9ec5-9b5701e4bb03 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/apis/ca87c058-83f3-41c4-84ec-d76a762b4662
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/anyapi/v1/run/google.ai_overview
Price: $0.0015 / call
Provider: anyapi
Contract revision: 6
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/anyapi/v1/run/google.ai_overview' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"prompt": "How does photosynthesis work?"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Google AI Overview",
"endpoint": "https://api.openany.si/v1/agent-apis/anyapi/v1/run/google.ai_overview",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.",
"location": "query",
"minimum": "0",
"name": "max_items",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.",
"location": "query",
"name": "summary",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.",
"location": "query",
"name": "jq",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.",
"location": "query",
"name": "max_cost_usd",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.",
"location": "header",
"max_length": 255,
"min_length": 1,
"name": "Idempotency-Key",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.",
"location": "body",
"name": "allowFallbacks",
"nullable": false,
"pointer": "/allowFallbacks",
"required": false,
"type": "boolean"
},
{
"description": "Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.",
"item_type": "string",
"location": "body",
"name": "ignoreSources",
"nullable": false,
"pointer": "/ignoreSources",
"required": false,
"type": "array"
},
{
"description": "Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.",
"location": "body",
"minimum": "1",
"name": "preferLatencyUnderMs",
"nullable": false,
"pointer": "/preferLatencyUnderMs",
"required": false,
"type": "integer"
},
{
"description": "The question or prompt to answer with a Google AI Overview.",
"location": "body",
"min_length": 1,
"name": "prompt",
"nullable": false,
"pointer": "/prompt",
"required": true,
"type": "string"
},
{
"description": "Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.",
"item_type": "string",
"location": "body",
"name": "source",
"nullable": false,
"pointer": "/source",
"required": false,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1500",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example (output fragment; HTTP assumed)",
"request": {
"body": {
"prompt": "How does photosynthesis work?"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"output": {
"data": {
"answer": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.",
"answerMarkdown": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy.\n\n**How it works:**\n1. Chlorophyll in the chloroplasts absorbs sunlight\n2. Light energy splits water molecules (photolysis)\n3. Carbon dioxide combines with hydrogen to produce glucose\n4. Oxygen is released as a byproduct\n\nOverall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2",
"citations": [
{
"index": 1,
"title": "Photosynthesis - National Geographic Education",
"url": "https://education.nationalgeographic.org/resource/photosynthesis"
},
{
"index": 2,
"title": "The Basics of Photosynthesis - Khan Academy",
"url": "https://www.khanacademy.org/science/biology/photosynthesis-in-plants"
},
{
"index": 3,
"title": "Photosynthesis, respiration and transpiration - BBC Bitesize",
"url": "https://www.bbc.co.uk/bitesize/topics/z9ss4wx"
}
],
"language": "en",
"prompt": "How does photosynthesis work?",
"scrapedAt": "2026-09-27T14:32:00Z"
},
"found": true
}
}
}
]
}
```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
Official example (output fragment; HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
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 11
Review these request fields before running. Keep the published provider and request method unchanged.
fields- Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.
max_items- Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.
summary- Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
jq- Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.
max_cost_usd- Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Idempotency-Key- Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
allowFallbacks- Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
ignoreSources- Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.
preferLatencyUnderMs- Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
prompt- The question or prompt to answer with a Google AI Overview.
source- Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/anyapi/v1/run/google.ai_overview' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "prompt": "How does photosynthesis work?" }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "output": { "data": { "answer": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy. Chlorophyll in the chloroplasts absorbs sunlight, which powers reactions that split water molecules and combine carbon dioxide with hydrogen to produce glucose, releasing oxygen as a byproduct. The overall reaction is 6CO2 + 6H2O + light energy to C6H12O6 + 6O2.", "answerMarkdown": "Photosynthesis is the process plants, algae, and some bacteria use to convert light energy into chemical energy.\n\n**How it works:**\n1. Chlorophyll in the chloroplasts absorbs sunlight\n2. Light energy splits water molecules (photolysis)\n3. Carbon dioxide combines with hydrogen to produce glucose\n4. Oxygen is released as a byproduct\n\nOverall reaction: 6CO2 + 6H2O + light energy to C6H12O6 + 6O2", "citations": [ { "index": 1, "title": "Photosynthesis - National Geographic Education", "url": "https://education.nationalgeographic.org/resource/photosynthesis" }, { "index": 2, "title": "The Basics of Photosynthesis - Khan Academy", "url": "https://www.khanacademy.org/science/biology/photosynthesis-in-plants" }, { "index": 3, "title": "Photosynthesis, respiration and transpiration - BBC Bitesize", "url": "https://www.bbc.co.uk/bitesize/topics/z9ss4wx" } ], "language": "en", "prompt": "How does photosynthesis work?", "scrapedAt": "2026-09-27T14:32:00Z" }, "found": true } }