curl -X POST https://api.lance.app/api/v1/entities/prospects/company \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"page": 0,
"size": 10,
"account": {
"industry": {
"any": {
"include": ["software development", "it services and it consulting"]
}
},
"location": {
"any": {
"include": ["United States"]
}
}
}
}'
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"name": "Acme Technologies Inc.",
"description": "Acme Technologies is a leading provider of enterprise software solutions...",
"summary": "Enterprise software company specializing in cloud-based workflow automation and data analytics for Fortune 500 companies.",
"headcount": "201-500",
"industry": "software development",
"phones": ["+1-555-123-4567"],
"linkedinUrl": "https://www.linkedin.com/company/acme-technologies",
"websiteUrl": "https://www.acmetech.com",
"domain": "acmetech.com",
"city": "San Francisco",
"postalCode": "94105",
"country": "United States",
"logoUrl": "https://media.licdn.com/company/acme-logo.png",
"baseProviderId": "ark_123456",
"bullhornId": null,
"crmId": null,
"legalName": "Acme Technologies, Inc.",
"foundedYear": 2015,
"revenue": "$10M - $50M",
"location": {
"headquarter": {
"continent": "North America",
"country": "United States",
"state": "California",
"city": "San Francisco",
"street": "123 Market Street",
"postalCode": "94105",
"rawAddress": "123 Market Street, San Francisco, CA 94105",
"coordinates": {
"lat": 37.7749,
"lng": -122.4194
}
},
"locations": []
}
}
],
"totalElements": 1542,
"totalPages": 155,
"number": 0,
"size": 10,
"first": true,
"last": false,
"numberOfElements": 10,
"empty": false
}
Prospects
Search Companies
Search for companies using various filters and automatically enrich results with company data
POST
/
api
/
v1
/
entities
/
prospects
/
company
curl -X POST https://api.lance.app/api/v1/entities/prospects/company \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"page": 0,
"size": 10,
"account": {
"industry": {
"any": {
"include": ["software development", "it services and it consulting"]
}
},
"location": {
"any": {
"include": ["United States"]
}
}
}
}'
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"name": "Acme Technologies Inc.",
"description": "Acme Technologies is a leading provider of enterprise software solutions...",
"summary": "Enterprise software company specializing in cloud-based workflow automation and data analytics for Fortune 500 companies.",
"headcount": "201-500",
"industry": "software development",
"phones": ["+1-555-123-4567"],
"linkedinUrl": "https://www.linkedin.com/company/acme-technologies",
"websiteUrl": "https://www.acmetech.com",
"domain": "acmetech.com",
"city": "San Francisco",
"postalCode": "94105",
"country": "United States",
"logoUrl": "https://media.licdn.com/company/acme-logo.png",
"baseProviderId": "ark_123456",
"bullhornId": null,
"crmId": null,
"legalName": "Acme Technologies, Inc.",
"foundedYear": 2015,
"revenue": "$10M - $50M",
"location": {
"headquarter": {
"continent": "North America",
"country": "United States",
"state": "California",
"city": "San Francisco",
"street": "123 Market Street",
"postalCode": "94105",
"rawAddress": "123 Market Street, San Francisco, CA 94105",
"coordinates": {
"lat": 37.7749,
"lng": -122.4194
}
},
"locations": []
}
}
],
"totalElements": 1542,
"totalPages": 155,
"number": 0,
"size": 10,
"first": true,
"last": false,
"numberOfElements": 10,
"empty": false
}
Search for companies across the Lance database using comprehensive filters including industry, location, employee size, funding, and more. Results are automatically saved to the database and enriched with company summaries in the background.
Authentication
This endpoint requires authentication. The user must be logged in and belong to an organization.Company summary generation runs in the background and consumes credits. Only
companies with a description and LinkedIn URL but no existing summary will be
enriched.
Request
Body Parameters
Array of company URLs (LinkedIn or website) to search for specific companies.
Page number for pagination (0-indexed).
Number of results per page. Must be between 0 and 100.
Account-level filters for company search.
Show account properties
Show account properties
Filter by company name or domain with include/exclude patterns.
Show nameOrDomain properties
Show nameOrDomain properties
Any condition can match (same structure as
all).Filter by social media profile URLs with include/exclude arrays.
Show socialMediaLink properties
Show socialMediaLink properties
all
object
include
string[]
Social media URLs to include (all must match)
exclude
string[]
Social media URLs to exclude
any
object
include
string[]
Social media URLs to include (any can match)
exclude
string[]
Social media URLs to exclude
Filter by company phone numbers with include/exclude arrays.
Filter by industry. Supports 900+ industries including:
software development, it services and it consulting, financial services, hospitals and health care, manufacturing, retail, construction, real estate, education, marketing, biotechnology, telecommunications, saas, fintech, artificial intelligence (ai), generative ai, blockchain, cryptocurrency, and many more.Filter by company products and services with search modes.
Show productAndServices properties
Show productAndServices properties
Any condition can match (same structure as
all).Filter by social media presence. Values:
FACEBOOK, INSTAGRAM, TWITTER, LINKEDIN.Filter by company type. Values:
PRIVATELY_HELD, PUBLIC_COMPANY, GOVERNMENT_AGENCY, PARTNERSHIP, SOLE_PROPRIETORSHIP, NON_PROFIT, EDUCATIONAL, SELF_OWNED, SELF_EMPLOYED.Filter by company operating language. Supports 49 languages:
english, spanish, french, portuguese, german, dutch, italian, chinese, turkish, polish, russian, swedish, arabic, indonesian, danish, czech, norwegian, japanese, korean, romanian, ukrainian, thai, hindi, malay, tagalog, vietnamese, finnish, persian, greek, hungarian, bengali, marathi, telugu, panjabi, serbian, slovak, croatian, lithuanian, latvian, albanian, icelandic, armenian, bosnian, tamil, javanese, malayalam, kannada, burmese.Show language properties
Show language properties
Search by keywords across company data sources.
Filter by funding information.
Show funding properties
Show funding properties
Funding round types:
PRE_SEED, SEED, SERIES_A, SERIES_B, SERIES_C, SERIES_D, SERIES_E, SERIES_F, SERIES_G, SERIES_H, SERIES_I, SERIES_J, VENTURE_ROUND, ANGEL, PRIVATE_EQUITY, DEBT_FINANCING, CONVERTIBLE_NOTE, GRANT, CORPORATE_ROUND, EQUITY_CROWDFUNDING, PRODUCT_CROWDFUNDING, SECONDARY_MARKET, POST_IPO_EQUITY, POST_IPO_DEBT, POST_IPO_SECONDARY, NON_EQUITY_ASSISTANCE, INITIAL_COIN_OFFERING, UNDISCLOSED, SERIES_UNKNOWN, FUNDING_ROUNDRange filter for total funding amount (
start, end)Range filter for last funding round amount (
start, end)Time range for funding (
start, end as ISO timestamps)Filter by company metrics (employee counts by department, growth rates).
Show metric properties
Show metric properties
Array of employee count filters by department. Each object has:
function: array of department enums (see below)start: minimum employee countend: maximum employee count
program_and_project_management, education, purchasing, accounting, sales, research, operations, customer_success_and_support, legal, product_management, media_and_communication, real_estate, quality_assurance, consulting, arts_and_design, healthcare_services, entrepreneurship, engineering, community_and_social_services, marketing, information_technology, business_development, administrative, military_and_protective_services, finance, human_resources, supportArray of headcount growth filters by department. Each object has:
function: array of department enums (same as employee, also accepts custom strings)start: minimum growth percentageend: maximum growth percentagetimeFrame:ONE,THREE,SIX,TWELVE, orTWENTY_FOUR(months)
Response
Array of company objects matching the search criteria.
Show Company object properties
Show Company object properties
Unique identifier (UUID) for the company.
ISO timestamp when the company record was created.
ISO timestamp when the company record was last updated.
Company name.
Full company description.
AI-generated company summary (generated in background if not present).
Employee count range (e.g., “51-200”).
Primary industry classification.
Array of company phone numbers.
LinkedIn company page URL.
Company website URL.
Company domain (extracted from website).
Headquarters city.
Headquarters postal code.
Headquarters country.
URL to company logo image.
Internal provider identifier.
Bullhorn CRM identifier.
Generic CRM identifier.
Legal/registered company name.
Year the company was founded.
Estimated annual revenue range.
Total number of companies matching the search criteria.
Total number of pages available.
Current page number (0-indexed).
Number of results per page.
Whether this is the first page.
Whether this is the last page.
Number of elements in the current page.
Whether the result set is empty.
Examples
curl -X POST https://api.lance.app/api/v1/entities/prospects/company \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"page": 0,
"size": 10,
"account": {
"industry": {
"any": {
"include": ["software development", "it services and it consulting"]
}
},
"location": {
"any": {
"include": ["United States"]
}
}
}
}'
{
"content": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"name": "Acme Technologies Inc.",
"description": "Acme Technologies is a leading provider of enterprise software solutions...",
"summary": "Enterprise software company specializing in cloud-based workflow automation and data analytics for Fortune 500 companies.",
"headcount": "201-500",
"industry": "software development",
"phones": ["+1-555-123-4567"],
"linkedinUrl": "https://www.linkedin.com/company/acme-technologies",
"websiteUrl": "https://www.acmetech.com",
"domain": "acmetech.com",
"city": "San Francisco",
"postalCode": "94105",
"country": "United States",
"logoUrl": "https://media.licdn.com/company/acme-logo.png",
"baseProviderId": "ark_123456",
"bullhornId": null,
"crmId": null,
"legalName": "Acme Technologies, Inc.",
"foundedYear": 2015,
"revenue": "$10M - $50M",
"location": {
"headquarter": {
"continent": "North America",
"country": "United States",
"state": "California",
"city": "San Francisco",
"street": "123 Market Street",
"postalCode": "94105",
"rawAddress": "123 Market Street, San Francisco, CA 94105",
"coordinates": {
"lat": 37.7749,
"lng": -122.4194
}
},
"locations": []
}
}
],
"totalElements": 1542,
"totalPages": 155,
"number": 0,
"size": 10,
"first": true,
"last": false,
"numberOfElements": 10,
"empty": false
}
Error Responses
400 Bad Request
Returned when the request body fails validation.
{
"error": "Invalid request body",
"issues": [
{
"code": "too_big",
"maximum": 100,
"type": "number",
"inclusive": true,
"exact": false,
"message": "Number must be less than or equal to 100",
"path": ["size"]
}
]
}
Background Processing
This endpoint triggers two background processes:- Global Company Repository Sync: All returned companies are saved to the global company repository for cross-tenant data sharing.
-
Company Summary Generation: Companies that have a
descriptionandlinkedinUrlbut nosummarywill have AI-generated summaries created in the background. This process:- Consumes credits from the organization’s account
- Only runs in production with valid organization credentials
- Updates the company records asynchronously
The response returns immediately with the search results. Background
processing does not affect response time.
⌘I