Gemini
Gemini API
Send a prompt to Google Gemini and get the answer it gives: the full Markdown answer, the URLs it cites, and the products it recommended. Same response shape as the ChatGPT endpoint, so one parser tracks both assistants. Built for AI visibility and GEO monitoring. Costs 5 credits per answered prompt; failed prompts are free.
POST/api/v1/gemini/prompt
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonpromptstringrequiredThe prompt, up to 4000 characters. Ask it the way your buyers would.
Example: What are the best running shoes for beginners?
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.gemini.prompt("What are the best running shoes for beginners?")
data = res["data"]
print(data["answer"]["markdown"][:500])
print([s["url"] for s in data["sources"]])
print([p["title"] for p in data["shopping"]])Response
"platform": "gemini",
"prompt": "What are the best running shoes for beginners?",
"model": null,
"search_queries": [],
},
"response_time": 36631
}