Compass Scraper

Real-time Compass real estate data — property listings, details, agent info, and open houses. For sale, rent, and sold properties returned as structured JSON via REST API.

2 Endpoints REST + JSON 99.9% Uptime

Try it instantly

See real data shapes from every endpoint — no signup required.

Request
GET /compass/search
location New York, NY required
listing_type for_sale
page 1
min_price 500000
max_price 2000000
beds 2
curl -G "https://api.pullapi.com/compass/search" \
  -d "location=New+York,+NY" \
  -d "listing_type=for_sale" \
  -H "x-rapidapi-key: YOUR_API_KEY"
Response 200 OK
{
  "success": true,
  "data": {
    "location": "New York, NY",
    "listing_type": "for_sale",
    "page": 1,
    "total_results": 1523,
    "results": [
      {
        "listing_id": "2074X1",
        "price": 1250000,
        "beds": 2,
        "baths": 2,
        "sqft": 1100,
        "address": "551 4th St Unit 1L, Brooklyn, NY 11215",
        "neighborhood": "Park Slope",
        "status": "Active",
        "open_house": "3/22 10:30AM - 12:30PM",
        "latitude": 40.6698,
        "longitude": -73.9823,
        "image_url": "https://photos.compass.com/...",
        "url": "https://www.compass.com/homedetails/551-4th-St-Unit-1L-Brooklyn-NY-11215/2074X1_pid/"
      }
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-22T15:30:00Z"
}

API Endpoints

2 endpoints across 2 categories.

Search

GET /compass/search

Search Compass property listings by location with optional filters for listing type, price range, bedrooms, bathrooms, and property type. Returns listings with price, address, neighborhood, open house info, and coordinates.

Parameters

Name Type Required Description Example
location string Yes City, neighborhood, or ZIP code to search New York, NY
listing_type string No Type of listing. Default: for_sale. Options: for_sale, for_rent, sold for_sale
page integer No Page number for paginated results 1
min_price integer No Minimum price filter in USD 500000
max_price integer No Maximum price filter in USD 2000000
beds integer No Minimum number of bedrooms 2
baths integer No Minimum number of bathrooms 1
property_type string No Filter by property type. Options: single_family, condo, townhouse, coop, multi_family, land condo

Example Response

{
  "success": true,
  "data": {
    "location": "New York, NY",
    "listing_type": "for_sale",
    "page": 1,
    "total_results": 1523,
    "results": [
      {
        "listing_id": "2074X1",
        "price": 1250000,
        "beds": 2,
        "baths": 2,
        "sqft": 1100,
        "address": "551 4th St Unit 1L, Brooklyn, NY 11215",
        "neighborhood": "Park Slope",
        "status": "Active",
        "open_house": "3/22 10:30AM - 12:30PM",
        "latitude": 40.6698,
        "longitude": -73.9823,
        "image_url": "https://photos.compass.com/...",
        "url": "https://www.compass.com/homedetails/551-4th-St-Unit-1L-Brooklyn-NY-11215/2074X1_pid/"
      }
    ]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-22T15:30:00Z"
}

Property

GET /compass/property

Get full property details from a Compass listing URL. Returns price, address, description, agent info, amenities, open house schedule, building details, and photos.

Parameters

Name Type Required Description Example
url string Yes Full Compass property listing URL https://www.compass.com/homedetails/.../2074X1_pid/

Example Response

{
  "success": true,
  "data": {
    "listing_id": "2074X1",
    "name": "551 4th Street Unit 1L",
    "address": "551 4th St Unit 1L, Brooklyn, NY 11215",
    "street_address": "551 4th Street Unit 1L",
    "city": "Brooklyn",
    "state": "NY",
    "zip_code": "11215",
    "latitude": 40.6698,
    "longitude": -73.9823,
    "price": 1250000,
    "beds": 2,
    "baths": 2,
    "sqft": 1100,
    "price_per_sqft": 1136,
    "property_type": "Condo",
    "status": "Active",
    "neighborhood": "Park Slope",
    "description": "Sun-drenched corner unit...",
    "agents": [
      {
        "name": "Sarah Johnson",
        "role": "Listing Agent",
        "company": "Compass",
        "email": "sarah@compass.com",
        "phone": "(917) 555-0189"
      }
    ],
    "amenities": ["Doorman", "Elevator", "Gym", "..."],
    "open_houses": [
      {
        "date": "2026-03-22",
        "time": "10:30AM - 12:30PM",
        "notes": "By Appointment"
      }
    ],
    "building": {
      "units": 24,
      "stories": 6,
      "year_built": 2005,
      "name": "The Park Slope Lofts"
    },
    "photos": ["https://photos.compass.com/..."]
  },
  "credits_used": 1,
  "cache_hit": false,
  "timestamp": "2026-03-22T15:30:00Z"
}

Code Examples

Get started in seconds with your preferred language.

Terminal
curl -G "https://api.pullapi.com/compass/search" \
  -d "location=New+York,+NY" \
  -d "listing_type=for_sale" \
  -d "beds=2" \
  -d "min_price=500000" \
  -H "x-rapidapi-host: compass-scraper-api.p.rapidapi.com" \
  -H "x-rapidapi-key: YOUR_API_KEY"

Why PullAPI

</>

No Browser Needed

HTTP-based API. No Selenium, no Puppeteer, no headless browsers to manage.

Proxy Rotation

Automatic residential proxy rotation handles anti-bot detection for you.

Smart Caching

Smart Redis caching means faster repeated queries and lower costs.

$

Pay Per Request

No monthly commitment. Free tier included. Pay only for what you use.

Use Cases

What developers build with the Compass Scraper API.

1

Luxury Market Analysis

2

Property Comparison

3

Agent Research & Outreach

4

Market Trend Tracking

Related Scrapers

More APIs in Real Estate & Travel.

Ready to scrape Compass data?

Start with the free tier. No credit card required.

Subscribe on RapidAPI →