---
updatedAt: 2026-05-28T21:10:45.000Z
agentTools:
  projectIndex: https://docs.hivestack.com/llms.txt
---

# Get a list of demographics

Returns a list of demographics that belong to your organization

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Inventory",
    "version": "2",
    "description": "Inventory",
    "contact": {
      "email": "support@perion.com"
    }
  },
  "servers": [
    {
      "url": "https://apps.hivestack.com/api/v2"
    }
  ],
  "security": [
    {
      "APIKeyHeader": []
    },
    {
      "APIKeyQuery": []
    }
  ],
  "tags": [
    {
      "name": "Demographics",
      "description": ""
    }
  ],
  "paths": {
    "/demographics": {
      "get": {
        "tags": [
          "Demographics"
        ],
        "summary": "Get a list of demographics",
        "description": "Returns a list of demographics that belong to your organization",
        "operationId": "getDemographics",
        "parameters": [
          {
            "$ref": "#/components/parameters/top"
          },
          {
            "$ref": "#/components/parameters/skip"
          },
          {
            "$ref": "#/components/parameters/count"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/SuccessDemographics"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "name": "hs-auth",
        "in": "header",
        "description": "The value should follow the following format: `apikey access_key:secret_key`"
      },
      "APIKeyQuery": {
        "type": "apiKey",
        "name": "apikey",
        "in": "query",
        "description": "The value should follow the following format: `access_key:secret_key`"
      }
    },
    "schemas": {
      "demographic": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "example": "F:18-24"
          },
          "created_on_utc": {
            "type": "string",
            "readOnly": true,
            "format": "date-time"
          },
          "demographic_id": {
            "type": "integer",
            "readOnly": true,
            "example": 1
          },
          "modified_on_utc": {
            "type": "string",
            "readOnly": true,
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "example": "Female 18-24"
          },
          "organization_id": {
            "type": "integer",
            "example": 14
          },
          "show_buyers": {
            "type": "boolean",
            "example": true
          },
          "type": {
            "type": "string",
            "enum": [
              "ALL",
              "AGE",
              "GDR",
              "CUS",
              "PREDEFINED",
              "ADSQUARE-AUDIENCE-FILE",
              "AUDIENCE-FILE",
              "OUTSOURCED"
            ],
            "example": "AUDIENCE-FILE"
          }
        }
      },
      "demographics": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/demographic"
        }
      }
    },
    "parameters": {
      "top": {
        "name": "$top",
        "in": "query",
        "description": "The number of items to return.",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 500,
          "default": 500
        }
      },
      "skip": {
        "name": "$skip",
        "in": "query",
        "required": false,
        "description": "The number of items to skip before starting to collect the result set.",
        "schema": {
          "type": "integer",
          "example": 0,
          "default": 0
        }
      },
      "count": {
        "name": "$count",
        "in": "query",
        "required": false,
        "description": "Parameter that returns the total number of items (true or false).",
        "schema": {
          "type": "string",
          "default": false
        }
      }
    },
    "responses": {
      "SuccessDemographics": {
        "description": "OK - List of demographic objects",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/demographics"
            }
          }
        }
      }
    }
  }
}
```