---
lang: en
title: 'API docs: rest.restserverresolvedoptions.basepath'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.restserverresolvedoptions.basepath.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestServerResolvedOptions](./rest.restserverresolvedoptions.md) &gt; [basePath](./rest.restserverresolvedoptions.basepath.md)

## RestServerResolvedOptions.basePath property

Base path for API/static routes

**Signature:**

```typescript
basePath?: string;
```

