Skip to main content
POST
/
api
/
g2
/
products
/
search
/g2/products/search
curl --request POST \
  --url https://api.anysite.io/api/g2/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "G2SearchProduct",
    "id": 123,
    "type": "<string>",
    "rating": 123,
    "review_count": 0,
    "image": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required
Minimum string length: 1
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

name
string
required
alias
string
required
url
string
required
@type
string
default:G2SearchProduct
id
integer | null
type
string | null
rating
number | null
review_count
integer
default:0
image
string | null