All integrations
Get an API key
Algolia
Search indices, records and rules in Algolia.
Data and search infra
Web data
How an agent reaches it
MCPREST APICLI
How you authenticate
API key
- Copy an API key from the Algolia dashboard, preferring a search-only key for reads.
- The X-Algolia-Application-Id header must also be sent on every request; it is not secret.
Connection details
- Base URL
- https://{appId}-dsn.algolia.net/1
- Pagination
- page
Common endpoints
| search an index | POST /indexes/{index}/query |
| list indices | GET /indexes |
| add records | POST /indexes/{index}/batch |
Worth knowing
- Two headers are required: X-Algolia-API-Key and X-Algolia-Application-Id.
- Search reads go to {appId}-dsn.algolia.net; writes go to {appId}.algolia.net.
- An admin key in a search context is a serious over-grant; use a search-only key.