---
title: Using ODP's GraphQL Endpoint
slug: data-platform/api/lJ5O-using-odps-graphql-endpoint
docTags: 
createdAt: 2026-06-24T14:49:53.784Z
---

## Authentication

The GraphQL endpoints use the same [authentication](docId\:LIy60XfaOOtW4DxUAxG_6) as ODP's REST APIs. The private key must be used for all GraphQL queries.

## Endpoint

The hostname for the API is region-specific. Refer to the list below to find your region's hostname:

```text
US: 
https://api.zaius.com/v3/graphql

Europe: 
https://api.eu1.odp.optimizely.com/v3/graphql

APAC: 
https://api.au1.odp.optimizely.com/v3/graphql
```

## Discovering the GraphQL API

GraphQL is [introspective](https://graphql.org/learn/introspection/). For more information about exploring GraphQL, see the documentation on the core concepts of the ODP [GraphQL API](docId\:Nyyj-xUv_4Wbkf3GIPLvL).

:::hint{type="info"}
**Note**
Use the GraphQL API to query real-time segments for customer events within the last 28 days. If you want to use data greater than 28 days old, use the standard segments on the **Customers > Segments** page (see [Create segments](https://support.optimizely.com/hc/en-us/articles/4407269013773-Create-segments)).
:::
