amplitude

Installation
SKILL.md

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
Related skills
Installs
9
GitHub Stars
59
First Seen
Apr 19, 2026