PeumeAPI

Places & travel · Google

Google AI Mode answer — text, sources, products, places

Runs a prompt through Google AI Mode from a chosen country and returns the answer with its cited sources, citation pills, inline products, shopping cards, place cards, videos and sponsored ads.

$0.0036 per lookup, only when foundUsually answers in under a minute

Call it

curl https://api.peume.com/v1/call/google-ai-mode-answer-text-sources-products-places \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "best electric suv under 50k",
    "gl": "US",
    "hl": "en",
    "device": "desktop"
  }
}'

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-answer-text-sources-products-places.

Parameters

promptRequiredstring

1-10,000 characters

Example: best electric suv under 50k

glRequiredstring

result geography, ISO 3166-1 alpha-2, from AI Mode's own supported-country list. `country` is a deprecated alias.

Example: US

hlstring

interface language override

Example: en

locationstring

free-text location; mutually exclusive with uule

uulestring

Google UULE location string; mutually exclusive with location

devicestring

desktop | mobile, default desktop

Example: desktop

includeobject

any of markdown, html, googleGoto, expandProducts. The first three are free; expandProducts adds 1 credit per expanded product, charged after the fact from the number actually returned.

Other ways to do it

Same job, other sources, cheapest first.

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.