API Documentation - Past Transactions

Table of Contents

Past Transactions

Returns a list of your own company’s past transactions.

GET /api/v2/past-transactions/

Search Parameters

About Multiple Choice Fields

listing_type, closing_agents

Each of these fields may be used to filter for listings that match one or more of the values submitted in the query, in other words, the query combines with OR logic. in order to include multiple values in your query for a multiple choice field simply include the querystring parameter multiple times in the URL of your API request. for example, request below will include listings assigned to agent 42 or agent 43 or agent 44.

https://nestiolistings.com/api/v2/past-transactions/?key=<your_key>&closing_agents=42&closing_agents=43&closing_agents=44


Accepted Values

Example Request and Response

Example request made via client side JavaScript using jQuery:

var apiData = $.ajax("https://nestiolistings.com/api/v2/past-transactions/?key=<your_key>&closing_agents=1&listing_type=rentals&closed_after=2016-11-01&closed_before=2016-11-30")

Example response body:

{
total_items: 500,
items: [
    {
        bathrooms: 1,
        building_name: "The Lofts on Columbus Place",
        building_number: 100,
        city: "Manhattan",
        client: {
            id: 1,
            group: 1,
            broker_email: "broker@brokerage.com",
            broker_phone: "555-555-5555",
            broker_name: "Susan Smith",
            people: [
                {
                    first_name: "Cheryl",
                    last_name: "Anderson",
                    email: "cheryl_anderson@email.com",
                    phone_1: "555-555-5555",
                    phone_2: "",
                    date_of_birth: "12-27-1981"
                },
                {<another_person>}
            ]
        },
        closed_date: "2016-11-30",
        closing_agents: [
            {
                agent_id: 1,
                name: "Susan Smith",
                email: "broker@brokerage.com",
                phone_number: "555-555-5555",
                mobile_phone_number: "555-555-5555",
                title: "Licensed Real Estate Agent",
            }
        ],
        commercial_use: null,
        commission: 500.0,
        created_at: "2016-11-30T11:12:32.786308",
        deal_notes: "",
        id: 1,
        is_sale_deal: false,
        layout: "1 Bedroom",
        lease_start_date: "2016-12-01",
        lease_expiration_date: "2017-11-30",
        lease_term: 12,
        listing_type: "For Rent",
        move_in_date: "2016-12-01",
        neighborhood: "Columbus Circle",
        price: 3000.0,
        property_type: "Residential",
        state: "NY",
        street: "Columbus Pl",
        unit_id: 1,
        unit_number: 12,
        unit_photos: [
            {
                original: "https://assets-img.nestiostatic.com/unit_photos/originals/1e33cf2e65d517301adce1fda8f30e76.jpg?s=a51703d90404d302f030b5b79c1b324a",
                large: "https://assets-img.nestiostatic.com/unit_photos/originals/1e33cf2e65d517301adce1fda8f30e76.jpg?fit=crop&h=540&w=720&s=2334719c403d5c8f2a07e81369e4cca9",
                thumbnail: "https://assets-img.nestiostatic.com/unit_photos/originals/1e33cf2e65d517301adce1fda8f30e76.jpg?fit=crop&h=70&w=100&s=a3d5d4b3fe655f23f04e8ce9e493e1c9",
                sort_order: 0,
                small: "https://assets-img.nestiostatic.com/unit_photos/originals/1e33cf2e65d517301adce1fda8f30e76.jpg?fit=crop&h=180&w=240&s=8ca556ba82008a5c3cbcb53e1ab00ffb",
                xlarge: "https://assets-img.nestiostatic.com/unit_photos/originals/1e33cf2e65d517301adce1fda8f30e76.jpg?fit=max&h=1000&w=1000&s=20297f84cb26b5208a6ab5f043688a1a",
                media_type: "Photo",
                id: 2677180
            }
        ]

    }
],
total_pages: 500,
page: 1
}

Glossary of Transaction Object Fields