# EVE Frontier Character API

> Look up EVE Frontier characters by object ID, wallet address or name, batch-resolve addresses and list players. 5 endpoints with CU costs.

EVE Frontier characters and players: look up by object id, wallet address or name, batch-resolve addresses, and list players.

Part of the Voidwire API. Voidwire is a metered REST API for EVE Frontier data: markets, characters, tribes, hauling and the star map.

- Base URL: `https://api.voidwire.xyz`
- Authentication: `x-api-key` header (create keys at https://voidwire.xyz)
- HTML version: https://voidwire.xyz/docs/characters
- Full API overview: https://voidwire.xyz/docs.md

## Endpoints

### GET /characters/v1/characters/{object_id}

Get a character by object ID.

Cost: 20 CU per call.

Returns the character with the given object ID. Set `enrich=true` to also include the on-chain `owner_cap_id` and `assembly_id` fields.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `object_id` | path | yes | `string` | Object ID of the character. |
| `enrich` | query | no | `boolean` | When true, include the on-chain `owner_cap_id` and `assembly_id` fields in each result. |

Response `200`: `CharacterResponse`

- `object_id`: `string` — Object ID of the character.
- `item_id`: `string` — Numeric in-game item ID of the character.
- `tenant`: `string` — Tenant (game world) the character belongs to.
- `tribe_id`: `number` — Numeric tribe ID the character belongs to, or null when the character has no tribe.
- `address`: `string` — Wallet address that owns the character.
- `name`: `string` — Character name.
- `description`: `string` — Character description.
- `url`: `string` — URL of the character's portrait image.
- `checkpoint_at`: `integer (int64)` — When the character record was last updated. Unix epoch milliseconds.
- `owner_cap_id`: `string` (optional) — Object ID of the character's owner capability. Present only when the request sets `enrich=true`.
- `assembly_id`: `string` (optional) — Object ID of the character's assembly. Present only when the request sets `enrich=true`.

```sh
curl "https://api.voidwire.xyz/characters/v1/characters/<object_id>" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /characters/v1/characters/address/{address}

List characters by wallet address.

Cost: 20 CU per call.

Returns every character associated with the given wallet address, newest-created first (ties broken by higher `item_id`). A wallet can own several characters in one world; the first row for a tenant is the wallet's current character. Set `enrich=true` to also include the on-chain `owner_cap_id` and `assembly_id` fields.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `address` | path | yes | `string` | Wallet address associated with the character. |
| `enrich` | query | no | `boolean` | When true, include the on-chain `owner_cap_id` and `assembly_id` fields in each result. |

Response `200`: `CharacterResponse[]`

- `object_id`: `string` — Object ID of the character.
- `item_id`: `string` — Numeric in-game item ID of the character.
- `tenant`: `string` — Tenant (game world) the character belongs to.
- `tribe_id`: `number` — Numeric tribe ID the character belongs to, or null when the character has no tribe.
- `address`: `string` — Wallet address that owns the character.
- `name`: `string` — Character name.
- `description`: `string` — Character description.
- `url`: `string` — URL of the character's portrait image.
- `checkpoint_at`: `integer (int64)` — When the character record was last updated. Unix epoch milliseconds.
- `owner_cap_id`: `string` (optional) — Object ID of the character's owner capability. Present only when the request sets `enrich=true`.
- `assembly_id`: `string` (optional) — Object ID of the character's assembly. Present only when the request sets `enrich=true`.

```sh
curl "https://api.voidwire.xyz/characters/v1/characters/address/<address>" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /characters/v1/characters/batch

Batch-resolve player addresses to characters.

Cost: 50 CU per call.

Resolves up to 500 player wallet addresses to their characters in one request. Each result echoes the queried `address` so responses can be mapped back regardless of order; unresolved addresses return null character fields.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `addresses` | query | yes | `string[]` | Comma-separated list of player wallet addresses to resolve. At least 1 and at most 500 addresses per request. |

Response `200`: `CharacterBatchResult[]`

- `address`: `string` — The queried player address, echoed back.
- `object_id`: `string` — Object ID of the resolved character, or null when the address did not resolve to a character.
- `character_address`: `string` — The resolved character's own wallet address, or null when unresolved.
- `name`: `string` — Character name, or null when unresolved.
- `tribe_id`: `number` — Numeric tribe ID, or null when unresolved.
- `tribe_name`: `string` — Human-readable tribe name. Null when the character has no tribe or the name could not be resolved.

```sh
curl "https://api.voidwire.xyz/characters/v1/characters/batch?addresses=<addresses>" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /characters/v1/characters/name/{name}

List characters by exact name.

Cost: 20 CU per call.

Returns every character whose name exactly matches the given value, newest first.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `name` | path | yes | `string` | Exact character name. |

Response `200`: `CharacterResponse[]`

- `object_id`: `string` — Object ID of the character.
- `item_id`: `string` — Numeric in-game item ID of the character.
- `tenant`: `string` — Tenant (game world) the character belongs to.
- `tribe_id`: `number` — Numeric tribe ID the character belongs to, or null when the character has no tribe.
- `address`: `string` — Wallet address that owns the character.
- `name`: `string` — Character name.
- `description`: `string` — Character description.
- `url`: `string` — URL of the character's portrait image.
- `checkpoint_at`: `integer (int64)` — When the character record was last updated. Unix epoch milliseconds.
- `owner_cap_id`: `string` (optional) — Object ID of the character's owner capability. Present only when the request sets `enrich=true`.
- `assembly_id`: `string` (optional) — Object ID of the character's assembly. Present only when the request sets `enrich=true`.

```sh
curl "https://api.voidwire.xyz/characters/v1/characters/name/<name>" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /characters/v1/players

List players.

Cost: 50 CU per call.

Every player (wallet) with a character, in address order, each with its current character — the newest created. Pass `tenant` to list only one world. Page with `limit` (up to 1000) and `cursor`.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `tenant` | query | no | `string` | Only players with a character on this tenant (world). |
| `limit` | query | no | `integer` | Maximum number of players to return (1–1000). |
| `cursor` | query | no | `string` | Opaque cursor from a previous response’s `next_cursor`. Omit for the first page. |

Response `200`: `PlayerPage`

- `data`: `PlayerResponse[]`
- `next_cursor`: `string` — Opaque cursor for the next page — pass it back as `cursor`; null on the last page.

```sh
curl "https://api.voidwire.xyz/characters/v1/players" \
  -H "x-api-key: $VOIDWIRE_KEY"
```
