---
title: "Apartments.com API: Sitemap Index | Perceptlayer"
description: "Sitemap Index from Apartments.com as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/apartments-com/sitemap-index
---

[APIs](https://perceptlayer.com/apis) / [Apartments.com](https://perceptlayer.com/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.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `sitemap` | string | Optional | Up 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 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/apartments-com?try=sitemap-index#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.

| Field | Type |
| --- | --- |
| `sitemap` | string |
| `decoded` | boolean |
| `listing_key_count` | integer |
