Google Search
Google Search
Endpoint
GET /api/v1/google/search
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| query | query | Yes | string | Search keyword |
Response
Schema:
json
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": ""
},
"message": {
"type": "string",
"description": ""
},
"data": {
"type": "array",
"description": "",
"items": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
}
}
},
"requestId": {
"type": "string",
"description": ""
},
"timestamp": {
"type": "integer",
"description": "",
"format": "int64"
}
}
}Copy Request
bash
curl -X GET "https://api.justserpapi.com/api/v1/google/search" \
-H "X-API-Key: YOUR_API_KEY"js
const res = await fetch("https://api.justserpapi.com/api/v1/google/search", {
method: "GET",
headers: {
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await res.json();
console.log(data);