---
title: "Datart API: Categories | Perceptlayer"
description: "Categories from Datart as JSON. 42 credits per successful call."
url: https://perceptlayer.com/apis/datart/categories
---

[APIs](https://perceptlayer.com/apis) / [Datart](https://perceptlayer.com/apis/datart) / Categories

# Datart: Categories

Categories from Datart as JSON. 42 credits per successful call.

GET `/v1/datart/categories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `sitemap` | string | Optional | Up to 90 characters |
| `offset` | integer | Optional | Any |
| `limit` | integer | Optional | Any |

## Example request

Datart

GET /v1/datart/categories 

```
{
  "success": true,
  "data": {
    "sitemaps": [
      "sitemap-articles-1.xml",
      "sitemap-brand-categories-1.xml",
      "sitemap-brands-1.xml"
    ],
    "total": 11,
    "returned": 11,
    "offset": 0
  },
  "meta": {
    "endpoint_family": "categories"
  }
}
```

200 OK JSON X-Credits-Used: 42

Recorded 30 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/datart?try=categories#playground) with your own parameters. 42 credits per successful call; failed calls are free.

## Response fields

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

| Field | Type |
| --- | --- |
| `sitemaps` | string\[\] |
| `returned` | integer |
