<!-- source: https://secondlayer.tools/docs/api-reference#get-instance -->

## Local instance catalog

`GET /v1/instance` (self-hosted instances only)

What this instance is and holds: its mode and network, the feature manifest, the history it claims, and the subgraphs and webhooks deployed on it. No signup or pricing, ever.

### Returns

One `InstanceCatalog` object.

### Responses

- `200` The catalog. If the database is unreachable, lists come back empty rather than failing.
- `400` A parameter, filter, cursor or body field was refused; `code` says which
- `401` This bind requires the instance token, and it was missing or wrong

### Example

```bash
curl http://127.0.0.1:3800/v1/instance
```

```json
{
  "mode": "oss",
  "network": "mainnet",
  "instance_id": "0b6f1c9e-4a52-4f0e-9d8a-2c1e7b3d5a90",
  "features": {
    "index": true,
    "subgraphs": true,
    "webhooks": true
  },
  "scope": {
    "network": "mainnet",
    "start_height": 8650000,
    "target_height": null,
    "bootstrap": {
      "source": "archive",
      "manifest_digest": "d1db4af398e9a0418095a48beef1c6c595070df3398f92ef16ef0fdb10daed1b",
      "genesis_hash": null
    }
  },
  "subgraphs": [
    {
      "name": "fastpool-signers",
      "status": "active",
      "start_block": 8665568,
      "last_processed_block": 9048707
    }
  ],
  "webhooks": [
    {
      "name": "pox5-stakes",
      "status": "active",
      "kind": "chain"
    }
  ],
  "console": {
    "signup": false,
    "pricing": false,
    "publicDirectory": false
  }
}
```
