# Market routes: enter

URL: /code/api/market/verbs · Id: `page:code/api/market/verbs`

> The Market Verbs enter as api.sb routes, with inputs, result, refusals and an example.

Reference for [Market](/business/nouns/market), one group of [Market routes](/code/api/market).

### Market.enter
Enter opens a Market to a Startup: Prices in its currency, the Site in its locales, and its floor rows woken. [Verb page](/business/nouns/market/enter?interface=api).

```text
POST /{namespace}/markets/{market}/enter
```

Path: `market`. Body, as JSON: the other inputs. Emits [`Market.entered`](/business/events/Market.entered).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `startup` | [Startup](/business/nouns/startup) | Yes | The Startup that enters. |
| `market` | [Market](/business/nouns/market) | Yes | The Market to open. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `market` | [Market](/business/nouns/market) | Yes | The Market, now open to the Startup. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```bash
curl -X POST https://api.sb/leaseline.app/markets/market_4uFEzN14G4/enter \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"startup":"startup_l3hr1EnUGY"}'
```

```json
{
  "api": "https://api.sb/leaseline.app",
  "market": {
    "$id": "https://api.sb/leaseline.app/markets/market_4uFEzN14G4",
    "$type": "Market",
    "countries": [
      "Example countries"
    ],
    "currency": "USD",
    "locales": [
      "Example locales"
    ]
  },
  "action": {
    "$id": "https://api.sb/leaseline.app/actions/act_br07HsG8MG",
    "operation": "Market.enter",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/leaseline.app/actions/act_br07HsG8MG"
  }
}
```