📖 To learn more, take a look at our complete API
📤 Example Request
Generate an api key below👇
Install node-fetch & add the GOOEY_API_KEY
to your environment variables.
Never store the api key in your code and don't use direcly in the browser.
$ npm install node-fetch
$ export GOOEY_API_KEY=sk-xxxx
- Use this sample code to call the API.
If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import fetch from 'node-fetch';
const payload = {
"search_query": "chai",
"keywords": "tea, green, taza, fresh, natural, healthy",
"title": "tea with indian taste",
"company_url": "https://letshaveatea.com"
};
async function gooeyAPI() {
const response = await fetch("https://api.gooey.ai/v2/SEOSummary?example_id=5qzO37n8zRQ", {
method: "POST",
headers: {
"Authorization": "bearer " + process.env["GOOEY_API_KEY"],
"Content-Type": "application/json",
},
body: JSON.stringify(payload),
});
if (!response.ok) {
throw new Error(response.status);
}
const result = await response.json();
console.log(response.status, result);
}
gooeyAPI();
Generate an api key below👇
Install requests & add the GOOEY_API_KEY
to your environment variables.
Never store the api key in your code.
$ python3 -m pip install requests
$ export GOOEY_API_KEY=sk-xxxx
- Use this sample code to call the API.
If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import os
import requests
payload = {
"search_query": "chai",
"keywords": "tea, green, taza, fresh, natural, healthy",
"title": "tea with indian taste",
"company_url": "https://letshaveatea.com",
}
response = requests.post(
"https://api.gooey.ai/v2/SEOSummary?example_id=5qzO37n8zRQ",
headers={
"Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
},
json=payload,
)
assert response.ok, response.content
result = response.json()
print(response.status_code, result)
Generate an api key below👇
Install curl & add the GOOEY_API_KEY
to your environment variables.
Never store the api key in your code.
export GOOEY_API_KEY=sk-xxxx
- Run the following
curl
command in your terminal.
If you encounter any issues, write to us at [email protected] and make sure to include the full curl command and the error message.
curl 'https://api.gooey.ai/v2/SEOSummary?example_id=5qzO37n8zRQ' \
-H "Authorization: bearer $GOOEY_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"search_query": "chai",
"keywords": "tea, green, taza, fresh, natural, healthy",
"title": "tea with indian taste",
"company_url": "https://letshaveatea.com"
}'
🎁 Example Response
{4 Items"url":
string
"https://gooey.ai/seo-paragraph-generator/"
"created_at":
string
"2024-02-12T14:36:26.449710+00:00"
"output":
{5 Items"output_content":
[2 Items0:
string
"Experience the Authentic Taste of Chai with Let's …"
1:
string
"With a rich history rooted in various cultures, th…"
] "serp_results":
{5 Items"peopleAlsoAsk":
[…
]3 Items "knowledgeGraph":
{…
}7 Items "relatedSearches":
[…
]8 Items "searchParameters":
{…
}4 Items } "search_urls":
[10 Items0:
string
"https://play.google.com/store/apps/details?id=com.…"
1:
string
"https://apps.apple.com/us/app/chai-chat-ai-platfor…"
2:
string
"https://www.chai-research.com/"
3:
string
"https://en.wikipedia.org/wiki/Masala_chai"
4:
string
"https://www.foodandwine.com/tea/chai-tea/what-is-c…"
5:
string
"https://www.teatulia.com/tea-varieties/what-is-cha…"
6:
string
"https://www.myjewishlearning.com/article/what-is-c…"
7:
string
"https://chai-band.com/global/"
8:
string
"https://en.wikipedia.org/wiki/Chai"
9:
string
"https://www.clintonhealthaccess.org/"
] "summarized_urls":
[10 Items] "final_prompt":
string
"I will give you a URL and focus keywords and using…"
} } Please Login to generate the $GOOEY_API_KEY