Search Business Profile categories by name
google-business-profile.x.businessinformation-mybusinessbusinessinformation-categories-listcategories.list — Returns a list of business categories. Search will match the category name but not the category ID. Search only matches the front of a category name (that is, 'food' may return 'Food Court' but not 'Fast Food Restaurant').
- Price
- freeAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-categories-listPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
view | string | Optional | Required. Specifies which parts to the Category resource should be returned in the response. | |
filter | string | Optional | Optional. Filter string from user. The only field that supported is `displayName`. Eg: `filter=displayName=foo`. | |
pageSize | integer | Optional | Optional. How many categories to fetch per page. Default is 100, minimum is 1, and maximum page size is 100. | |
pageToken | string | Optional | Optional. If specified, the next page of categories will be fetched. | |
regionCode | string | Optional | Required. The ISO 3166-1 alpha-2 country code. | |
languageCode | string | Optional | Required. The BCP 47 code of language. | |
- Query parameters
viewstringOptionalRequired. Specifies which parts to the Category resource should be returned in the response.
filterstringOptionalOptional. Filter string from user. The only field that supported is `displayName`. Eg: `filter=displayName=foo`.
pageSizeintegerOptionalOptional. How many categories to fetch per page. Default is 100, minimum is 1, and maximum page size is 100.
pageTokenstringOptionalOptional. If specified, the next page of categories will be fetched.
regionCodestringOptionalRequired. The ISO 3166-1 alpha-2 country code.
languageCodestringOptionalRequired. The BCP 47 code of language.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-categories-list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-categories-list",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-categories-list", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.