# EVE Frontier Item, Recipe & Tribe API

> EVE Frontier item types and variants, crafting recipes (blueprints) and tribes, as JSON over one REST API. 7 endpoints with CU costs.

Static EVE Frontier game data: item types and their variants, crafting recipes (blueprints) and tribes.

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/world
- Full API overview: https://voidwire.xyz/docs.md

## Endpoints

### GET /world/v1/world/items

List all items.

Cost: 20 CU per call.

The full curated item list for the current world: every player-relevant item (tradeable goods, modules, ores, commodities) plus deployable structure and infrastructure items. Static reference data — regenerated and republished when the game client data changes, typically far less than daily. Cache aggressively.

Response `200`: `Item[]`

- `id`: `integer` — Item type id (stable game-client identifier).
- `name`: `string` — Display name.
- `description`: `string` (optional) — Flavor/description text; may be empty.
- `mass`: `number` (optional) — Mass in kg.
- `radius`: `number` (optional) — Radius in meters.
- `volume`: `number` (optional) — Volume in m³.
- `portionSize`: `integer` (optional) — Portion size (units produced/consumed per action).
- `groupId`: `integer` — Item group id.
- `groupName`: `string` — Item group display name.
- `categoryId`: `integer` — Item category id.
- `categoryName`: `string` — Item category display name (e.g. Commodity, Module, Asteroid).
- `iconUrl`: `string` (optional) — Icon URL on the public CDN; empty when no icon is published.
- `quantityKind`: `"discrete" | "continuous"` (optional) — `continuous` items hold fractional amounts in game (floored to whole units on chain).
- `neotype`: `boolean` (optional) — Digital chemistry: items of this type carry per-item property variants, traded under composed asset ids `(variant_id << 32) | type_id`. See `v1/items/neotypes/{typeId}`.

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

### GET /world/v1/world/items/{asset_id}

Get asset info by asset id (item type or neotype variant).

Cost: 20 CU per call.

Returns the display name and group symbol for a numeric asset id. A neotype (digital chemistry) variant key `(variant_id << 32) | type_id` is decomposed into `type_id` + `variant_id` and resolved through its base type, with the name composed as `<base> #<variant>`. The items list is cached for 1 hour.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `asset_id` | path | yes | `string` | Numeric asset id: a plain item type id (e.g. 88561) or a neotype variant key (e.g. 1885490740881 = Inkstone 97937, variant 439) |

Response `200`: `AssetInfo`

- `asset_id`: `string` — The requested asset id (a u64), as a decimal string. For a neotype variant this is the composed key `(variant_id << 32) | type_id`.
- `name`: `string` — Item display name, or null when unknown. A neotype variant reads `<base name> #<variant_id>`.
- `symbol`: `string` — The item's group name, or null when the item has no group.
- `type_id`: `string` — Base item type id (the low 32 bits of `asset_id`). Equals `asset_id` for a plain item.
- `variant_id`: `string` — Neotype (digital chemistry) variant id (the high 32 bits of `asset_id`), or null for a plain item.
- `base_name`: `string` — The base type's display name, without the variant suffix.

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

### GET /world/v1/world/items/{type_id}/variants

List an item type’s variants by supply in storage.

Cost: 30 CU per call.

Every key of a base item type (the plain item and each neotype variant) that has units in a live storage unit, ranked by total supply (default) or by how many storage units hold it. Supply counts every SSU inventory, including the open storage that holds warehouse-receipt deposits; destroyed and unanchored storage units are excluded. From a snapshot rebuilt every 5 minutes.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `type_id` | path | yes | `string` | Base item type id (e.g. 97937). A full variant key resolves to its base type. |
| `sort` | query | no | `"supply" \| "storage_units"` | Ranking: `supply` (default) or `storage_units`. |
| `tenant` | query | no | `string` | World to count, e.g. `stillness`. Omitted: the sum over every world. |
| `limit` | query | no | `string` | Max keys (default 50, max 200). |
| `before` | query | no | `string` | Cursor from `next_cursor`: the next keys down the ranking. |
| `after` | query | no | `string` | Cursor from `prev_cursor`: the keys ranked above a page. |
| `min_checkpoint` | query | no | `string` | Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later. |

Response `200`: `ItemVariantsResponse`

- `supply`: `string` — Units across all of the type’s keys, as a decimal string.
- `variant_count`: `integer` — Keys (plain item + variants) with units in storage.
- `as_of_ms`: `integer` — When the supply snapshot was built (ms). It is rebuilt every few minutes.
- `type_id`: `string` — Base type id.
- `name`: `string` — Base type name, or null when not in the items list.
- `variants`: `ItemVariantSupply[]` — Keys of this type in the requested order.
- `next_cursor`: `string` — Pass as `?before=` for the next keys down the ranking. Null at the end.
- `prev_cursor`: `string` — Pass as `?after=` for the keys ranked above this page. Null when the page is empty.

```sh
curl "https://api.voidwire.xyz/world/v1/world/items/<type_id>/variants" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /world/v1/world/items/search

Search item types by name.

Cost: 50 CU per call.

Search tradeable item types by partial, case-insensitive name (or exact numeric type ID). Returns display metadata, mass, and crafting recipes for each match, best matches first (exact ID, exact name, name prefix, then name substring). Item data comes from the hourly refreshed game-data list. With `variants=true`, each match also carries its supply in live storage units and its top variants (neotype keys), ranked by `variant_sort`, from a snapshot rebuilt every 5 minutes.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `q` | query | yes | `string` | Search term: a partial item name, or an exact type ID. |
| `limit` | query | no | `string` | Maximum results (default 20, max 50). |
| `variants` | query | no | `boolean` | Include `supply` and `variants` (keys with units in storage) on each match. Default false. |
| `variant_sort` | query | no | `"supply" \| "storage_units"` | Variant order: `supply` (most units in storage, default) or `storage_units` (held in the most storage units). |
| `variant_limit` | query | no | `string` | Variants per match (default 5, max 50). |
| `tenant` | query | no | `string` | World to count supply in, e.g. `stillness`. Omitted: every world. |
| `min_checkpoint` | query | no | `string` | Serve data that includes at least this indexer checkpoint (e.g. the checkpoint of your transaction). A cached copy older than this is rebuilt. Every response carries `X-Indexer-Checkpoint`: the checkpoint it includes. If the indexer has not reached this checkpoint yet, the response waits briefly, then returns current data with a lower checkpoint header — retry later. |

Response `200`: `AssetSearchResponse`

- `data`: `AssetSearchResult[]` — Item types matching the search term, best matches first (exact ID, exact name, name prefix, then name substring).

```sh
curl "https://api.voidwire.xyz/world/v1/world/items/search?q=<q>" \
  -H "x-api-key: $VOIDWIRE_KEY"
```

### GET /world/v1/world/recipes

List all crafting recipes (blueprints).

Cost: 20 CU per call.

Every known crafting recipe, as blueprints decoded from the game client: each one consumes one or more inputs and yields one or more outputs (refining often yields several). `kind` says what the blueprint does: `manufacture`, `refine`, `construct` (construction-site structures, which have a null `blueprintId` and no facilities) or `reverse` (the backward half of a production loop, such as unpacking). An item can be produced by several blueprints. To estimate an item's price from its recipe, use only `manufacture`, `refine` and `construct` blueprints, and skip any with a non-null `blueprintId` but no `facilities` (no player can run those). Static reference data — regenerated and republished when the client data changes. Cache aggressively.

Response `200`: `Blueprint[]`

- `blueprintId`: `integer` — Game-client id of the recipe: a digital chemistry recipe id when `source` is `recipe`, an industry blueprint id when `source` is `industry`; null for `construct` entries.
- `source`: `"recipe" | "industry" | "construct"` (optional) — `recipe`: a digital chemistry recipe (cycle 7 on; nearly all crafting). `industry`: a legacy industry blueprint (a few remain, none runnable). `construct`: a construction-site structure.
- `name`: `string` (optional) — Recipe name (`recipe` entries only).
- `primaryTypeId`: `integer` — The item the blueprint is keyed by: its main output for `manufacture`/`construct`, the ore or salvage consumed for `refine`.
- `kind`: `"manufacture" | "refine" | "construct" | "reverse"` — `manufacture`: build an item from parts. `refine`: refine or reprocess ore, crude matter or salvage, often into several outputs. `construct`: a construction-site structure (null `blueprintId`, no facilities). `reverse`: the backward half of a production loop (unpacking, D2 Fuel → Salt); do not price items from these.
- `runTime`: `integer` — Run time in seconds (raw game-client value); -1 when unknown.
- `inputs`: `BlueprintItem[]` — Items consumed per run.
- `outputs`: `BlueprintItem[]` — Items produced per run. More than one for most `refine` blueprints and a few `manufacture` ones.
- `facilities`: `BlueprintFacility[]` — Facilities that can run the blueprint. Empty for `construct` entries, and for the few industry blueprints no facility can run.

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

### GET /world/v1/world/recipes/{item_id}

Get the recipes (blueprints) for one item.

Cost: 20 CU per call.

Every blueprint that touches the given item: `producedBy` lists the blueprints with the item among their outputs (its recipes), and `usedIn` lists the blueprints that consume it as an input. Both lists include every `kind`, `reverse` among them; filter on `kind` as needed.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `item_id` | path | yes | `integer` | Item type id (the item-list `id`). |

Response `200`: `ItemBlueprints`

- `typeId`: `integer` — The item's type id.
- `name`: `string` — The item's display name.
- `producedBy`: `Blueprint[]` — Blueprints with this item among their outputs (its recipes). Empty when nothing produces it, including a listed item whose recipes left the game.
- `usedIn`: `Blueprint[]` — Blueprints that take this item type as an input. Empty when nothing consumes it. A trait-only input slot is listed under none of its candidates.

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

### GET /world/v1/world/tribes/{tribe_id}

Get a tribe by numeric ID.

Cost: 20 CU per call.

Returns tribe metadata (name, short name, tax rate, …) for the given numeric tribe ID. Tribes are game-world factions distinct from on-chain organizations.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `tribe_id` | path | yes | `integer` | Numeric tribe ID. |

Response `200`: `TribeResponse`

- `tribe_id`: `integer` — Numeric tribe ID.
- `name`: `string` — Full tribe name.
- `name_short`: `string` — Short tribe name / ticker.
- `description`: `string` — Tribe description.
- `tax_rate`: `number` — The tribe's tax rate.
- `tribe_url`: `string` — URL of the tribe's public page.

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