PeumeAPI

Search & SEO · Google

Google AI Mode

Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.

$0.001 per call

Call it

curl https://api.peume.com/v1/call/google-ai-mode \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "What is example at getexample.com, and what does it offer?"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-ai-mode.

Parameters

fieldsstring

Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

max_itemsinteger

Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

summaryboolean

`true` returns only an outline: keys, item counts, per-field sizes.

jqstring

jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

promptRequiredstring

The question or prompt to answer with Google AI Mode.

Example: What is example at getexample.com, and what does it offer?

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.