Google Business ProfileGoogle Business ProfileSEO/AEO

Available listing attributes by category and country

google-business-profile.x.businessinformation-mybusinessbusinessinformation-attributes-list

attributes.list — Returns the list of attributes that would be available for a location with the given primary category and country.

Price
freePelo preço do provedor
Success rate
—Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-attributes-listPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
parentstringOpcionalOptional. Resource name of the location to look up available attributes. If this field is set, `category_name`, `region_code`, `language_code` and `show_all` are not required and must not be set. Format: `locations/{location_id}` (e.g., `locations/1234567890`).
showAllbooleanoOpcionalOptional. If set to true, metadata for all available attributes are returned, disregarding `parent` and `category_name` fields. `language_code` and `region_code` are required when `show_all` is set to true.
pageSizeinteiroOpcionalHow many attributes to include per page. Default is 200, minimum is 1.
pageTokenstringOpcionalIf specified, the next page of attribute metadata is retrieved.
regionCodestringOpcionalOptional. The ISO 3166-1 alpha-2 country code to find available attributes. Required if `parent` is not set.
categoryNamestringOpcionalOptional. The primary category stable ID to find available attributes. Must be of the format `categories/{category_id}` (e.g., `categories/gcid:restaurant`). Required if `parent` is not set and `show_all` is false.
languageCodestringOpcionalOptional. The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English.
  • Parâmetros de consulta
  • parentstringOpcional

    Optional. Resource name of the location to look up available attributes. If this field is set, `category_name`, `region_code`, `language_code` and `show_all` are not required and must not be set. Format: `locations/{location_id}` (e.g., `locations/1234567890`).

  • showAllbooleanoOpcional

    Optional. If set to true, metadata for all available attributes are returned, disregarding `parent` and `category_name` fields. `language_code` and `region_code` are required when `show_all` is set to true.

  • pageSizeinteiroOpcional

    How many attributes to include per page. Default is 200, minimum is 1.

  • pageTokenstringOpcional

    If specified, the next page of attribute metadata is retrieved.

  • regionCodestringOpcional

    Optional. The ISO 3166-1 alpha-2 country code to find available attributes. Required if `parent` is not set.

  • categoryNamestringOpcional

    Optional. The primary category stable ID to find available attributes. Must be of the format `categories/{category_id}` (e.g., `categories/gcid:restaurant`). Required if `parent` is not set and `show_all` is false.

  • languageCodestringOpcional

    Optional. The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English.

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/google-business-profile.x.businessinformation-mybusinessbusinessinformation-attributes-list' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.