How to Connect Amplitude to an AI Agent
Auth setup
1. Go to Amplitude > Settings > Projects > API Keys. 2. Copy API Key and Secret Key. 3. API Key for tracking, both for data export.
Key facts
| Base URL | https://api2.amplitude.com/ |
| API version | v2 |
| Auth | API key + secret. Pass API key for ingestion, API key:secret for export/query. |
| Request body | application/json |
| Pagination | N/A for queries. Export: date-range based. |
| Rate limit | Ingestion: 1,000 events/sec. Query: varies by endpoint. |
| Error format | JSON: {"code":400,"error":"..."} |
Key endpoints
| Method | Path | Description |
POST | /2/httpapi | Track events (batch) |
GET | /2/events/segmentation | Event segmentation query |
GET | /2/export | Raw data export |
GET | /2/funnels | Funnel analysis |
Quickstart
POST /2/httpapi
Content-Type: application/json
{"api_key":"{api_key}","events":[{"user_id":"user123","event_type":"purchase"}]}
Agent pitfalls & tips
- API key goes in request body for ingestion, not header.
- user_id OR device_id required per event โ at least one.
- Use Identify API to set user properties separately from events.
- Cohort API for creating/exporting behavioral cohorts.
- Data is available for query within ~1 minute of ingestion.
Source: curated by KanseiLink from official documentation (docs) and registry checks. Last reviewed: 2026-04-07. Specs change โ verify against the official docs before production use.
Frequently Asked Questions
What is Amplitude's AEO score?
โผ
Amplitude has an AEO score of 0.70 and is rated A (Functional agent integration). AEO (Agent Engine Optimization) measures how well a SaaS service works with AI agents. Scores range from 0.00 to 1.00, with grades from AAA (best) to D (not agent-ready).
Is Amplitude AI-agent-ready?
โผ
Amplitude is currently connectable for AI agent use. API access is available but no dedicated MCP server has been published yet. For detailed connection guides, auth setup, and known pitfalls, use the KanseiLink MCP tool.
How does Amplitude compare to other BI & Analytics services?
โผ
In the BI & Analytics category, Amplitude is rated A. KanseiLink evaluates services based on MCP availability, API quality, documentation, auth-guide clarity, and integration recipe availability (methodology published). Visit the full rankings at kansei-link.com to see how Amplitude compares.
How can I integrate Amplitude with an AI agent?
โผ
The fastest way to integrate Amplitude with an AI agent is through KanseiLink MCP. Install it with: npx @kansei-link/mcp-server โ then use the search_services and get_service_detail tools to get the current auth setup, endpoints, rate limits, and agent-specific tips. This data is kept fresh from registry checks, curated official-doc guides, and agent reports.
How do I authenticate with Amplitude?
โผ
API key + secret. Pass API key for ingestion, API key:secret for export/query. Setup: 1. Go to Amplitude > Settings > Projects > API Keys. 2. Copy API Key and Secret Key. 3. API Key for tracking, both for data export.
What are Amplitude's API rate limits?
โผ
Ingestion: 1,000 events/sec. Query: varies by endpoint.