amplitude
Troubleshooting
If requests fail, run zero doctor check-connector --env-name AMPLITUDE_API_KEY or zero doctor check-connector --url https://amplitude.com/api/2/events/segmentation --method GET
How to Use
All examples below assume AMPLITUDE_API_KEY and AMPLITUDE_SECRET_KEY are set. Amplitude's dashboard REST and Export APIs use HTTP Basic Auth with the API key as the username and the secret key as the password. The ingestion API (HTTP V2) embeds the API key in the request body instead.
- Dashboard + Export host:
https://amplitude.com(EU:https://analytics.eu.amplitude.com) - Ingestion host:
https://api2.amplitude.com(EU:https://api.eu.amplitude.com)
Pass credentials to curl with -u "$AMPLITUDE_API_KEY:$AMPLITUDE_SECRET_KEY".
1. Export Raw Events
Export all events for a time range. Start and end use YYYYMMDDTHH format (hourly, UTC). Returns a ZIP archive of gzipped JSON lines.
curl -s -X GET "https://amplitude.com/api/2/export?start=20260101T00&end=20260101T23" -u "$AMPLITUDE_API_KEY:$AMPLITUDE_SECRET_KEY" -o /tmp/amplitude_export.zip
More from vm0-ai/vm0-skills
hackernews
Hacker News API for stories and comments. Use when user mentions "Hacker
2.7Kcloudflare-tunnel
Cloudflare Tunnel API for secure tunnels. Use when user mentions "Cloudflare
554google-sheets
Google Sheets API for spreadsheets. Use when user mentions "Google Sheets",
407minimax
MiniMax API for AI models. Use when user mentions "MiniMax", "Chinese
341instagram
Instagram API for posts and media. Use when user mentions "Instagram",
312apify
Apify web scraping platform. Use when user mentions "scrape website",
311