---
title: "Get war information"
method: GET
path: "/wars/{war_id}"
tags: ["Wars"]
---

# Get war information

`GET /wars/{war_id}`

## Request

- Base URL: `https://esi.evetech.net`
- URL: `https://esi.evetech.net/wars/{war_id}`
- Auth: none declared. Required headers: `X-Compatibility-Date`
- TypeScript: <https://skmtc.dev/evetech/apis/eve-spring-inebriation-esi-tranquility/docs/wars/:war_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Return details about a war

## Path parameters

- `war_id` integer, required: ID for a war

## Headers

- `Accept-Language` 'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'
- `If-None-Match` string
- `X-Compatibility-Date` '2025-12-16', date, required
- `X-Tenant` string
- `If-Modified-Since` string

## Response `200`

OK

- WarsWarIdGet
  - `aggressor` object, required: The aggressor corporation or alliance that declared this war, only contains either corporation_id or alliance_id
    - `alliance_id` integer: Alliance ID if and only if the aggressor is an alliance
    - `corporation_id` integer: Corporation ID if and only if the aggressor is a corporation
    - `isk_destroyed` number, double, required: ISK value of ships the aggressor has destroyed
    - `ships_killed` integer, required: The number of ships the aggressor has killed
  - `allies` object[]: allied corporations or alliances, each object contains either corporation_id or alliance_id
    - `alliance_id` integer: Alliance ID if and only if this ally is an alliance
    - `corporation_id` integer: Corporation ID if and only if this ally is a corporation
  - `declared` string, date-time, required: Time that the war was declared
  - `defender` object, required: The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id
    - `alliance_id` integer: Alliance ID if and only if the defender is an alliance
    - `corporation_id` integer: Corporation ID if and only if the defender is a corporation
    - `isk_destroyed` number, double, required: ISK value of ships the defender has killed
    - `ships_killed` integer, required: The number of ships the defender has killed
  - `finished` string, date-time: Time the war ended and shooting was no longer allowed
  - `id` integer, required: ID of the specified war
  - `mutual` boolean, required: Was the war declared mutual by both parties
  - `open_for_allies` boolean, required: Is the war currently open for allies or not
  - `retracted` string, date-time: Time the war was retracted but both sides could still shoot each other
  - `started` string, date-time: Time when the war started and both sides could shoot each other

## Other responses

- `default`: Error

## Changes

- **2026-07-27** `0b913165e49c`: 1 info
  - added the optional property `status` to the response with the `default` status

[Operation history](https://skmtc.dev/evetech/apis/eve-spring-inebriation-esi-tranquility/changes/wars/:war_id/get.md)

---

[API](https://skmtc.dev/evetech/apis/eve-spring-inebriation-esi-tranquility.md) - [All operations](https://skmtc.dev/evetech/apis/eve-spring-inebriation-esi-tranquility/llms.txt) - [OpenAPI document](https://skmtc.dev/evetech/apis/eve-spring-inebriation-esi-tranquility/revisions/110d1a0b1dfc?raw)
