Figures of a search
get_search_metricsThe figures of a search in one call: total, places with an email address, a phone number, a website, and the estimated number of email addresses.
Free.
Same call as POST /api/v1/search/metrics of the REST API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search": "<search>"
},
"name": "get_search_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | The search, as returned by POST /categories/suggest (field "search"). Send it back as is, edited if needed. The "search" object returned by suggest_categories (target, area, filters, sort), sent as is or edited; its full schema is the "search" input of count_search. An invalid search is refused with invalid_request and the fields to fix. |