API

Star Citizen Wiki API

The Star Citizen Wiki API serves as an interface between different Star Citizen services and the Star Citizen Wiki itself.

Star Citizen

Endpoints related to Star Citizen

Funding, Fleet and Fan statistics.

Star Citizen vehicle manufacturers.

Star Citizen ships. Star Citizen vehicles.

Ships

Ground Vehicles

Starsystems and celestial objects from the RSI Starmap.

Starsystems

Galactapedia

Galactapedia articles

Shops

Items

FPS Weapons

Armor

Clothing

Vehicles

Coolers
Shields
Quantum Drives
Power Plants

Roberts Space Industries

Endpoints related to the RSI Website

Parsed Comm-Links

Comm-Link search. Comm-Links by title or reverse search by image.

Global request options

Information about global request options

API Key

An API Key can be obtained by registering on the german Star Citizen Wiki and logging into the API.
The key should be send in the Authorization header, e.g.: Authorization Bearer: KEY.

Pagination

Many responses are paginated. A paginated response contains a pagination-key in the metadata.
Example:

{
  "data": [],
  "meta": {
    "pagination": {
      "total": 2847,
      "count": 1,
      "per_page": 1,
      "current_page": 1,
      "total_pages": 2847,
      "links": {
        "previous": "PREV_PAGE",
        "next": "NEXT_PAGE"
      }
    }
  }
}

Pagination can be disabled by requesting an endpoint with the limit parameter set to 0.

Relations

Some endpoints contain relations that include additional data.
Available includes are listed under valid_relations in the metadata field.
Example:

{
  "data": [],
  "meta": {
    "valid_relations": [
      "ships",
      "vehicles"
    ]
  }
}

Relations can be included by passing the relation name in the include url parameter.
Example: https://api.star-citizen.wiki/api/manufacturers/RSI?include=ships
Multiple includes are separated by ,.

Child relations in a parent can be included by adding the child relation with a dot.
Example: https://api.star-citizen.wiki/api/starmap/starsystems/SOL?include=celestial_objects.jumppoint
This call would include all celestial objects of the starsystem and the jumppoint associated with a celestial object.

Localization

Some endpoints allow localization of the returned text.
The locale can be set by setting the locale url parameter.
Currently de_DE and en_EN are supported.