Yext Knowledge API icon

Yext Knowledge API

Interact with Yext Knowledge API

Actions176

Knowledge Manager → Get Business Categories

AI-generated

Summary

Retrieve business categories filtered by language, country, and entity type using the Yext Knowledge API.

Inputs

  • Language — Filter returned categories to those applicable for the specified language using ISO 639-1 codes (e.g., 'en').
  • Country — Filter returned categories to those applicable in the specified country using ISO 3166-1 alpha-2 codes (e.g., 'US').
  • Entity Type (required) — Specify the entity type to filter categories. Options include atm, event, healthcareFacility, healthcareProfessional, location, and restaurant.

Output shape

a list of business category objects returned by the Yext Knowledge API

The output is a JSON array containing categories that match the specified filters. Optional parameters can be omitted to broaden results. The operation supports batching and request options like timeout, proxy, and insecure SSL handling via node settings.

Examples

Example 1: Get business categories for locations in the US with English language preference.

Set Language to 'en', Country to 'US', and Entity Type to 'location'.

Discussion