Search & Discovery
API Key
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.
Base URL
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 |
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
}'
Connect Algolia Search to AI
Deploy a Algolia Search MCP server on IOX Cloud and connect it to Claude, ChatGPT, Cursor, or any AI client. Your AI assistant gets direct access to Algolia Search through these tools:
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
Deploy in 60 seconds
Describe what you need, AI generates the code, and IOX deploys it globally.
Deploy Algolia Search MCP Server →