Need Help,
I want to fetch event count w.r.t. event properties using API call
Best answer by Saish Redkar
View originalNeed Help,
I want to fetch event count w.r.t. event properties using API call
Best answer by Saish Redkar
View originalHey
If you are looking at a general way to access the event schema and its metadata via API, then the Taxonomy API has some options.
If you want to query user data based on user_id as input, then here are a few endpoints which might help. But they may not guarantee the output format that you are expecting
Hey
Thanks for the reply. Let me explain my use case. I want to count “watch_post” event with respect to event property “analytics_user_id”. I will pass “analytics_user_id” value in API and it should return the event count with respect to the value. Can you help me in this regard?
Thanks for explaining.
This could be achieved using the event segmentation endpoint of the Dashboard API. This essentially allows you to create most of your event segmentation chart results on the fly with API parameters.
You will have to format your API calls and pass in the desired value for event property by using the following docs
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.