docs

Filters reference

Every field you can filter an audience on, with its operators and allowed values.

An audience's filters object has two layers. Use the shorthand groups for the common cases, and where[] clauses for anything else. Everything you send must match (AND). GET /v1/filters returns this same list as JSON, so you can build a filter picker from it.

Shorthand filters

KeyWhat it does
typeb2c (Consumers (B2C)), b2b (Businesses (B2B)) or people (People). Required.
topics1 to 5 intent topic ids from GET /v1/topics. Required for b2c and b2b, not allowed for people.
intentIntent levels to keep: high (๐Ÿ”ฅ Hot), medium (Warm), low (Cold). Intent audiences only.
active_within_daysOnly people who showed intent in the last 1 to 14 days. Intent audiences only.
locationstates (two-letter codes), zips, cities.
demographicsgender, age, income, net_worth (lists), homeowner, married, children (true or false).
jobtitles (substring match), seniority, departments.
companynames, domains, industries, size, revenue.
whereUp to 25 clauses on any field below.

Topics count across topics and any topic clauses in where: at most 5 distinct ids in total.

where[] clauses

{
  "type": "b2c",
  "topics": ["tp_4521"],
  "where": [
    { "field": "state", "op": "in", "value": ["TX", "OK"] },
    { "field": "job_title", "op": "contains", "value": "engineer" },
    { "field": "income", "op": "in", "value": ["100-150k", "150-250k"] },
    { "field": "mobile_phone", "op": "has_value" }
  ]
}

value is a list for in and not_in, a single string for the other operators, and left out for has_value and has_no_value. Dates are YYYY-MM-DD. active_date must fall in the last 14 days (UTC). A field, operator or value the catalog doesn't allow fails with invalid_filters and a details entry such as where.0.op.

Operators

OperatorMeaning
eqEquals one value.
neqDoes not equal one value.
ltBefore a date.
gtAfter a date.
lteOn or before a date.
gteOn or after a date.
betweenBetween value and value_to, inclusive.
inMatches any value in a list.
not_inMatches none of the values in a list.
containsContains the text, case-insensitive.
has_valueThe field is filled in. No value.
has_no_valueThe field is empty. No value.

Intent

FieldLabelOperatorsValuesAudience types
active_dateActive dateeq lt gt lte gte betweenYYYY-MM-DDConsumers (B2C), Businesses (B2B)
topicTopicin not_inTopic ids (tp_123)Consumers (B2C), Businesses (B2B)
intent_levelIntent levelin not_inhigh medium lowConsumers (B2C), Businesses (B2B)
topic_categoryTopic categoryeq neq in not_inFree textConsumers (B2C)
topic_subcategoryTopic subcategoryeq neq in not_inFree textConsumers (B2C)

Location

FieldLabelOperatorsValuesAudience types
address_line1Addresseq neq in not_in contains has_valueFree textAll
address_line2Address line 2eq neq in not_in contains has_valueFree textAll
cityCityeq neq in not_in contains has_valueFree textAll
stateStatein not_inAK AL AR AZ CA CO CT DE FL GA HI IA ID IL IN KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA RI SC SD TN TX UT VA VT WA WI WV WYAll
zipZIP codeeq neq in not_inFree textAll
zip4ZIP+4 extensioneq neq in not_in contains has_valueFree textAll
countryCountryeq neq in not_in contains has_valueFree textAll

Demographics

FieldLabelOperatorsValuesAudience types
genderGenderin not_inmale female unknownAll
ageAgein not_in18-24 25-34 35-44 45-54 55-64 65+All
marriedMarriedin not_inyes noAll
childrenChildrenin not_inyes noAll
incomeHousehold incomein not_in<20k 20-30k 30-40k 40-50k 50-75k 75-100k 100-150k 150-250k 250k+All
net_worthNet worthin not_in<0 0-5k 5-25k 25-100k 100-250k 250-500k 500k-1m 1m+All
homeownerHomeownerin not_inyes noAll

Job

FieldLabelOperatorsValuesAudience types
job_titleJob titleeq neq in not_in containsFree textAll
job_title_normalizedJob title (normalized)eq neq in not_in contains has_valueFree textAll
job_title_updatedJob title last updatedeq neq in not_in contains has_valueFree textAll
senioritySeniorityin not_inc_suite vp director manager staffAll
seniority_secondarySeniority (secondary)eq neq in not_in contains has_valueFree textAll
departmentDepartmentin not_inadministrative engineering executive finance marketing sales otherAll
department_secondaryDepartment (secondary)eq neq in not_in contains has_valueFree textAll
work_address_line1Work addresseq neq in not_in contains has_valueFree textAll
work_address_line2Work address line 2eq neq in not_in contains has_valueFree textAll
work_cityWork cityeq neq in not_in contains has_valueFree textAll
work_stateWork stateeq neq in not_in contains has_valueFree textAll
work_zipWork ZIP codeeq neq in not_in contains has_valueFree textAll
work_zip4Work ZIP+4 extensioneq neq in not_in contains has_valueFree textAll

Company

FieldLabelOperatorsValuesAudience types
company_nameCompanyeq neq in not_in has_value containsFree textAll
company_domainCompany websiteeq neq in not_in containsFree textAll
company_related_domainsCompany related domainseq neq in not_in contains has_valueFree textAll
company_phoneCompany phoneeq neq in not_in contains has_valueFree textAll
company_sicCompany SIC codeeq neq in not_in contains has_valueFree textAll
company_naicsCompany NAICS codeeq neq in not_in contains has_valueFree textAll
company_addressCompany addresseq neq in not_in contains has_valueFree textAll
company_cityCompany cityeq neq in not_in contains has_valueFree textAll
company_stateCompany stateeq neq in not_in contains has_valueFree textAll
company_zipCompany ZIP codeeq neq in not_in contains has_valueFree textAll
company_countryCompany countryeq neq in not_in contains has_valueFree textAll
company_revenueCompany revenuein not_in<1m 1-10m 10-50m 50-100m 100-500m 500m-1b 1b+All
company_sizeCompany sizein not_in1-10 11-50 51-200 201-500 501-1000 1001-5000 5001-10000 10000+All
industryIndustryeq neq in not_in containsFree textAll
company_updatedCompany last updatedeq neq in not_in contains has_valueFree textAll
company_descriptionCompany descriptioneq neq in not_in contains has_valueFree textPeople

Contact

FieldLabelOperatorsValuesAudience types
first_nameFirst nameeq neq in not_in has_valueFree textAll
last_nameLast nameeq neq in not_in has_valueFree textAll
emailEmaileq neq in not_in has_value containsFree textAll
other_emailsOther emailseq neq in not_in contains has_valueFree textAll
email_validation_statusEmail validation statuseq neq in not_in contains has_valueFree textAll
email_last_seenEmail last seeneq neq in not_in contains has_valueFree textAll
phonePhoneeq neq in not_in has_valueFree textAll
mobile_phoneMobile phoneeq neq in not_in has_valueFree textAll
direct_phoneDirect phoneeq neq in not_in contains has_valueFree textAll
linkedin_urlLinkedIn URLeq neq in not_in contains has_valueFree textAll
social_connectionsSocial connectionseq neq in not_in contains has_valueFree textAll
business_emailBusiness emaileq neq in not_in has_value containsFree textAll
other_business_emailsOther business emailseq neq in not_in contains has_valueFree textAll
business_email_validation_statusBusiness email validation statuseq neq in not_in contains has_valueFree textAll
business_email_last_seenBusiness email last seeneq neq in not_in contains has_valueFree textAll

Advanced

FieldLabelOperatorsValuesAudience types
company_contact_idCompany contact IDeq neq in not_in contains has_valueFree textAll
lead_updatedLead last updatedeq neq in not_in contains has_valueFree textAll

On this page