# EVE Frontier Organization API

> EVE Frontier organizations with their full unit trees, the discovery directory, governance proposals and player memberships. 5 endpoints with CU costs.

Armature organizations: batch lookup, the discovery directory, an organization with its unit tree, its governance proposals, and the organizations a player belongs to.

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

## Endpoints

### GET /orgs/v1/orgs

Batch-get organizations by ID.

Cost: 50 CU per call.

Same as `GET /v1/orgs/{org_id}` but accepts up to 200 IDs at once via the `ids` query parameter. Returns one entry per requested ID, in request order; IDs that do not resolve return an entry with null fields and `metadata.error_reason = "unresolved"`. Results are cached per organization for 5 minutes.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `ids` | query | yes | `string[]` | Comma-separated organization object IDs (max 200). |
| `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`: `OrgResponse[]`

- `org_id`: `string` — Object ID of the organization.
- `charter_id`: `string` — Object ID of the organization's charter (name and metadata). Null when the organization could not be resolved.
- `treasury_id`: `string` — Object ID of the organization's treasury vault — the target for deposits to this organization. Null when unresolved.
- `capability_vault_id`: `string` — Object ID of the organization's capability vault, which holds the control capabilities required for officer actions. Null when not yet recorded.
- `emergency_freeze_id`: `string` — Object ID of the organization's emergency-freeze object. Null when unresolved.
- `name`: `string` — Human-readable organization name. Null when unresolved.
- `metadata_uri`: `string` — URI of the organization's metadata document. Null when unresolved. Prefer the expanded `metadata` field over fetching this yourself.
- `metadata`: `OrgMetadata` — Expanded metadata (icon, description) resolved from `metadata_uri`, or an object carrying `error_reason` when it could not be resolved.
- `members`: `string[]` — Wallet addresses of the current governance members of this organization unit (empty for governance models without a member board).
- `ous`: `OrgResponse[]` — Child organizational units (e.g. officer and member tiers). Each entry has this same shape and may itself contain `ous`, forming the full organization tree.
- `actors`: `object` (optional) — Member addresses across the whole tree resolved to character names, keyed by address. Present on the top-level organization only; addresses that did not resolve to a character are omitted.
- `trading_account_id`: `string` — Object ID of the organization's trading trading account. Null when the organization has no trading account set up.
- `subdao_control_cap_id`: `string` — Object ID of the control capability on the parent organization that points to this unit. Null for a top-level organization.

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

### GET /orgs/v1/orgs/{org_id}

Get an organization and its full unit tree.

Cost: 30 CU per call.

Resolves an organization object ID to the full organization: name, metadata, treasury and related object IDs, current members, and the complete tree of child units (`ous`). The ID may be the top-level organization or any unit within its tree — the top-level organization is always returned. Results are cached for up to 5 minutes, dropped as soon as the indexer reports a change.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `org_id` | path | yes | `string` | Object ID of the organization — the root organization or any unit within its tree. |
| `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`: `OrgResponse`

- `org_id`: `string` — Object ID of the organization.
- `charter_id`: `string` — Object ID of the organization's charter (name and metadata). Null when the organization could not be resolved.
- `treasury_id`: `string` — Object ID of the organization's treasury vault — the target for deposits to this organization. Null when unresolved.
- `capability_vault_id`: `string` — Object ID of the organization's capability vault, which holds the control capabilities required for officer actions. Null when not yet recorded.
- `emergency_freeze_id`: `string` — Object ID of the organization's emergency-freeze object. Null when unresolved.
- `name`: `string` — Human-readable organization name. Null when unresolved.
- `metadata_uri`: `string` — URI of the organization's metadata document. Null when unresolved. Prefer the expanded `metadata` field over fetching this yourself.
- `metadata`: `OrgMetadata` — Expanded metadata (icon, description) resolved from `metadata_uri`, or an object carrying `error_reason` when it could not be resolved.
- `members`: `string[]` — Wallet addresses of the current governance members of this organization unit (empty for governance models without a member board).
- `ous`: `OrgResponse[]` — Child organizational units (e.g. officer and member tiers). Each entry has this same shape and may itself contain `ous`, forming the full organization tree.
- `actors`: `object` (optional) — Member addresses across the whole tree resolved to character names, keyed by address. Present on the top-level organization only; addresses that did not resolve to a character are omitted.
- `trading_account_id`: `string` — Object ID of the organization's trading trading account. Null when the organization has no trading account set up.
- `subdao_control_cap_id`: `string` — Object ID of the control capability on the parent organization that points to this unit. Null for a top-level organization.

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

### GET /orgs/v1/orgs/{org_id}/proposals

List an organization's proposals.

Cost: 30 CU per call.

Returns every governance proposal of the organization, newest first: identity, creation time, lifecycle status, vote tallies, the off-chain metadata IPFS CID, the governance config the proposal was created under (still available after the on-chain proposal is deleted on execution or expiry), and — for composite proposals — the ordered step list. Snapshot weights are not included; read those from the live on-chain object while the proposal exists.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `org_id` | path | yes | `string` | Object ID of the organization. |

Response `200`: `ProposalResponse[]`

- `proposal_id`: `string` — Object ID of the proposal.
- `org_id`: `string` — Object ID of the organization the proposal belongs to.
- `type_key`: `string` — Proposal type key (e.g. `Composite`), or null when unknown.
- `proposer`: `string` — Address that created the proposal, or null when unknown.
- `status`: `"pending" | "passed" | "executed" | "expired"` — Lifecycle status of the proposal. `pending` includes proposals whose voting window has lapsed but that have not yet been finalized.
- `yes_weight`: `number` — Total voting weight cast in favor.
- `no_weight`: `number` — Total voting weight cast against.
- `payload_type`: `string` — Fully-qualified on-chain payload type of the proposal, or null when it could not be decoded.
- `frame_id`: `string` — Object ID of a composite proposal's shared frame. Null for every other proposal type.
- `created_checkpoint`: `integer` — Checkpoint sequence number at which the proposal was first observed (approximately its creation). Note: a checkpoint number, not a timestamp.
- `metadata_ipfs`: `string` — IPFS CID of the proposal's off-chain metadata, as recorded when the proposal was created, or null when none was set.
- `config`: `ProposalConfigResponse` — Governance config the proposal was created under: its type slot's config as of the creation event. Stays available after the on-chain proposal is deleted on execution or expiry. Null when the slot had been removed at creation or no slot history is indexed for it.
- `created_ms`: `integer` — Creation time of the proposal (Unix epoch milliseconds): the timestamp of the checkpoint holding its creation event. Null when the creation event is not indexed.
- `payload_bcs`: `string (byte)` — BCS bytes (base64) of the proposal's payload, recorded when it was created. Decode against `payload_type`. Stays available after the on-chain proposal is deleted on execution or expiry, so it is the record of what an executed proposal did. Null when not indexed.
- `executor`: `string` — Address that executed the proposal, or null when not executed.
- `executed_ms`: `integer` — Execution time of the proposal (Unix epoch milliseconds): the timestamp of the checkpoint holding its execution event. Null when not executed.
- `composite`: `ProposalCompositeStep[]` (optional) — Ordered steps of a composite proposal; omitted for every other proposal type.

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

### GET /orgs/v1/orgs/directory

List organizations for the discovery directory.

Cost: 50 CU per call.

Returns top-level organizations (never their internal units) for a "discover organizations" listing. Each entry carries a member count as a size hint plus an icon and description when the organization has configured them. Sorted by member count (largest first) by default; pass `sort=name` for alphabetical. Paginate with `limit` and the returned `next_cursor`.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `limit` | query | no | `integer` | Maximum number of organizations to return (1–50). |
| `cursor` | query | no | `string` | Opaque cursor from a previous response’s `next_cursor`. Omit for the first page. |
| `sort` | query | no | `"members" \| "name"` | Sort order: `members` (member count, largest first — the default) or `name` (alphabetical). |

Response `200`: `OrgDirectoryEntryPage`

- `data`: `OrgDirectoryEntry[]` — One page of results, in the requested order.
- `next_cursor`: `string` — Opaque cursor for the next page. Pass it back as the `cursor` query parameter to continue; `null` when there are no further results.

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

### GET /orgs/v1/players/{address}/orgs

List the organizations a player belongs to.

Cost: 30 CU per call.

Returns every organization the address is a current governance member of, each resolved to its full unit tree. One entry per distinct top-level organization — inspect each tree’s per-unit `members` to see exactly where the address sits. Trees are cached for up to 5 minutes, dropped as soon as the indexer reports a change.

| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
| `address` | path | yes | `string` | Player wallet address. |
| `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`: `OrgResponse[]`

- `org_id`: `string` — Object ID of the organization.
- `charter_id`: `string` — Object ID of the organization's charter (name and metadata). Null when the organization could not be resolved.
- `treasury_id`: `string` — Object ID of the organization's treasury vault — the target for deposits to this organization. Null when unresolved.
- `capability_vault_id`: `string` — Object ID of the organization's capability vault, which holds the control capabilities required for officer actions. Null when not yet recorded.
- `emergency_freeze_id`: `string` — Object ID of the organization's emergency-freeze object. Null when unresolved.
- `name`: `string` — Human-readable organization name. Null when unresolved.
- `metadata_uri`: `string` — URI of the organization's metadata document. Null when unresolved. Prefer the expanded `metadata` field over fetching this yourself.
- `metadata`: `OrgMetadata` — Expanded metadata (icon, description) resolved from `metadata_uri`, or an object carrying `error_reason` when it could not be resolved.
- `members`: `string[]` — Wallet addresses of the current governance members of this organization unit (empty for governance models without a member board).
- `ous`: `OrgResponse[]` — Child organizational units (e.g. officer and member tiers). Each entry has this same shape and may itself contain `ous`, forming the full organization tree.
- `actors`: `object` (optional) — Member addresses across the whole tree resolved to character names, keyed by address. Present on the top-level organization only; addresses that did not resolve to a character are omitted.
- `trading_account_id`: `string` — Object ID of the organization's trading trading account. Null when the organization has no trading account set up.
- `subdao_control_cap_id`: `string` — Object ID of the control capability on the parent organization that points to this unit. Null for a top-level organization.

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