# LocationApi
All URIs are relative to *https://esi.evetech.net*
|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getCharactersCharacterIdLocation**](#getcharacterscharacteridlocation) | **GET** /characters/{character_id}/location | Get character location|
|[**getCharactersCharacterIdOnline**](#getcharacterscharacteridonline) | **GET** /characters/{character_id}/online | Get character online|
|[**getCharactersCharacterIdShip**](#getcharacterscharacteridship) | **GET** /characters/{character_id}/ship | Get current ship|
# **getCharactersCharacterIdLocation**
> CharactersCharacterIdLocationGet getCharactersCharacterIdLocation()
Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable
### Example
```typescript
import {
LocationApi,
Configuration
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new LocationApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en')
let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined)
let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility')
let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined)
const { status, data } = await apiInstance.getCharactersCharacterIdLocation(
characterId,
xCompatibilityDate,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **characterId** | [**number**] | The ID of the character | defaults to undefined|
| **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined|
| **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'|
| **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined|
| **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'|
| **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined|
### Return type
**CharactersCharacterIdLocationGet**
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
|
|**0** | Error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **getCharactersCharacterIdOnline**
> CharactersCharacterIdOnlineGet getCharactersCharacterIdOnline()
Checks if the character is currently online
### Example
```typescript
import {
LocationApi,
Configuration
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new LocationApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en')
let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined)
let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility')
let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined)
const { status, data } = await apiInstance.getCharactersCharacterIdOnline(
characterId,
xCompatibilityDate,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **characterId** | [**number**] | The ID of the character | defaults to undefined|
| **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined|
| **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'|
| **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined|
| **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'|
| **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined|
### Return type
**CharactersCharacterIdOnlineGet**
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
|
|**0** | Error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **getCharactersCharacterIdShip**
> CharactersCharacterIdShipGet getCharactersCharacterIdShip()
Get the current ship type, name and id
### Example
```typescript
import {
LocationApi,
Configuration
} from 'eve-esi-client-ts';
const configuration = new Configuration();
const apiInstance = new LocationApi(configuration);
let characterId: number; //The ID of the character (default to undefined)
let xCompatibilityDate: '2026-07-17'; //The compatibility date for the request. (default to undefined)
let acceptLanguage: 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'; //The language to use for the response. (optional) (default to 'en')
let ifNoneMatch: string; //The ETag of the previous request. A 304 will be returned if this matches the current ETag. (optional) (default to undefined)
let xTenant: string; //The tenant ID for the request. (optional) (default to 'tranquility')
let ifModifiedSince: string; //The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. (optional) (default to undefined)
const { status, data } = await apiInstance.getCharactersCharacterIdShip(
characterId,
xCompatibilityDate,
acceptLanguage,
ifNoneMatch,
xTenant,
ifModifiedSince
);
```
### Parameters
|Name | Type | Description | Notes|
|------------- | ------------- | ------------- | -------------|
| **characterId** | [**number**] | The ID of the character | defaults to undefined|
| **xCompatibilityDate** | [**'2026-07-17'**]**Array<'2026-07-17'>** | The compatibility date for the request. | defaults to undefined|
| **acceptLanguage** | [**'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'**]**Array<'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'>** | The language to use for the response. | (optional) defaults to 'en'|
| **ifNoneMatch** | [**string**] | The ETag of the previous request. A 304 will be returned if this matches the current ETag. | (optional) defaults to undefined|
| **xTenant** | [**string**] | The tenant ID for the request. | (optional) defaults to 'tranquility'|
| **ifModifiedSince** | [**string**] | The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date. | (optional) defaults to undefined|
### Return type
**CharactersCharacterIdShipGet**
### Authorization
[OAuth2](../README.md#OAuth2)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | OK | * Cache-Control -
* ETag -
* Last-Modified -
|
|**0** | Error | - |
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)