Skip to main content

Agent quick-start

Your agent installs and configures the Andi Search API itself — paste one line:
Paste into Claude Code, Cursor, or Codex
Your agent fetches andiai.com, follows it to the install guide at api.andiai.com, then gets an API key from the API Console, connects the MCP server, and verifies the setup.
Are you an AI agent? Fetch https://api.andiai.com/install.md and follow it to configure Andi Search — MCP server, API key, and verification.

CLI quick-start

Search from your terminal without writing any code — get a key from the API Console, then install the CLI and run it:
Or run it without installing:
See the CLI guide for output formats and the local MCP server.

Manual setup

You need an API key to follow these steps. Get one from the API Console.
1

Get your API key

Sign in to the API Console and create an API key. Copy it — you’ll need it for the next step. See authentication for key management and security practices.
2

Make your first request

Send a search query using the x-api-key header:
3

Read the response

The API returns a JSON object with top-level fields and a results array. Each result includes a title, link, desc, and source:
The metrics.cost_dollars field shows the amount charged for this request in USD.
4

Fetch a page

The second core endpoint, /api/v1/fetch, retrieves a single page as clean extracted content — use it to read a result in full after searching:
The response includes the page title, extracted content and markdown, word_count, and metrics.cost_dollars. Add format=context for LLM-ready markdown, or query=... for extracts focused on what you want from the page. See content retrieval for the full reference.

Next steps

Search modes

Automatic effort by default, manual control when you want it.

Build with AI agents

Connect via MCP for Claude Code, Cursor, and other tools.

Content retrieval

Full fetch endpoint reference.

Query parameters

Full parameter reference for the search endpoint.