# Apartments.com Structured Listing Scraper

> Apartments.com Structured Listing Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.2/call, status unknown (last checked 2026-10-02).

Scrapes structured apartment listing data from Apartments.com by city/state search or direct property URLs, returning property metadata as JSON.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/apartments?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apartments-com-structured-listing-scraper-b43e9f71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RHRU1LP-LnBkhP-caESTr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability apartments-com-structured-listing-scraper-b43e9f71 -d '<json body>'
```

Example prompt: Can you pull me a list of up to 50 apartment properties in Austin, TX — I need their names, URLs, and location info in structured format.

## When to prefer this

Use this endpoint when you need structured apartment listing data from Apartments.com by city and state, especially when you need property names and URLs in bulk without paying for failed runs. Prefer this over general web scrapers when you specifically need Apartments.com data in a clean JSON format without building your own scraper.

## Known failure modes

- No results returned if city/state format is invalid or unsupported (ZIP codes and street addresses not accepted)
- Empty response if no listings found for the given city
- Rate limiting or timeout if too many items requested
- Partial results if maxItems limit is set too low
- URL filters (price, bedrooms) in startUrls are not supported and may be ignored

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of results and an array of property items, each containing the property's ID, URL, city, state, property name, and sitemap last modified date. Failed or empty runs are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "search": {
   "type": "string",
   "description": "City followed by a two-letter state code, such as Austin, TX. ZIP codes and street addresses are unavailable."
  },
  "maxItems": {
   "type": "integer",
   "default": 100,
   "minimum": 1,
   "description": "Maximum number of property links to save across all targets."
  },
  "startUrls": {
   "type": "array",
   "description": "Plain city search URLs or direct property URLs. Price, bedroom, and other URL filters are unavailable."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "city": null,
    "state": null,
    "propertyName": null,
    "sitemapLastModified": null
   }
  ],
  "product": "apartments"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apartments-com-structured-listing-scraper-b43e9f71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
