Skip to main content

List Company Filter Categories

Endpoint Details

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

HTTP Method: GET

Overview

This endpoint retrieves a list of Company Filter Category that provide detailed insights useful for classifying and analyzing company 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 Company Filter Category objects.

JSON Structure

{
"meta": {
"next-start": "string"
},
"data": [
{
"key": "businessModels",
"name": "Business Models",
"description": "Types of business models such as Subscription, Freemium, etc.",
"isInferred": true,
"count": 2100000
}
]
}

Notes

  • Update Frequency: The data for company 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/company-filter-categories>

Node.js (Using Axios)

const axios = require('axios');

axios.get('<https://api.profileapi.com/2024-03-01/company-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/company-filter-categories>')
if response.status_code == 200:
print(response.json())
else:
print('Failed to fetch data:', response.status_code)