> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiforgeo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API for GEO

> See what AI models answer, in any country and language, with one API call.

API for GEO sends a prompt to an AI model, in a country and a language that you pick. You get back, asynchronously:

* **The answer**, as the model gave it, in markdown.
* **The entities** in it (brands, companies, products), with their position, mention count, sentiment and stance.
* **The sources** the model cited.
* **The fan-outs**: the web searches the model ran while it answered.
* **The products** it showed, with prices, ratings and merchants.
* **The ads** shown with the answer.

Use it to measure your brand's visibility in AI answers (generative engine optimization, GEO), track competitors, or audit what AI says about a market.

## How it works

**1. Create a task**

`POST /v1/tasks` with a prompt, a model, a country and a language. The task is charged \$0.013 and queued.

**2. Wait for it**

Poll `GET /v1/tasks/{taskId}`, or pass a `webhookUrl` and receive `task.completed`.

**3. Read the result**

The result stays readable for 7 days after completion. A failed task is refunded.

## Models

Every model costs \$0.013 a task, all enrichments included.

| `model` | Name |
| - | - |
| `chatgpt` | ChatGPT |
| `google-ai-mode` | Google AI Mode |
| `google-ai-overview` | Google AI Overview |
| `gemini` | Gemini |
| `copilot` | Microsoft Copilot |

[`GET /v1/models`](https://docs.apiforgeo.com/api-reference/list-models) gives the live list, with prices and the countries each model runs in.

## Next steps

> [card] [Quickstart](https://docs.apiforgeo.com/quickstart.md)
>
> Run your first task in five minutes, free, with a test key.

> [card] [Task results](https://docs.apiforgeo.com/concepts/task-results.md)
>
> The answer, entity, source, product and ad schemas.

> [card] [Webhooks](https://docs.apiforgeo.com/concepts/webhooks.md)
>
> Get results pushed to you. No polling.

> [card] [API reference](https://docs.apiforgeo.com/api-reference/introduction.md)
>
> Every endpoint, with a playground.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.