---
title: "GET /onthemarket/agent-listings"
method: GET
path: "/onthemarket/agent-listings"
tags: ["OnTheMarket"]
---

# GET /onthemarket/agent-listings

`GET /onthemarket/agent-listings`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/onthemarket/agent-listings`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `slug` string, required
- `search_type` 'for-sale' | 'to-rent', required
- `page` integer
- `under_offer` boolean, nullable
- `let_agreed` boolean, nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The agent branch slug is unknown. This response is not billable.
- `422`: A public parameter is missing or invalid. This response is not billable.
- `503`: The upstream source is temporarily unavailable or returned an unexpected shape. This response is not billable and can be retried.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
