const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
display_name: 'Acme Corp',
ein: '12-3456789',
vault: {
'business.legal_name': 'Acme',
'business.entity_type': 'llc',
'business.registration_jurisdiction': 'US-CA'
},
metadata: {industry: 'technology'},
cursor: '<string>',
limit: 25,
sort: 'created_at',
order: 'desc'
})
};
fetch('https://api.getpalm.com/v1/business/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"has_more": true,
"next_cursor": "crs_7g8h9i0j1k2l3m4n",
"data": [
"<array>"
]
}Search for businesses in your organization with optional filters. Filter by legal_name (partial match), entity_type (exact match), or EIN (exact match). Returns paginated results using cursor-based pagination.
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
display_name: 'Acme Corp',
ein: '12-3456789',
vault: {
'business.legal_name': 'Acme',
'business.entity_type': 'llc',
'business.registration_jurisdiction': 'US-CA'
},
metadata: {industry: 'technology'},
cursor: '<string>',
limit: 25,
sort: 'created_at',
order: 'desc'
})
};
fetch('https://api.getpalm.com/v1/business/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "list",
"has_more": true,
"next_cursor": "crs_7g8h9i0j1k2l3m4n",
"data": [
"<array>"
]
}Enter your API key in the format: sk_test_xxxxx or sk_live_xxxxx
Filter by display name (partial match, case-insensitive)
"Acme Corp"
Filter by EIN (exact match). Value is hashed for secure lookup.
"12-3456789"
Filter by vault fields using prefixed field names. Supports: business.legal_name (partial), business.entity_type, business.formation_jurisdiction, business.registration_jurisdiction, business.formation_date, business.city (partial), business.region, business.postal_code, business.country.
Show child attributes
{
"business.legal_name": "Acme",
"business.entity_type": "llc",
"business.registration_jurisdiction": "US-CA"
}
Filter by metadata fields. Use dot notation for nested keys. Example: { "industry": "technology", "settings.notify": "true" }
{ "industry": "technology" }
Pagination cursor from previous response
Maximum number of results to return (1-100)
Field to sort by
created_at, name, jurisdiction, entity_type, risk_level, last_verified Sort order direction
asc, desc Search results
Object type identifier, always "list"
list "list"
Whether there are more results available
true
Cursor to use for fetching the next page of results. Only present when has_more is true.
"crs_7g8h9i0j1k2l3m4n"
Array of resources for the current page
Was this page helpful?