fresha_search_count
Count Fresha venues matching search filters without fetching venue results, enabling market sizing and territory analysis from clean counts.
Instructions
Count Fresha venues matching a search filter set. Returns the number of Fresha (fresha.com) venues that match one search filter set, without fetching any venue: the gateway's own count field, which equals fresha-search-venues' count for the same filters (verified on every filter). Use it for market sizing and territory analysis at a fraction of a search page's cost. The filters are the same as fresha-search-venues: a latitude/longitude pair (with neither, the gateway uses its own default centre and the response reports the centre it used), query, min_price, max_price, distance_max_km (greater than 0 and at most 1000), service_gender (one or more of EVERYONE, MALE, FEMALE, comma-separated), awards (one or more of BEST_IN_CLASS, HIGHLY_RECOMMENDED, comma-separated), verified_only, has_deals, has_group_appointments, the availability window (availability_date YYYY-MM-DD, availability_start_time_from and availability_start_time_to as 24-hour HH:MM, availability_time_zone as an IANA zone) and the three treatment ids from fresha-taxonomy. count_formatted is the gateway's display string (for example 5.9K+). A zero count is an honest answer for a valid filter set; an unknown time zone is a 400.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fresha_search_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text query matched by Fresha's venue search | |
| awards | No | Fresha award filter; one or more of BEST_IN_CLASS, HIGHLY_RECOMMENDED, comma-separated | |
| latitude | No | Latitude of the search centre; supply with longitude | |
| has_deals | No | Count only venues advertising deals | |
| longitude | No | Longitude of the search centre; supply with latitude | |
| max_price | No | Maximum service price in the market's own currency | |
| min_price | No | Minimum service price in the market's own currency | |
| verified_only | No | Count only Fresha-verified venues | |
| service_gender | No | Venue gender focus; one or more of EVERYONE, MALE, FEMALE, comma-separated | |
| distance_max_km | No | Maximum distance from the centre in km, greater than 0 and at most 1000 | |
| treatment_tag_id | No | Taxonomy tag id from fresha-taxonomy, e.g. tag:haircut | |
| availability_date | No | Count only venues with an open slot on this date, YYYY-MM-DD | |
| treatment_type_id | No | Taxonomy treatment id from fresha-taxonomy, e.g. treatment:nails/wedding-nails | |
| treatment_category_id | No | Taxonomy category id from fresha-taxonomy, e.g. category:nails | |
| availability_time_zone | No | IANA time zone for the availability window | |
| has_group_appointments | No | Count only venues accepting group appointments | |
| availability_start_time_to | No | Latest appointment start time, 24-hour HH:MM | |
| availability_start_time_from | No | Earliest appointment start time, 24-hour HH:MM |