# Algolia — card for AI agents

Hosted search and recommendations API with indexing, relevance tuning and UI libraries.

Maker: Algolia · category: Vector databases

## Price (official page)
- Free tier: Free plan: 10K search requests/month, 50K records, 5K recommendation requests/month, no credit card
- Free tier terms: free allowance · monthly · card not needed · amount: 10K search requests (read from the wording above and the pricing page; empty = not stated)
- Usage price: Grow: 10K search requests/month included then $0.50 per additional 1K; records $0.40 per additional 1K
- About $0.50 per 1,000 requests
- Pricing page: https://www.algolia.com/pricing (checked 2026-10-09)
- Note: Grow Plus: 10K search requests included then $1.75 per additional 1K. Elevate is custom pricing. Hosted official MCP servers (public, productivity, devex) are described in the Algolia docs; the GitHub mcp-node repo is experimental.

## Connect
- Official MCP server: yes
- npm: `npm install algoliasearch`
- PyPI: `pip install algoliasearch`
- Repository: https://github.com/algolia/algoliasearch-client-javascript

## For AI agents on Algolia's own site (AgentGid check 2026-11-13: 5 of 6)
- llms.txt: https://www.algolia.com/llms.txt
- Docs pages as Markdown: 4% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: yes · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 11 (2025-12 to 2026-10) of https://www.algolia.com/pricing
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-20)
- Changes recorded: 0 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)

## Other APIs in this category
- Supabase (pgvector): https://agentgid.com/apis/supabase-pgvector/agent.md
- pgvector: https://agentgid.com/apis/pgvector/agent.md
- Elasticsearch (Elastic Cloud): https://agentgid.com/apis/elastic-cloud/agent.md
- Qdrant Cloud: https://agentgid.com/apis/qdrant-cloud/agent.md
- turbopuffer: https://agentgid.com/apis/turbopuffer/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/algolia/


## Algolia: fast search box for your own site

Algolia is an online service that adds a fast search box to your own website or app, for example to find products, articles or help pages as people type. You send it your items once, and it returns matching results with filters and highlighted words. It does not search the open web, only the data you give it.

### Where to use it
- Product search for an online store: Shoppers type a few letters and see matching products with pictures, prices and filters such as type or size.
- Send your items to the search index: Upload your products, articles or help pages once from your server, then keep them in sync when they change.
- Search for a docs or help site: Let Algolia's crawler read your public pages on a schedule, so the help center search stays up to date without extra code.
- "Customers also bought" suggestions: Show related products, trending items or items often bought together on product pages.
- Answers right in the search bar: Give people a short written answer drawn from your own content, next to the usual search results.
- Search inside a members area: Let logged-in customers search only their own orders or documents, using a restricted search key made per user. (idea, not from the official pages)

### How to start
- Create a free Algolia account and copy the Application ID, the write key and the Search-only key from the API Keys page.

```
VITE_ALGOLIA_APPLICATION_ID=
ALGOLIA_WRITE_API_KEY=
VITE_ALGOLIA_SEARCH_API_KEY=
```

- Install the client and the React search widgets.

```
npm install algoliasearch instantsearch.css react-instantsearch ora tsx
```

- Upload your records from a script on the server with the write key, then point the search box at the index with the Search-only key.

### License
Algolia is a paid online service with a free plan, used under its terms of service; you may build it into your own product but not resell the service itself. The official client libraries are MIT licensed.

### Good to know
- You need an Algolia account. Only the Search-only key may be shown in the page; anyone can then read everything in your index, so put nothing private there.
- Each keystroke in a search-as-you-type box counts as one search request toward your monthly allowance.
- After the free 10K searches a month, Grow costs $0.50 for each extra 1,000 searches, and $0.40 for each extra 1,000 records above 100K.
- Adding records is not instant; wait for the indexing task to finish before searching for them.
- The Free plan allows one application, 20 indexes and 1 GB of data.

Checked 2026-11-10 against: https://www.algolia.com, https://www.algolia.com/pricing, https://www.algolia.com/llms.txt, https://www.algolia.com/doc/llms.txt, https://www.algolia.com/policies/terms, https://www.algolia.com/policies/privacy, https://www.algolia.com/policies/sla, https://www.algolia.com/policies/data-processing-addendum/, https://www.algolia.com/doc/guides/get-started/quickstart.md, https://www.algolia.com/doc/guides/get-started/build-with-ai.md, https://www.algolia.com/doc/libraries/sdk/install.md, https://www.algolia.com/doc/rest-api/search/search-single-index.md, https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/js.md, https://www.algolia.com/doc/guides/security/api-keys.md, https://www.algolia.com/doc/guides/security/api-keys/in-depth/api-key-restrictions.md, https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/how-to/reducing-object-size.md, https://www.algolia.com/doc/guides/model-context-protocol/productivity-mcp.md, https://www.algolia.com/doc/guides/model-context-protocol/public-mcp.md, https://github.com/algolia/algoliasearch-client-javascript/blob/main/README.md, https://github.com/algolia/algoliasearch-client-javascript/blob/main/LICENSE, https://registry.npmjs.org/algoliasearch/latest, https://pypi.org/pypi/algoliasearch/json

### Mistakes to avoid
- Don't: Putting the Admin or write API key in browser code to make search work. → Do: Use the Search-only key (or a secured key made from it) in the page; keep write keys on the server. (The Admin key can change and delete everything.)
- Don't: Searching right after save_object and treating an empty result as a bug. → Do: Wait for the task (waitForTask / wait_for_task, or waitForTasks true) before searching. (Indexing runs asynchronously.)
- Don't: Uploading whole articles or full product data as single records. → Do: Keep only searchable and displayed fields, and split long texts into several records. (Records over the plan limit are rejected (10 KB on Free).)
- Don't: Following old v4 examples (algoliasearch(appId, key).initIndex(...)). → Do: Use the version 5 client (npm install algoliasearch@5) with client.searchSingleIndex / client.search and an indexName argument. (The docs install and document version 5 of the JavaScript clients.)
- Don't: Adding filters and sorts by duplicating indexes without checking the record count. → Do: Count every pre-sorted copy toward your records and plan for it. (Each pre-sort copies records and raises your total record count.)

### Questions
- Is there a free plan? Yes. The Free plan includes 10K search requests a month and 50K records, with no credit card, as listed on the pricing page.
- Can I call Algolia straight from the browser? Yes, for searching, with the Search-only key. Adding or changing records needs a write key on your server.
- Does Algolia search the whole internet? No. It searches the records you send to it, or pages its crawler reads from sites you set up.
- Which languages have official clients? JavaScript, Python, PHP, Ruby, Go, Java, Swift, Kotlin and .NET, among others.
- How do I stop people from copying my whole index through the public key? Use a restricted search key with a per-IP rate limit and limited index access, and keep private data out of the index.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
