Datasets

Facet the BBB Scam Tracker reports dataset

Returns distribution counts over the stored BBB Scam Tracker reports (dataset id enum value bbb-scamtracker-reports), honoring the same filters as search. Counts are of stored reports. Facet enum: scam_type, state, country. country enum: USA, CAN.

get/datasets/bbb-scamtracker-reports/facets

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/datasets/bbb-scamtracker-reports/facets
  • Auth: API key in header x-api-key

Query parameters

facet'scam_type' | 'state' | 'country' required

Facet enum: scam_type, state, country

qstring

Full-text match on the report narrative and the business name used, max 256 characters

scam_typestring

Exact scam type filter

statestring

2-letter state or province code of the targeted person

country'USA' | 'CAN'

Country of the targeted person. Enum: USA, CAN

date_fromstring

Inclusive report-date floor, YYYY-MM-DD

date_tostring

Inclusive report-date ceiling, YYYY-MM-DD

min_lossnumber

Floor against the reported dollar loss, 0 or greater

max_lossnumber

Ceiling against the reported dollar loss, 0 or greater

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.