Skip to content
Scrappa Get API key
Morizon API 1 credit/request

Morizon Listing Details API Documentation

GET https://scrappa.co/api/morizon/listing?id=mzn2048181511

Scrappa's GET /api/morizon/listing returns the full record of one Morizon listing.

Input

Pass id (for example mzn2048181511) or url (the /oferta/... path from search). Only Morizon listing ids and paths are accepted.

What you get

Price and price per m2, omnibus price history fields, area, rooms, floor, full address with coordinates, the description as HTML and plain text, labelled detail rows grouped into general, building, offer and development, and the values taken from them: bathrooms, build_year, total_floors, available_from, views, offer_number and fees. It also has facilities, utilities, equipment, noise level and nearby green areas, photos, plans, videos, a 3D view link, a link to similar listings and the contact block.

Private owners

When a private owner placed the listing, contact.private_owner is true. Their name, phone and profile link are never returned.

Removed listings

A listing that no longer exists returns 404 (not_found). Non-billable.

Photos

photos[].url is the public image address. Photos can be downloaded without a key.

Morizon Listing Details API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/morizon/listing?id=mzn2048181511
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "success": true,
    "listing": {
        "id": "mzn2045462366",
        "numeric_id": 1540411861,
        "url": "/oferta/sprzedaz-mieszkanie-krakow-podgorze-duchackie-bialoruska-69-46m2-mzn2045462366",
        "full_url": "https://www.morizon.pl/oferta/sprzedaz-mieszkanie-krakow-podgorze-duchackie-bialoruska-69-46m2-mzn2045462366",
        "title": "mieszkanie na sprzeda\u017c",
        "description": "Najwa\u017cniejsze atuty: szybki dojazd do centrum i autostrady A4 ...",
        "price": {
            "amount": 764796,
            "currency": "PLN",
            "formatted": "764 796 z\u0142"
        },
...

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.

2 optional filters available.

id string Optional

Listing id from search, for example mzn2048181511. Use id or url.

Example value mzn2048181511
url string Optional
Open example

Listing path from search, for example /oferta/...-mzn2048181511. Use id or url.

Example value https://example.com/product

Request Examples

PHP
<?php

$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => "https://scrappa.co/api/morizon/listing?id=mzn2048181511",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "GET",
    CURLOPT_HTTPHEADER => [
        "x-api-key: YOUR_API_KEY_HERE"
    ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #:" . $err;
} else {
    echo $response;
}
PHP
<?php

use Illuminate\Support\Facades\Http;

$response = Http::timeout(30)
    ->withHeaders(['x-api-key' => 'YOUR_API_KEY_HERE'])
    ->get('https://scrappa.co/api/morizon/listing?id=mzn2048181511');

if ($response->successful()) {
    echo $response->body();
} else {
    echo "Error: " . $response->status();
}
JavaScript
const options = {
    method: 'GET',
    headers: {
        'x-api-key': 'YOUR_API_KEY_HERE'
    }
};

fetch('https://scrappa.co/api/morizon/listing?id=mzn2048181511', options)
    .then(response => {
        if (!response.ok) {
            throw new Error(`HTTP error! status: ${response.status}`);
        }
        return response.text();
    })
    .then(data => console.log(data))
    .catch(error => console.error('Error:', error));
JavaScript
const axios = require('axios');

const options = {
    method: 'GET',
    url: 'https://scrappa.co/api/morizon/listing?id=mzn2048181511',
    headers: {
        x-api-key: 'YOUR_API_KEY_HERE',
    }
};

try {
    const response = await axios(options);
    console.log(response.data);
} catch (error) {
    console.error('Error:', error.message);
}
Ruby
require 'net/http'
require 'uri'

uri = URI.parse("https://scrappa.co/api/morizon/listing?id=mzn2048181511")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == 'https'

request = Net::HTTP::Get.new(uri.request_uri)
request['x-api-key'] = 'YOUR_API_KEY_HERE'

begin
    response = http.request(request)
    puts response.body
rescue => e
    puts "Error: #{e.message}"
end
Python
import http.client
import json

conn = http.client.HTTPSConnection("scrappa.co")

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE',
}

try:
    conn.request("GET", "/api/morizon/listing?id=mzn2048181511", headers=headers)
    res = conn.getresponse()
    data = res.read()
    print(data.decode("utf-8"))
except Exception as e:
    print(f"Error: {e}")
finally:
    conn.close()
Python
import requests

headers = {
    'x-api-key': 'YOUR_API_KEY_HERE',
}

try:
    response = requests.get('https://scrappa.co/api/morizon/listing?id=mzn2048181511', headers=headers)
    response.raise_for_status()
    print(response.text)
except requests.exceptions.RequestException as e:
    print(f"Error: {e}")
Java
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import java.io.IOException;

public class ApiExample {
    public static void main(String[] args) {
        OkHttpClient client = new OkHttpClient();

        Request request = new Request.Builder()
            .url("https://scrappa.co/api/morizon/listing?id=mzn2048181511")
        .addHeader("x-api-key", "YOUR_API_KEY_HERE")
            .build();

        try (Response response = client.newCall(request).execute()) {
            if (response.isSuccessful()) {
                System.out.println(response.body().string());
            } else {
                System.out.println("Error: " + response.code());
            }
        } catch (IOException e) {
            System.out.println("Error: " + e.getMessage());
        }
    }
}
Go
package main

import (
    "fmt"
    "net/http"
    "io/ioutil"
)

func main() {
    client := &http.Client{}
    req, err := http.NewRequest("GET", "https://scrappa.co/api/morizon/listing?id=mzn2048181511", nil)
    if err != nil {
        fmt.Println("Error creating request:", err)
        return
    }
    req.Header.Set("x-api-key", "YOUR_API_KEY_HERE")

    resp, err := client.Do(req)
    if err != nil {
        fmt.Println("Error making request:", err)
        return
    }
    defer resp.Body.Close()

    body, err := ioutil.ReadAll(resp.Body)
    if err != nil {
        fmt.Println("Error reading response:", err)
        return
    }

    fmt.Println(string(body))
}
Terminal
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/morizon/listing?id=mzn2048181511"
C#
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program
{
    static async Task Main()
    {
        using var client = new HttpClient();
        client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY_HERE");

        try
        {
            var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Get, "https://scrappa.co/api/morizon/listing?id=mzn2048181511"));
            var content = await response.Content.ReadAsStringAsync();
            Console.WriteLine(content);
        }
        catch (Exception ex)
        {
            Console.WriteLine($"Error: {ex.Message}");
        }
    }
}
TypeScript
import axios from 'axios';

async function run(): Promise<void> {
    try {
        const response = await axios({
            method: 'GET',
            url: 'https://scrappa.co/api/morizon/listing?id=mzn2048181511',
            headers: {
        'x-api-key': 'YOUR_API_KEY_HERE',
            },
        });

        console.log(response.data);
    } catch (error) {
        console.error('Error:', error);
    }
}

void run();
RUST
use reqwest::Client;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new();

    let response = client
        .get("https://scrappa.co/api/morizon/listing?id=mzn2048181511")
        .header("x-api-key", "YOUR_API_KEY_HERE")
        .send()
        .await?;

    println!("{}", response.text().await?);

    Ok(())
}

Response Schema

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

Example response fields

Scan these fields before integrating.

success listing meta
JSON Response
200 OK
{
    "success": true,
    "listing": {
        "id": "mzn2045462366",
        "numeric_id": 1540411861,
        "url": "/oferta/sprzedaz-mieszkanie-krakow-podgorze-duchackie-bialoruska-69-46m2-mzn2045462366",
        "full_url": "https://www.morizon.pl/oferta/sprzedaz-mieszkanie-krakow-podgorze-duchackie-bialoruska-69-46m2-mzn2045462366",
        "title": "mieszkanie na sprzeda\u017c",
        "description": "Najwa\u017cniejsze atuty: szybki dojazd do centrum i autostrady A4 ...",
        "price": {
            "amount": 764796,
            "currency": "PLN",
            "formatted": "764 796 z\u0142"
        },
        "price_per_m2": {
            "amount": 16300,
            "currency": "PLN",
            "formatted": "16 300 z\u0142/m\u00b2"
        },
        "omnibus": {
            "previous_sale_price": null,
            "previous_lowest_price": null
        },
        "area_m2": 46.92,
        "rooms": {
            "count": 2,
            "text": "2 pokoje"
        },
        "floor": {
            "number": 3,
            "text": "pi\u0119tro 3"
        },
        "address": {
            "country_code": null,
            "parts": [
                "Krak\u00f3w",
                "Podg\u00f3rze Duchackie"
            ],
            "street": "Bia\u0142oruska 69",
            "number": null,
            "county": null,
            "commune": null
        },
        "latitude": 50.0207,
        "longitude": 19.963,
        "added_at": "2025-04-10",
        "refreshed_at": null,
        "development": "Osiedle przy Malborskiej",
        "flags": {
            "top_promoted": false,
            "highlighted": false,
            "recommended": false,
            "has_3d_view": false,
            "has_video": false
        },
        "photos_count": 8,
        "photos": [
            {
                "url": "https://media.domy.pl/img/zdjecia/example/1/example_1.jpg",
                "alt": "Mieszkanie na sprzeda\u017c 46m2 Krak\u00f3w - zdj\u0119cie 1",
                "name": "mieszkanie-na-sprzedaz-krakow"
            }
        ],
        "plans": [],
        "contact": {
            "private_owner": false,
            "company": {
                "id": 15352,
                "name": "Example Nieruchomo\u015bci",
                "type": "AGENCY",
                "address": [
                    "Kapelanka 1A / 1",
                    "30-347 Krak\u00f3w"
                ],
                "phones": [
                    "12 311 01 88"
                ],
                "websites": [
                    "http://www.example.pl"
                ],
                "logo": null
            },
            "person": {
                "name": "Anna Example",
                "type": "AGENT",
                "phones": [
                    "+48 500 000 000"
                ],
                "profile_path": null,
                "photo": null
            },
            "comment": []
        },
        "header_title": "Mieszkanie na sprzeda\u017c Krak\u00f3w",
        "status": "ACTIVE",
        "transaction": "sale",
        "property_type": "flat",
        "market": "Rynek wt\u00f3rny",
        "reference": "8",
        "description_html": "<p>Najwa\u017cniejsze atuty ...</p>",
        "description_text": "Najwa\u017cniejsze atuty ...",
        "highlighted_parameters": [
            {
                "type": "ROOMS",
                "label": "Pokoje",
                "value": "2"
            }
        ],
        "details": {
            "general": [
                {
                    "label": "Liczba \u0142azienek",
                    "value": "1"
                }
            ],
            "building": [
                {
                    "label": "Rok budowy",
                    "value": "1968"
                }
            ],
            "offer": [
                {
                    "label": "Liczba ods\u0142on",
                    "value": "779"
                }
            ],
            "development": []
        },
        "bathrooms": 1,
        "build_year": 1968,
        "total_floors": 4,
        "available_from": "2026-10-09",
        "views": 779,
        "offer_number": "morizon-8",
        "fees": [],
        "facilities": [
            {
                "icon": "elevator",
                "label": "Winda (1)"
            }
        ],
        "utilities": [
            {
                "icon": "internet",
                "label": "Internet"
            }
        ],
        "equipments": [
            {
                "icon": "furniture",
                "label": "Meble"
            }
        ],
        "environment": {
            "noise": {
                "level": "medium",
                "label": "Umiarkowanie niski",
                "description": "Poziom ha\u0142asu"
            },
            "green_areas": [
                {
                    "type": "PARK",
                    "type_name": "Park",
                    "name": "Park Post\u0119pu",
                    "distance_m": 333,
                    "distance_text": "333 m"
                }
            ]
        },
        "videos": [],
        "view_3d_url": null,
        "similar_listings_url": "https://www.morizon.pl/mieszkania/krakow/podgorze/",
        "last_modified": "Thu, 15 Oct 2026 11:20:35 GMT"
    },
    "meta": {
        "endpoint_family": "listing",
        "billable": true,
        "attempts": 1
    }
}

Errors

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

404

Not Found

Nothing exists with that identifier on Morizon, for example a removed listing (`not_found`). Non-billable.

{
    "meta": {
        "attempts": 1,
        "billable": false,
        "retryable": false,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "not_found",
        "message": "No Morizon record exists with that identifier."
    },
    "success": false
}
422

Validation Error

A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable.

{
    "errors": {
        "type": [
            "The selected type is invalid."
        ]
    },
    "message": "The selected type is invalid."
}
503

Upstream Unavailable

Morizon could not be reached after retries, answered with an error, or returned an unexpected answer (`upstream_unavailable`, `upstream_blocked`, `parser_drift`). Retryable and never billed. Clients are never rate limited.

{
    "meta": {
        "attempts": 3,
        "billable": false,
        "retryable": true,
        "endpoint_family": "listing"
    },
    "error": {
        "code": "upstream_unavailable",
        "message": "Morizon is temporarily unavailable. Please retry."
    },
    "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.