Deploy MCP Server
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

MethodEndpointDescription
POST/indexes/{indexName}/querySearch 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}/batchPerform 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}/settingsUpdate index configuration and ranking settings
GET/indexes/{indexName}/settingsRetrieve the current settings and configuration for an index
POST/indexes/{indexName}/clearRemove all records from an index while keeping settings
DELETE/indexes/{indexName}Delete an entire index and all its records
GET/indexesList all indices in the application with metadata
POST/indexes/*/queriesPerform multiple search queries across different indices in one request
POST/indexes/{indexName}/browseRetrieve all records from an index for export or backup
GET/keysList all API keys for the application
POST/indexes/{indexName}/synonyms/batchAdd or update multiple synonyms to improve search relevance
POST/indexes/{indexName}/rules/batchCreate 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 →

Related APIs