Algolia Search REST API
Fast, relevant search API for web and mobile apps
Algolia is a hosted search API that provides fast, typo-tolerant search as a service. Developers use Algolia to build search experiences with sub-50ms response times, advanced relevance tuning, and powerful filtering capabilities. It's widely used for e-commerce product search, content discovery, and autocomplete features.
https://{APPLICATION_ID}-dsn.algolia.net/1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /indexes/{indexName}/query | Search for records in an index with query parameters and filters |
| POST | /indexes/{indexName} | Add or update a single record in an index |
| POST | /indexes/{indexName}/batch | Perform multiple indexing operations in a single API call |
| DELETE | /indexes/{indexName}/{objectID} | Delete a specific record from an index by objectID |
| GET | /indexes/{indexName}/{objectID} | Retrieve a specific record from an index by objectID |
| PUT | /indexes/{indexName}/settings | Update index configuration and ranking settings |
| GET | /indexes/{indexName}/settings | Retrieve the current settings and configuration for an index |
| POST | /indexes/{indexName}/clear | Remove all records from an index while keeping settings |
| DELETE | /indexes/{indexName} | Delete an entire index and all its records |
| GET | /indexes | List all indices in the application with metadata |
| POST | /indexes/*/queries | Perform multiple search queries across different indices in one request |
| POST | /indexes/{indexName}/browse | Retrieve all records from an index for export or backup |
| GET | /keys | List all API keys for the application |
| POST | /indexes/{indexName}/synonyms/batch | Add or update multiple synonyms to improve search relevance |
| POST | /indexes/{indexName}/rules/batch | Create or update query rules for merchandising and relevance tuning |
Sponsor this page
AvailableReach developers actively building with Algolia Search. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST \
'https://APPLICATION_ID-dsn.algolia.net/1/indexes/products/query' \
-H 'X-Algolia-API-Key: YOUR_SEARCH_API_KEY' \
-H 'X-Algolia-Application-Id: YOUR_APPLICATION_ID' \
-H 'Content-Type: application/json' \
-d '{
"query": "laptop",
"filters": "category:electronics AND price < 1000",
"hitsPerPage": 20
}'
Use Algolia Search from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Algolia Search. Paste your Algolia Search API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Algolia Search directly with your credentials — no local install, works on mobile.
search_algolia_index
Search an Algolia index with natural language queries, automatically converting to Algolia query syntax with filters and facets
index_content
Add or update records in an Algolia index with automatic attribute inference and searchable field optimization
get_search_analytics
Retrieve search analytics including top searches, no-results queries, and click-through rates to optimize relevance
manage_synonyms
Create and manage synonym sets to improve search recall and handle terminology variations
configure_ranking
Automatically configure custom ranking and relevance settings based on business rules and user behavior
Connect in 60 seconds
Paste your Algolia Search key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Algolia Search to your AI →