Skip to content
Scrappa Get API key
SS.lv API 1 credit/request

SS.lv Agencies API Documentation

GET https://scrappa.co/api/ss-lv/agencies

SS.lv Agencies API: Lists the broker service ads of SS.lv, 30 per page. Each item has the ad title, the city, the company label and the url to pass to the agency route. The site is in Latvian: text such as titles, descriptions and series stays Latvian or Russian, field names are English. Bedrooms and bathrooms do not exist on SS.lv, only rooms.

SS.lv Agencies API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/ss-lv/agencies
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "57682475",
                "url": "https://www.ss.lv/msg/lv/real-estate/brokers-services/bggllh.html",
                "area": null,
                "code": "bggllh",
                "size": null,
                "floor": null,
                "price": null,
                "rooms": null,
                "title": "P\u0101rdodiet vai Iznom\u0101jiet savu \u012apa\u0161umu dro\u0161i un izdev\u012bgi. Mekl\u0113jat profesion\u0101lu nekustam\u0101",
                "series": null,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

1 optional filter available.

page integer Optional

One-based page number, 1 to 1000 (default 1).

Example value 1

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "id": "57682475",
                "url": "https://www.ss.lv/msg/lv/real-estate/brokers-services/bggllh.html",
                "area": null,
                "code": "bggllh",
                "size": null,
                "floor": null,
                "price": null,
                "rooms": null,
                "title": "P\u0101rdodiet vai Iznom\u0101jiet savu \u012apa\u0161umu dro\u0161i un izdev\u012bgi. Mekl\u0113jat profesion\u0101lu nekustam\u0101",
                "series": null,
                "company": "Agency",
                "currency": null,
                "location": {
                    "region": null,
                    "address": null,
                    "district": null,
                    "region_name": "R\u012bga",
                    "district_name": null
                },
                "area_unit": "m2",
                "land_area": null,
                "thumbnail": "https://i.ss.lv/gallery/8/1500/374952/74990326.th2.jpg",
                "price_text": "-",
                "floors_total": null,
                "listing_type": null,
                "price_period": null,
                "category_path": null,
                "price_per_sqm": null
            },
            {
                "id": "57407011",
                "url": "https://www.ss.lv/msg/lv/real-estate/brokers-services/dnifj.html",
                "area": null,
                "code": "dnifj",
                "size": null,
                "floor": null,
                "price": null,
                "rooms": null,
                "title": "P\u0101rdosim j\u016bsu \u012bpa\u0161umu izdev\u012bgi. Samaksa tikai p\u0113c naudas sa\u0146em\u0161anas. Alento Real Estate",
                "series": null,
                "company": "Alento real estate",
                "currency": null,
                "location": {
                    "region": null,
                    "address": null,
                    "district": null,
                    "region_name": "R\u012bga",
                    "district_name": null
                },
                "area_unit": "m2",
                "land_area": null,
                "thumbnail": "https://i.ss.lv/gallery/8/1549/387063/77412484.th2.jpg",
                "price_text": "-",
                "floors_total": null,
                "listing_type": null,
                "price_period": null,
                "category_path": null,
                "price_per_sqm": null
            }
        ],
        "notices": [],
        "pagination": {
            "page": 1,
            "has_more": true,
            "per_page": 5,
            "source_page": 1,
            "total_pages": 14,
            "filtered_from": 5
        },
        "applied_filters": []
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agencies"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing, unknown or not supported, or the location has no list. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "agencies"
    },
    "error": {
        "code": "VALIDATION_ERROR",
        "message": "region is required. Use one of: riga, jurmala, riga-region."
    },
    "success": false
}
503

Upstream Unavailable

SS.lv could not be reached or returned a page that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "agencies"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "SS.lv could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.