# Robertsspaceindustries — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Access Roberts Space Industries (RSI) data including Pledge Store ships and manufacturers, crowdfunding statistics, and Spectrum community messages.

**Category:** Entertainment | **Website:** [robertsspaceindustries.com/](https://robertsspaceindustries.com/) | **Docs:** [parse.bot/marketplace/33d4e7da-d739-4b6e-a078-e7d1cda2bc56/robertsspaceindustries-com-api](https://parse.bot/marketplace/33d4e7da-d739-4b6e-a078-e7d1cda2bc56/robertsspaceindustries-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_crowdfund_stats

Fetch current crowdfunding statistics including total funds raised (in cents), number of backers (fans), fleet data, alpha slots remaining, and a chart of daily gross contributions for the last 7 days. No parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/get_crowdfund_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_motd

Get the Message of the Day (MOTD) from the Spectrum community lobby. Returns the current message text and a Unix timestamp of when it was last modified. No parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/get_motd \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_ship_detail

Fetch detailed information about a specific ship including its manufacturer and available paints. The slug identifier can be obtained from the get_ships endpoint. Slugs are opaque alphanumeric identifiers (not human-readable names).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The ship's slug identifier, obtained from the get_ships endpoint (e.g. 'jhr09qzpxcd6k'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/get_ship_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_ship_manufacturers

Get all ship manufacturers available in the Pledge Store. Returns an array of manufacturer objects with id and name. No parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/get_ship_manufacturers \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_ships

Fetch a list of ships currently available for sale in the Pledge Store. Returns up to 100 ships sorted by name ascending, along with the total count. Each ship has id, name, slug, msrp (integer in cents), purchasable (boolean), and productionStatus (string). No parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-robertsspaceindustries-com-api-33d4e7da/get_ships \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```
