Welcome a new addition to our DataForSEO Labs API – the Categories for Keywords endpoint for Google search engine.
This endpoint provides Google product and service categories related to each specified keyword, making it easier than ever to categorize and understand your keyword data. You can specify up to 1,000 keywords in a single API request.
Here’s an example response.
{
"version": "0.1.20240626",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0969 sec.",
"cost": 0.00103,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "07121857-1535-0587-0000-8673f930481b",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0382 sec.",
"cost": 0.00103,
"result_count": 1,
"path": [
"v3",
"dataforseo_labs",
"google",
"categories_for_keywords",
"live"
],
"data": {
"api": "dataforseo_labs",
"function": "categories_for_keywords",
"se_type": "google",
"language_code": "en",
"keywords": [
"dentist new york",
"pizza brooklyn",
"car dealer los angeles"
]
},
"result": [
{
"language_code": "en",
"items_count": 3,
"items": [
{
"keyword": "dentist new york",
"categories": [
10011,
10091,
10514,
11797
]
},
{
"keyword": "pizza brooklyn",
"categories": [
10020,
10169,
12228
]
},
{
"keyword": "car dealer los angeles",
"categories": [
10001,
13655,
13656
]
}
]
}
]
}
]
}
Note that there’s a separate list of supported languages for the Categories for Keywords endpoint available in our documentation.
Integrating the Categories for Keywords endpoint into your workflow will help you to:
- Quickly organize your keyword lists based on Google’s product and service categories.
- Understand what types of products or services are associated with your keywords.
- Identify new opportunities by exploring categories relevant to your target keywords.
So, don’t hesitate to get started by visiting the endpoint’s documentation page.