Google Search

FREEMIUM
By apigeek | Updated 2 days ago | Data
Popularity

9.9 / 10

Latency

3,830ms

Service Level

98%

Back to All Discussions

You are not subscribed to this API.

I have trial version of this API. But when I request the API it give me a message of “You are not subscribed to this API.”. Following is my python code:-

import urllib
import requests

headers = {
    "x-rapidapi-key": "MY-API-KEY",
    "x-rapidapi-host" :"google-search3.p.rapidapi.com"
}

query = {
    "q": "president election"
}

resp = requests.get("https://rapidapi.p.rapidapi.com/api/v1/search/" + urllib.parse.urlencode(query), headers=headers)

Can any one help me please.

avatar
apigeek commented 3 months ago

Hello. Not sure why it is giving you that error. Can you try reseting your API KEY through your RapidAPI Application dashboard? Sometimes the keys go into a stale state and it gives incorrect errors.

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 4.5 - Votes: 11