Trend Search

Performing a realtime google trends search using HTTP POST is very simple to the Google trend live endpoint.

Requires authentication

POST https://api.serphouse.com/trends/search

Headers

Request Body

{
    "status": "error",
    "msg": "validation_error",
    "error": {
        "time_zone_offset": [
            "The time zone offset field is required."
        ]
    }
}

Example request:

curl --location --request POST 'https://api.serphouse.com/trends/search' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "time_zone_offset": "-330",
    "keywords": "google,youtube",
    "time": "now 1-d",
    "property": "youtube",
    "category": "0",
    "geo": "us",
    "langauge_code": "en"
}'

Last updated