---
title: "Loft API: Agency | Perceptlayer"
description: "Agency from Loft as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/loft/agency
---

[APIs](https://perceptlayer.com/apis) / [Loft](https://perceptlayer.com/apis/loft) / Agency

# Loft: Agency

Agency from Loft as JSON. 1 credit per successful call.

GET `/v1/loft/agency`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `id` | string | Required | Any |
| `listing_type` | string | Optional | sale, rent |
| `city` | string | Optional | Up to 80 characters |
| `property_type[]` | list of string | Optional | apartment, house, land, farm, commercial\_building, commercial\_property, commercial\_business, commercial\_hotel, commercial\_industrial, commercial\_land, standard\_apartment, penthouse, duplex, triplex, garden\_apartment, studio, conjugate, standard\_house, condominium\_house |
| `sort` | string | Optional | relevance, price\_asc, price\_desc, newest, updated |
| `per_page` | integer | Optional | Any |
| `page` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/loft/agency?id=bce29ecd-3a66-4b08-a6d4-76acf0e2effd&per_page=10" \
  -H "X-API-Key: $API_KEY"
```

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