Skip to main content

Listings Sync

This endpoint allows you to sync listings in bulk from Funnel's database into your own. The data will be returned in paginated form with 50 listings per page, and can be filtered using query string parameters. The sync API uses pointer-based pagination. Each page of API results provides a pointer to the next available page. To get the pointer to the next page, look for the 'pointer.next_id' field in the response, and then pass that value as the max_id parameter to retrieve the next page.

GET
/api/v2/sync/listings

Request

Example request payload
curl -X GET \
    --user "YOUR_API_KEY:" \
    "https://api.funnelleasing.com/api/v2/sync/listings"

Response

200 OKapplication/json
{
  "items": [
    {
      "id": 350889,
      "property_type": "Residential",
      "layout": "2 Bedroom",
      "status": "Available",
      "date_available": "2015-09-01",
      "source": "Blast",
      "updated_at": "2015-07-18T11:12:32.786308"
    }
  ],
  "pointer": {
    "next_id": 234567
  }
}

Pagination Example

To retrieve the next page, use the next_id from the response as the max_id parameter:

Next page request
https://nestiolistings.com/api/v2/sync/listings/?max_id=234567

If you are using filter parameters, be sure to pass those along with the max_id:

Next page with filters
https://nestiolistings.com/api/v2/sync/listings/?updated_since=2015-05-19T12:47:00&max_id=234567

Glossary of Listings Sync Object Fields

building_ownership

The ownership class of the building, returned as a string. Possible values:

  • Multi-family
  • Condo
  • Co-op
  • Condop
  • Single-family

building_type

The type of building structure, returned as a string. Possible values:

  • High-Rise
  • Mid-Rise
  • Low-Rise
  • Walk-Up
  • Elevator
  • Hotel
  • Loft
  • Townhouse
  • Detached House
  • Attached House
  • Semi-detached House

pets

Description of what kinds of pets the building's management company allows, returned as a string. Possible values:

  • No Pets Allowed
  • Pets Allowed
  • Cats Only
  • Dogs Only
  • Cats/Small Dogs Allowed
  • Pets Allowed Case by Case

status

Describes the current status of the unit with respect to availability, pending applications, etc., returned as a string. Possible values:

  • Available
  • App Pending
  • Offer Pending
  • Complete App
  • Approved
  • In Contract
  • Lease Break
  • Lease Out
  • Hold
  • Transfer
  • Under Reno
  • Rented
  • Sold
  • REMOVED