---
title: "Character affiliation"
method: POST
path: "/characters/affiliation"
tags: ["Character"]
---

# Character affiliation

`POST /characters/affiliation`

## Request

- Base URL: `https://esi.evetech.net`
- URL: `https://esi.evetech.net/characters/affiliation`
- Auth: none declared. Required headers: `X-Compatibility-Date`
- TypeScript: <https://skmtc.dev/evemonk/apis/eve-stable-infrastructure-esi-tranquility/docs/characters/affiliation/post.ts> (a function with typed inputs; its response is checked against the schema)

Bulk lookup of character IDs to corporation, alliance and faction

## 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

## Request body

- integer[]

## Response `200`

OK

- object[]
  - `alliance_id` integer: The character's alliance ID, if their corporation is in an alliance
  - `character_id` integer, required: The character's ID
  - `corporation_id` integer, required: The character's corporation ID
  - `faction_id` integer: The character's faction ID, if their corporation is in a faction

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/evemonk/apis/eve-stable-infrastructure-esi-tranquility.md) - [All operations](https://skmtc.dev/evemonk/apis/eve-stable-infrastructure-esi-tranquility/llms.txt) - [OpenAPI document](https://skmtc.dev/evemonk/apis/eve-stable-infrastructure-esi-tranquility/revisions/7bad2f0024dd?raw)
