Fund Categories
Retrieve all available mutual fund categories in the Pakistani market.
GET/3.0/funds/categories
Description
This endpoint returns a list of all fund categories used to classify mutual funds in Pakistan, such as Income, Equity, and Money Market funds.
Request
Authentication
- Type: Bearer Token
- Required: Yes
Parameters
This endpoint does not accept any query parameters.
Response
Success Response (200)
{
"status": "ok",
"message": "",
"data": [
{
"id": "1",
"name": "Income",
"mod": "2024-07-25T02:47:33.861Z"
},
{
"id": "2",
"name": "Equity",
"mod": "2024-07-25T02:47:33.886Z"
},
{
"id": "6",
"name": "Money Market",
"mod": "2024-07-25T02:47:33.887Z"
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique category identifier |
name | string | Category name (e.g., Income, Equity, Money Market) |
mod | string | Last modification timestamp (ISO 8601) |
Error Responses
For detailed Common Error responses, see the Error Handling.
Examples
GET All Fund Categories
curl -X GET "https://csapis.com/3.0/funds/categories" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Use Cases
- Fund Classification: Categorize and filter mutual funds by type
- Investment Strategy: Identify fund categories aligned with investment goals
- Portfolio Diversification: Select funds across different categories for balanced portfolios
- Fund Comparison: Compare funds within the same category for performance analysis