EmailmoversMyDataHub docs
Browse the docs

Reference / REST reference

Reference

Expand job titles

POST /v1/job-titles/expand. Show every title a keyword matches through the expansion sets (plurals, department synonyms, ampersands, abbreviations, word order), each with a count, or what a bundle such as sdm resolves to.

Generated from the contractsView as Markdown

POST /v1/job-titles/expand

Show every title a keyword matches through the expansion sets (plurals, department synonyms, ampersands, abbreviations, word order), each with a count, or what a bundle such as sdm resolves to. Nothing is resolved silently.

PropertyValue
EndpointPOST https://mydatahub.emailmovers.com/v1/job-titles/expand
Operation idexpandJobTitles
CostFree (0 credits)
AccessNo account, key or token needed.
MCP toolexpand_job_titles
TagCatalogue

Request

Parameters

NameInTypeRequiredDescription
MyDataHub-VersionheaderstringnoThe dated API version, pinned per key when left out. Non-breaking changes ship as new dates; the path major changes only for breaking changes, with a 12 month deprecation window.

Body

MemberTypeRequiredDescription
termsarray of stringnoTitle keywords to expand, such as marketing manager.
bundleenum: sdm, manager_and_above, owner_managednoA title bundle to show: sdm, manager_and_above or owner_managed.
modeenum: contains, starts_with, exactnocontains (the default) matches titles containing a term, starts_with matches titles beginning with it, exact takes verbatim titles with no expansion.
expandarray of enum: plural_singular, department_synonyms, ampersand_and, abbreviations, permutationsnoExpansion sets to apply, each once. Left out, the four default sets apply.
datasetenum: uk_contacts, ie_contacts, global_contactsnoThe dataset an audience draws from. uk_contacts is live; ie_contacts and global_contacts are listed but not yet served.

Example request

curl -X POST "https://mydatahub.emailmovers.com/v1/job-titles/expand" \
  -H "Content-Type: application/json" \
  --data '{
  "terms": ["marketing manager"],
  "mode": "contains"
}'

Responses

200: The expanded titles.

Headers: RateLimit, RateLimit-Policy.

MemberTypeAlways presentDescription
dataset_versionstringyesThe immutable weekly build a count is bound to, such as 2026-W39. The last 52 stay queryable.
modeenum: contains, starts_with, exactyescontains (the default) matches titles containing a term, starts_with matches titles beginning with it, exact takes verbatim titles with no expansion.
expandarray of enum: plural_singular, department_synonyms, ampersand_and, abbreviations, permutationsyes
termsarray of ExpandedTermyes
terms[].termstringyesA matched title.
terms[].from_termstringyesThe input term it came from.
terms[].expansion_setenum: plural_singular, department_synonyms, ampersand_and, abbreviations, permutations or inputyesThe expansion set that produced it, or input for the term itself.
terms[].contactsinteger (0 or more) or under 10 or suppressedyesA whole number; "under 10" when disclosure control withholds a small cell; or "suppressed" when secondary suppression hides a cell of 10 or more in a cross-tab or breakdown, so totals cannot be differenced. Anonymous and trial callers see cells rounded to the nearest 5.
terms[].excludedbooleannoTrue when exclude_terms removed it from the audience.
total_contactsinteger (0 or more) or under 10 or suppressedyesA whole number; "under 10" when disclosure control withholds a small cell; or "suppressed" when secondary suppression hides a cell of 10 or more in a cross-tab or breakdown, so totals cannot be differenced. Anonymous and trial callers see cells rounded to the nearest 5.
bundleobject or nullyes
bundle.idenum: sdm, manager_and_above, owner_managedyes
bundle.labelstringyes
bundle.statusenum: confirmed, proposed, to_confirmyes
bundle.resolves_toWhereNodeyesA group (all, any, not), a title bundle or a filter. Groups nest up to 32 deep, and a where tree holds up to 1,000 filters, groups and bundles.
filterFilter or nullyesA ready matches filter for the terms, or null for a bundle.
disclosureDisclosureyesWhether these numbers are exact or protected: "under 10" cells, rounding to 5 and secondary suppression for anonymous and trial callers.
disclosure.levelenum: exact, roundedyesexact for authenticated paid callers; rounded for anonymous and trial callers, whose counts under 100 and every cell are rounded to the nearest 5.
disclosure.rounded_tointeger or nullyes5 when numbers are rounded; null when they are exact.
disclosure.secondary_suppressionbooleanyesTrue when cross-tab or breakdown cells of 10 or more were hidden as "suppressed" so totals cannot be differenced.
disclosure.notesarray of stringyes

Example response

{
  "dataset_version": "2026-W39",
  "mode": "contains",
  "expand": ["plural_singular", "department_synonyms", "ampersand_and", "abbreviations"],
  "terms": [
    {
      "term": "Marketing Manager",
      "from_term": "marketing manager",
      "expansion_set": "input",
      "contacts": 6210
    },
    {
      "term": "Marketing Managers",
      "from_term": "marketing manager",
      "expansion_set": "plural_singular",
      "contacts": 14
    },
    {
      "term": "Mktg Manager",
      "from_term": "marketing manager",
      "expansion_set": "abbreviations",
      "contacts": "under 10"
    }
  ],
  "total_contacts": 6230,
  "bundle": null,
  "filter": {
    "field": "contact.title",
    "op": "matches",
    "terms": ["marketing manager"],
    "mode": "contains",
    "expand": ["plural_singular", "department_synonyms", "ampersand_and", "abbreviations"]
  },
  "disclosure": {
    "level": "rounded",
    "rounded_to": 5,
    "secondary_suppression": false,
    "notes": [
      "Counts under 100 and every breakdown cell are rounded to the nearest 5 for anonymous and trial callers."
    ]
  }
}

Errors

Every error is a problem object with a code and a next_step. Every response carries the RateLimit and RateLimit-Policy headers; see Rate limits.

StatusProblem codesWhen
400invalid-request, idempotency-key-required, unsupported-versionThe request could not be read, or an Idempotency-Key is missing.
422validation-failed, quote-required, dataset-unavailableThe request is not valid. errors lists every problem with a JSON pointer and did_you_mean.
429rate-limitedToo many requests. Wait for Retry-After.
Any other failureinternal-error, service-unavailable, tps-screen-expiredSomething failed on our side (500 internal-error) or the service is briefly unavailable (503 service-unavailable, with Retry-After). Nothing was charged; retry with the same Idempotency-Key. A count, sample, quote or order with telephone in play is also refused with 503 tps-screen-expired, with no Retry-After, while the dataset version's TPS and CTPS screen is more than 28 days old.