Skip to content

Export segment analytics

get

/segments/data_series

Use this endpoint to retrieve a daily series of the estimated size of a segment over time.

If you need the exact size of a segment, export its users with the /users/export/segment endpoint and count the exported profiles.

Endpoint reference

This reference is generated from the OpenAPI specification for this endpoint. To run the endpoint, copy the generated cURL example and send it from your terminal or Postman. You can also download the raw OpenAPI spec for this page at /docs/assets/api/openapi/export_segments_get_segment_analytics.yaml. Use this spec to validate that your requests include the correct parameters, fields, and structure before you send them. To learn how, see Use OpenAPI schemas for request validation.

New Stuff!