Ai
Gemini logo

Gemini API

https://gemini.google.com

Send a prompt, get a structured chat answer with grounding sources

Actions
1
Category
Ai
Login
Not required
Output
JSON

Call the Gemini API

Submit a task, then poll the job until it settles. This example runs gemini_prompt.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "gemini_prompt",
    "params": {
      "prompt": "What is the capital of France?"
    }
  }'

1 action on https://gemini.google.com

Read

  • Gemini Prompt

    gemini_promptread2 credits / call

    Ask Google Gemini a question and get its answer. Uses Gemini's free public web assistant — no Google account or API key needed. Returns the answer as text, markdown and HTML, along with the sources Gemini cited, links to the exact quoted passage in each source, any images it attached, and whether it searched the web. You can ask an optional follow-up question in the same conversation. The result uses the same shape as the ChatGPT action, so both can be handled the same way.

    prompt
    string · required
    country
    string
    additional_prompt
    string
    include_html
    boolean

Gemini API questions

Is there an API for Gemini?
Gemini does not offer a public data API for this, but Anakin Wire provides 1 maintained endpoint for https://gemini.google.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Gemini data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when https://gemini.google.com changes its markup, Anakin updates the action.
Do I need a Gemini account?
No. Every Gemini action listed here runs anonymously — no account and no credentials required.
What does the Gemini API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Ai APIs

All Ai sites