---
title: "attribute.count"
method: GET
path: "/attribute.count.json"
tags: ["attribute"]
---

# attribute.count

`GET /attribute.count.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/attribute.count.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

Get attributes count

## Query parameters

- `type` string
- `attribute_set_id` string
- `store_id` string
- `lang_id` string
- `visible` boolean
- `required` boolean
- `system` boolean

## Response `200`

successful operation

- ModelResponseAttributeCount
  - `return_code` integer, nullable
  - `return_message` string, nullable
  - `result` ResponseAttributeCountResult
    - `attributes_count` integer, nullable
    - `additional_fields` object, nullable
    - `custom_fields` object, nullable
  - `additional_fields` object, nullable
  - `custom_fields` object, nullable

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
