Skip to Content
Docs are evolving — expect frequent updates.
CompanyListFind Lists

Find Lists

Retrieve all custom lists (groupings) for your account. Project lists allow you to organize companies into meaningful groups such as industry verticals, investment stages, geographic regions, or custom categories.

Endpoint

GET https://api.kruncher.ai/api/integration/projectlists

Headers

HeaderRequiredDescription
AuthorizationYesYour API key (format: YOUR_API_KEY)
Content-TypeNoOptional application/json

Use Cases

When to Use This Endpoint

  • List Organization: See all available project groupings
  • Segmentation: Filter projects by custom categories
  • Portfolio Management: Organize by stage, industry, or geography
  • Team Workflows: Group projects for different team responsibilities
  • Reporting: Create reports by project list
  • Integration: Sync project lists with external systems

Code Examples

JavaScript/TypeScript

CODE
const API_KEY = "YOUR_API_KEY_HERE";
 
const response = await fetch("https://api.kruncher.ai/api/integration/projectlists", {
  headers: {
    "Authorization": `${API_KEY}`,
    "Content-Type": "application/json"
  }
});
 
const result = await response.json();
 
console.log(`Total lists: ${result.length}`);
result.forEach(list => {
  console.log(`- ${list.name} (${list.id})`);
  if (list.description) {
    console.log(`  Description: ${list.description}`);
  }
});

Result: Retrieves all project lists for your organization.

Python

CODE
import requests
 
API_KEY = "YOUR_API_KEY_HERE"
url = "https://api.kruncher.ai/api/integration/projectlists"
 
headers = {
    "Authorization": f"{API_KEY}",
    "Content-Type": "application/json"
}
 
response = requests.get(url, headers=headers)
 
if response.status_code == 200:
    lists = response.json()
    print(f"Total lists: {len(lists)}")
    
    for project_list in lists:
        print(f"- {project_list['name']} ({project_list['id']})")
        if 'description' in project_list:
            print(f"  Description: {project_list['description']}")
else:
    print(f"Error: {response.status_code} {response.text}")

Result: Retrieves and displays all project lists.

cURL

CODE
curl -X GET "https://api.kruncher.ai/api/integration/projectlists" \
  -H "Authorization: YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json"

Response Structure

Success Response (200 OK)

CODE
[
  {
    "id": "list_abc123",
    "name": "Technology Startups",
    "description": "All technology-focused companies in portfolio",
    "category": "industry",
    "itemCount": 15,
    "owner": "team@company.com",
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-20T14:20:00Z",
    "isActive": true,
    "createdBy": "team@company.com"
  },
  {
    "id": "list_def456",
    "name": "Series A Investments",
    "description": "Companies raising Series A",
    "category": "stage",
    "itemCount": 8,
    "owner": "investment@company.com",
    "createdAt": "2024-01-10T09:15:00Z",
    "updatedAt": "2024-01-21T11:45:00Z",
    "isActive": true,
    "createdBy": "investment@company.com"
  }
]

Response Fields

FieldTypeDescription
idstringUnique list identifier
namestringDisplay name of the list
descriptionstringDescription of list purpose
categorystringType of list (industry, stage, geography, etc.)
itemCountintegerNumber of items in list
ownerstringEmail or ID of list owner
createdAtstringISO 8601 timestamp when created
updatedAtstringISO 8601 timestamp when last updated
isActivebooleanWhether list is currently active
createdBystringWho created the list

Common Use Cases

Organize by Industry

CODE
const manager = new ProjectListManager(API_KEY);
 
// Find industry-related lists
const industryLists = await manager.searchLists("technology");
industryLists.forEach(list => {
  console.log(`${list.name}: ${list.itemCount} companies`);
});

Filter by Stage

CODE
manager = ProjectListManager()
 
# Get all lists and filter
all_lists = manager.get_all_lists()
stage_lists = [l for l in all_lists if l.get('category') == 'stage']
 
for list in stage_lists:
    print(f"{list['name']}: {list['itemCount']} companies")

Create Report by List

CODE
async function generateListReport() {
  const manager = new ProjectListManager(API_KEY);
  const summary = await manager.getListSummary();
  
  console.log("Project Lists Report");
  console.log("===================");
  console.log(`Total Lists: ${summary.total}`);
  console.log("\nBy Category:");
  
  Object.entries(summary.categoryBreakdown).forEach(([category, count]) => {
    console.log(`  ${category}: ${count}`);
  });
  
  console.log("\nDetailed Lists:");
  summary.lists.forEach(list => {
    console.log(`  ${list.name}: ${list.itemCount} items`);
  });
}

Find Lists by Owner

CODE
manager = ProjectListManager()
 
# Get lists created by specific person
my_lists = manager.get_lists_by_owner("john@company.com")
print(f"Lists created by john: {len(my_lists)}")
 
for list in my_lists:
    print(f"  - {list['name']} ({list['itemCount']} items)")

Best Practices

Cache Management

  • Cache lists for 5-10 minutes
  • Refresh after creating/updating lists
  • Use force refresh sparingly
  • Share cache across requests

Organizing Lists

  • Use consistent naming conventions
  • Group related lists by category
  • Keep descriptions clear and concise
  • Archive unused lists

Performance

  • Cache results locally
  • Fetch once and reuse
  • Filter on client side after fetch
  • Don’t fetch for every request

Search & Discovery

  • Use meaningful list names
  • Add descriptive descriptions
  • Organize with consistent categories
  • Regular maintenance of list structure

Troubleshooting

No Lists Returned

  • Verify API key is correct
  • Check if lists have been created
  • Ensure account has lists configured
  • Contact support if no lists exist

Lists Out of Date

  • Cache may be stale
  • Force refresh cache
  • Check update timestamps
  • Verify list modifications

Performance Issues

  • Large number of lists (>1000)
  • Implement client-side caching
  • Consider pagination if available
  • Contact support for optimization

List Not Found

  • Verify list ID or name
  • Check if list was deleted
  • Ensure you have access
  • Search for similar names

Need Help?

  • Create lists? Contact support for configuration
  • Bulk operations? Ask about batch list management
  • Custom categories? Discuss organization structure
  • Integration? See mapping and sync endpoints
Last updated on