SerpBase

Google AI Mode

Google's AI Mode answer to a question, as plain text and as Markdown with its headings, lists and tables, plus the pages it cites with their real URLs.

Endpoint
POST https://api.serpbase.dev/google/ai_mode
Price
1 credit until 2026-11-26 16:00 UTC, then 3 credits
Authentication
X-API-Key

You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →

Example

cURL
curl -X POST 'https://api.serpbase.dev/google/ai_mode' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"gl":"us","hl":"en","q":"how does a heat pump work"}'

No recorded response is published for this endpoint yet. Run the example in the Playground to see a live one.

Parameters · What comes back

Frequently asked questions

How much does the Google AI Mode API cost?

Each request costs 3 credits. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.

How do I call the Google AI Mode API?

Send a POST request to https://api.serpbase.dev/google/ai_mode with your API key in the X-API-Key header. The response is JSON; check status (0 means success).

Is the Google AI Mode API available now?

Yes. Any active API key can call it.