EmailmoversMyDataHub docs
Browse the docs

Reference / REST reference

Reference

Search filter values

GET /v1/catalogue/filters/{dimension}/values. Values of one field, searched by text, each with its contact and company count, plus did_you_mean for a near miss.

Generated from the contractsView as Markdown

GET /v1/catalogue/filters/{dimension}/values

Values of one field, searched by text, each with its contact and company count, plus did_you_mean for a near miss. The dimension is the field name, such as site.town.

PropertyValue
EndpointGET https://mydatahub.emailmovers.com/v1/catalogue/filters/{dimension}/values
Operation idsearchFilterValues
CostFree (0 credits)
AccessNo account, key or token needed.
MCP toolsearch_filter_values
TagCatalogue

Request

Parameters

NameInTypeRequiredDescription
dimensionpathstringyesA field name from GET /v1/catalogue/filters, such as site.town.
qquerystringnoText to search for.
datasetqueryenum: 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.
limitqueryinteger (1 to 100)noItems per page, 1 to 100. Default 25.
cursorquerystringnoAn opaque cursor from next_cursor. Pass it back unchanged.
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.

Example request

curl "https://mydatahub.emailmovers.com/v1/catalogue/filters/site.town/values"

Responses

200: A page of values.

Headers: RateLimit, RateLimit-Policy.

MemberTypeAlways presentDescription
fieldstringyes
dataset_versionstringyesThe immutable weekly build a count is bound to, such as 2026-W39. The last 52 stay queryable.
dataarray of FilterValueyes
data[].codestring or number or booleanyesThe value to use in a filter.
data[].labelstringyes
data[].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.
data[].companiesinteger (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.
data[].parentstring or nullnoThe parent code for hierarchical fields, such as SIC division 62 under J.
has_morebooleanyes
next_cursorstring or nullyes
did_you_meanarray of stringno
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

{
  "field": "site.town",
  "dataset_version": "2026-W39",
  "data": [
    {
      "code": "leeds",
      "label": "Leeds",
      "contacts": 41210,
      "companies": 9870,
      "parent": "west_yorkshire"
    }
  ],
  "has_more": false,
  "next_cursor": null,
  "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.
404not-foundNo such object for this organisation.
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.