CleanedWeb

gratka.pl

Gratka API

2 unofficial CleanedWeb APIs read gratka.pl and return JSON. Each is its own API, with its own inputs and fields.

  • 2 APIs
  • Updated

What each Gratka API returns

Each API takes its own inputs and returns records with a fixed set of fields. These are the fields each API leads with; its page lists every field, with a type and an example value.

API Required inputs Main fields
Gratka Property Details API url title, url, category.path, category.name, price.currency, product_type
Gratka Property Details API url title, environment.air_quality.description, url, related_listings.url, price.currency, price.per_area.currency

An example record

title
Domy na sprzedaż gmina Brok (pow. ostrowski)
url
https://gratka.pl/nieruchomosci/domy/gmina-brok
product_type
RealEstateListing
urls.wolnostojace
https://gratka.pl/nieruchomosci/domy/wolnostojacy/gmina-brok
urls.rynek_wtorny
https://gratka.pl/nieruchomosci/domy/gmina-brok/wtorny
One record saved from the Gratka Property Details API on Dec 1, 2026, not a live run.

Call it over REST

Every API runs with one POST request and an API key. This one calls the Gratka Property Details API for up to 25 records; the others differ only in their address and inputs.

curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_101e434f4066722fa9c86598/endpoints/generated_101e434f4066722fa9c86598_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "url": "https://gratka.pl/nieruchomosci/domy/gmina-brok"
  },
  "max_items": 25
}'

AI agents can find and run the same APIs through the CleanedWeb MCP server, in Claude, ChatGPT, Cursor and other clients.

Questions about the Gratka API

Is this the official Gratka API?

No. These are unofficial APIs built by CleanedWeb, which is not affiliated with Gratka. They read the public pages of gratka.pl, never pages behind a login, and return what those pages show as JSON.

What does it cost?

$1 per 1,000 records, paid from prepaid credit. A run that returns no records costs nothing, and the first 5,000 records are free. There is no monthly subscription.

What happens when gratka.pl changes?

Catalog APIs are checked once a day. When one keeps failing, it is rebuilt from the site as it is now and swapped in only after it passes the same checks, with the same API ID and URL.

Can I get Gratka data these APIs do not cover?

Request it below: name the page and the records you need, and we email you when the API is in the catalog, or why it cannot be added.

CleanedWeb is not affiliated with Gratka.

Browse the catalog

Don’t see the website you need?

Paste its URL to build its API yourself, with real sample records in minutes. Or request it: we email you when it’s in the catalog, or why we can’t add it. Building it costs you nothing.

5,000 records free · No card required Request it instead