Skip to main content

List Person Filter Categories

Endpoint Details

URL: https://api.profileapi.com/2024-03-01/person-filter-categories

HTTP Method: GET

Overview

This endpoint retrieves a list of Person Filter Category objects that provide detailed insights useful for classifying and analyzing individual data.

Request Parameters

ParameterTypeDescriptionRequired
fieldsArray of stringsName of the fields to include other than key and name such as description and countNo

Response Structure

The response consists of a metadata object and a data array containing a list of Person Filter Category objects.

JSON Structure

{
"meta": {
"next-start": "string"
},
"data": [
{
"key": "topicsOfInterest",
"name": "Topics of Interest",
"description": "Covers various topics that individuals show interest in within professional settings.",
"isInferred": true,
"count": 2100000
}
]
}

Notes

  • Update Frequency: The data for person filter categories is updated daily.
  • Sorting: The data in the response is sorted by the name attribute of each category.

Example Usage

cURL

curl <https://api.profileapi.com/2024-03-01/person-filter-categories>

Node.js (Using Axios)

const axios = require('axios');

axios.get('<https://api.profileapi.com/2024-03-01/person-filter-categories>')
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error('Error fetching data:', error);
});

Python (Using requests)

import requests

response = requests.get('<https://api.profileapi.com/2024-03-01/person-filter-categories>')
if response.status_code == 200:
print(response.json())
else:
print('Failed to fetch data:', response.status_code)