Skip to content

Instantly share code, notes, and snippets.

@sorenlouv
Last active September 15, 2023 21:10
Show Gist options
  • Save sorenlouv/f143b7b4d0dff15b8ca5aaf7b512a96b to your computer and use it in GitHub Desktop.
Save sorenlouv/f143b7b4d0dff15b8ca5aaf7b512a96b to your computer and use it in GitHub Desktop.
Vurderingsportal: søg efter vejnavn

Available fields to filter by:

  • adresseID
  • adgangsAdresseID
  • vurderingsEjendomID
  • vurderingsaar
  • juridiskKategori
  • juridiskUnderkategori
  • propertyValue
  • groundValue
  • twoHousingUnits
  • address
  • roadName
  • houseNumber
  • door
  • floor
  • townName
  • zipcode
  • postDistrict
  • municipalityNumber
  • propertyNumber
  • isParentProperty,
  • taxCalculation.propertyTax
  • taxCalculation.groundTax
  • taxCalculation.totalAddressTax,

Example: filter by roadName

curl --request POST \
  --url https://api-fs.vurderingsportalen.dk/preliminaryproperties/_search \
  --header 'Content-Type: application/json' \
  --header 'User-Agent: insomnia/2023.5.8' \
  --data '{
    "size": 5000,
    "query": {
      "bool": {
        "filter": [
          {
            "term": {
              "zipcode": 4000
            }
          },
          {
            "term": {
              "roadName.keyword": "Vor Frue Hovedgade"
            }
          }
        ]
      }
    }
  }
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment