# List marketplaces

> The marketplaces that are open now, with what each one takes. A closed marketplace is left out, and its listings are not found or changed until it opens.


`GET https://dev.siteswap.pro/api/v1/marketplaces`

The marketplaces that are open now, with what each one takes. A closed marketplace is left out, and its listings are not found or changed until it opens.

Needs the `listings:read` scope.

## Responses

- 200: OK
- 400: bad_request, key_in_url or invalid_json: the request could not be read
- 401: missing_key or invalid_key: no key, or a key that is not valid or was revoked
- 403: key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
- 404: not_found: nothing here that you may see
- 413: too_large: the body is over 256 KB
- 429: rate_limited or daily_quota: wait for Retry-After seconds

## Response fields

- `key` (string)
- `name` (string)
- `offers` (boolean): Takes offers through SiteSwap
- `trades` (boolean): Takes trades and counteroffers
- `kinds` (("have" | "need")[]): What can be posted

```json
{
  "data": [
    {
      "key": "materials",
      "name": "Materials",
      "offers": true,
      "trades": true,
      "kinds": [
        "have",
        "need"
      ]
    }
  ],
  "meta": {
    "request_id": "3f9a1c0b7d2e",
    "api_version": "v1"
  }
}
```

## Example

```bash
curl "https://dev.siteswap.pro/api/v1/marketplaces" \
  -H "Authorization: Bearer ssk_YOUR_KEY"
```