APIs / Apartments.com / Sitemap Index

Apartments.com: Sitemap Index

Sitemap Index from Apartments.com as JSON. 1 credit per successful call.

GET /v1/apartments-com/sitemap-index

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
sitemapstringOptionalUp to 300 characters

Example request

Apartments.com
GET/v1/apartments-com/sitemap-index?sitemap=sitemap_AllBasicSPMProfiles.xml.gz
{
  "success": true,
  "data": {
    "sitemap": "sitemap_AllBasicSPMProfiles.xml.gz",
    "decoded": true,
    "total_urls": 1,
    "listing_key_count": 0
  },
  "meta": {
    "duration_ms": 1430,
    "endpoint_family": "sitemap_index"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
sitemapstring
decodedboolean
listing_key_countinteger