---
title: "SpareRoom API: Listing | Perceptlayer"
description: "Listing from SpareRoom as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/spareroom/listing
---

[APIs](https://perceptlayer.com/apis) / [SpareRoom](https://perceptlayer.com/apis/spareroom) / Listing

# SpareRoom: Listing

Listing from SpareRoom as JSON. 1 credit per successful call.

GET `/v1/spareroom/listing`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Any |
| `ad_type` | string | Optional | offered, wanted |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/spareroom/listing" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/spareroom?try=listing#playground) with your own parameters. 1 credit per successful call; failed calls are free.
