Platform
Get started

Casafari is the AI agent-native real estate data intelligence platform. The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries.The most complete property index in Europe: a deduplicated, cleaned property graph.

How the graph is built

Existing Casafari API · API v1 · References

Get types

GEThttps://api.casafari.com/v1/references/types
Static token0 parametersAPI v1

Send Authorization: Token $CASAFARI_TOKEN with your existing API token; see where to get it.

The same path under /api, signed in with a bearer token, is in the REST API reference: GET /api/v1/references/types.

Description

Returns a list of all possible estate types.

Example request

Placeholders only: replace the token and the values with your own.

curl
curl "https://api.casafari.com/v1/references/types" \
  -H "Authorization: Token $CASAFARI_TOKEN"

Responses

200

Type: object[].

Show the response shape (6 fields)
typesobject[]required
List of grouped property types.
2 properties
groupstringrequired
Name of the group of types.
namesstring[]required
List of type names that belong to a specific group.
types_with_countriesobject[]required
List of type names with countries where each type is available.
2 properties
namestringrequired
Type name.
countriesstring[]required
List of countries where the type is available.
Example from the API description (long arrays shortened)
JSON
{
  "types": [
    {
      "group": "apartment",
      "names": [
        "apartment",
        "studio"
      ]
    },
    {
      "group": "house",
      "names": [
        "country_house",
        "house"
      ]
    }
  ],
  "types_with_countries": [
    {
      "name": "apartment",
      "countries": [
        "Portugal",
        "Spain"
      ]
    },
    {
      "name": "studio",
      "countries": [
        "Portugal",
        "Spain"
      ]
    }
  ]
}

401 Unauthorized

Type: object.

Show the response shape (1 fields)
detailstring
Description of the error encountered.

403 Forbidden

Type: object.

Show the response shape (1 fields)
detailstring
Description of the error encountered.

Tip: add .md to any URL to read it as Markdown.