--- title: "Get-NectarEndpoint" slug: "get-nectarendpoint" updated: 2024-08-21T15:49:11Z published: 2024-08-21T15:49:11Z canonical: "support.nectarcorp.com/get-nectarendpoint" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.nectarcorp.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-NectarEndpoint Returns a list of Nectar DXP endpoints ## Syntax ``` Get-NectarEndpoint -SearchQuery -OrderByField -OrderDirection -TenantName -PageSize -ResultSize ``` ## Examples ### Example 1 ``` Get-NectarEndpoint ``` Returns the first 100000 endpoints ### Example 2 ``` Get-NectarEndpoint -ResultSize 100 ``` Returns the first 100 endpoints ### Example 3 ``` Get-NectarEndpoint -SearchQuery US ``` Returns all endpoints that have US in any of the data fields ## Parameters **-SearchQuery ** A string to search for. Will search for match against all fields | Parameter | Value | | --- | --- | | Required | false | | Position | 1 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-OrderByField ** Sort the output by the selected field | Parameter | Value | | --- | --- | | Required | false | | Position | 2 | | Required | false | | Default Value | id | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-OrderDirection ** Sort ordered output in ascending or descending order | Parameter | Value | | --- | --- | | Required | false | | Position | 3 | | Required | false | | Default Value | asc | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-TenantName ** The name of the Nectar DXP tenant. Used in multi-tenant configurations. | Parameter | Value | | --- | --- | | Required | false | | Position | 4 | | Required | false | | Default Value | None | | Accept pipeline input? | true (ByPropertyName) | | Accept wildcard characters? | false | **-PageSize ** The size of the page used to return data. Defaults to 1000 | Parameter | Value | | --- | --- | | Required | false | | Position | 5 | | Required | false | | Default Value | 1000 | | Accept pipeline input? | false | | Accept wildcard characters? | false | **-ResultSize ** The total number of results to return. Defaults to 100000. Maximum result size is 9,999,999 results | Parameter | Value | | --- | --- | | Required | false | | Position | 6 | | Required | false | | Default Value | 100000 | | Accept pipeline input? | false | | Accept wildcard characters? | false |