G2 Suggest API finds G2 product slugs by name. Each result has the id, uuid, slug and name. It is the cheapest way to turn a product name into the slug the Reviews and Product APIs need.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
1 optional filter available.
string
Required
Product name, 2 to 100 characters. Example: slack.
coffee shops
integer
Optional
Number of results, 1 to 20 (default 10). Example: 5.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"count": 1,
"query": "slack",
"results": [
{
"id": 3437,
"name": "Slack",
"slug": "slack",
"uuid": "00000000-0000-0000-0000-000000000000"
}
]
},
"meta": {
"billable": true,
"endpoint_family": "suggest"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A required parameter or a value is invalid. This response is not billable.
{
"errors": {
"query": [
"The query field is required."
]
},
"message": "The request validation failed"
}Upstream Unavailable
G2 could not be reached or returned data that does not match the request. This response is not billable and is retryable.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "suggest"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "G2 could not be reached. Please retry shortly."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.