Query Price Feed

We will start with a very simple request to get the latest Parcl Price Feed for New York - Newark Metropolitan Area.

query priceFeed {
  MSA(where: {MSA_NAME: {_ilike: "New%York%"}}) {
    MSA_NAME
    parcl_price_feed(limit: 1, order_by: {DATE: desc}) {
      DATE
      PARCL_PRICE_FEED
    }
  }
}

The result is a JSON file with the following fieds:

{
  "data": {
    "MSA": [
      {
        "MSA_NAME": "New York-Newark-Jersey City, NY-NJ-PA",
        "parcl_price_feed": [
          {
            "DATE": "2023-01-17",
            "PARCL_PRICE_FEED": 336.57861763736224
          }
        ]
      }
    ]
  }
}

We can modify this very simple query to get more data and get additional metropolitan areas.