快速入門
不到 5 分鐘即可取得第一份 SERP 回應。最快的方式是先在控制台建立金鑰,再直接前往已自動填入該金鑰的 Google 搜尋測試工具。
1. 註冊帳戶
造訪我們的官方網站並註冊一個新帳戶。註冊後,您的帳戶將自動獲得免費額度,以便您立即開始測試。
2. 在控制台建立 API 金鑰
登入後,在儀表板中開啟 API 金鑰 區段,然後點擊 建立新金鑰。建立金鑰後,使用 在文件中測試 Google 搜尋 動作,開啟已填入您金鑰的 Google 搜尋測試工具。
3. 發送您的第一個 Google 搜尋請求
如果您從儀表板進入,測試器會自動預填您的 API 金鑰和 query=coffee。否則,您仍可手動貼上金鑰並在此處發送請求。
使用您偏好的工具(curl、Postman 或任何程式語言)發送請求。所有請求必須在 X-API-Key 標頭中包含您的 API 金鑰。
範例請求(curl)
bash
curl -X GET "https://api.justserpapi.com/api/v1/google/search?query=coffee" \
-H "X-API-Key: YOUR_API_KEY"範例回應
json
{
"code": 200,
"message": "success",
"data": {
"search_information": {
"query_displayed": "coffee",
"organic_results_state": "Results for exact spelling"
},
"menu_items": [
{
"title": "Maps",
"link": "https://www.google.com/url?q=http://maps.google.com/maps%3Fq%3Dcoffee%26gl%3Dus%26hl%3Den%26gbv%3D1%26um%3D1%26ie%3DUTF-8%26ved%3D1t:200713%26ictx%3D111&opi=89978449&sa=U&ved=0ahUKEwj5x-DzhMSSAxWmhv0HHdsLO3sQiaAMCAYoAQ&usg=AOvVaw2W3fdlaxHazMbhelYGVlJA",
"position": 1
},
{
"title": "Images",
"link": "https://www.google.com/search?q=coffee&sca_esv=6db730eca1f1f010&gl=us&hl=en&gbv=1&tbm=isch&source=lnms&sa=X&ved=0ahUKEwj5x-DzhMSSAxWmhv0HHdsLO3sQ_AUIBygC",
"position": 2
},
{
"title": "Videos",
"link": "https://www.google.com/search?q=coffee&sca_esv=6db730eca1f1f010&gl=us&hl=en&gbv=1&tbm=vid&source=lnms&sa=X&ved=0ahUKEwj5x-DzhMSSAxWmhv0HHdsLO3sQ_AUICCgD",
"position": 3
},
{
"title": "News",
"link": "https://www.google.com/search?q=coffee&sca_esv=6db730eca1f1f010&gl=us&hl=en&gbv=1&tbm=nws&source=lnms&sa=X&ved=0ahUKEwj5x-DzhMSSAxWmhv0HHdsLO3sQ_AUICSgE",
"position": 4
},
{
"title": "Books",
"link": "https://www.google.com/search?q=coffee&sca_esv=6db730eca1f1f010&gl=us&hl=en&gbv=1&udm=36&source=lnms&sa=X&ved=0ahUKEwj5x-DzhMSSAxWmhv0HHdsLO3sQ_AUICigF",
"position": 5
}
],
"peopleAlsoAskedFor": [
{
"question": "What does coffee do to your body?",
"answers": "Caffeine is the first thing that comes to mind when you think about coffee. But coffee also contains antioxidants and other active substances that may reduce internal inflammation and protect against disease, say nutrition experts from Johns Hopkins University School of Medicine.",
"link": "https://www.hopkinsmedicine.org/health/wellness-and-prevention/9-reasons-why-the-right-amount-of-coffee-is-good-for-you",
"displayed_link": "www.hopkinsmedicine.org › health › wellness-and-prevention › 9-reasons-...",
"rank": 1
},
{}
],
"organic_results": [
{
"title": "Coffee - Wikipedia",
"displayed_link": "https://en.wikipedia.org › wiki › Coffee",
"snippet": "Coffee is a beverage brewed from roasted, ground coffee beans. Darkly colored, bitter, and slightly acidic, coffee has a stimulating effect on humans",
"date": "",
"missing": [],
"link": "https://en.wikipedia.org/wiki/Coffee",
"favicon": "https://www.google.com/s2/favicons?domain=en.wikipedia.org",
"rank": 1,
"page_rank": 1
},
{
"title": "r/Coffee - Reddit",
"displayed_link": "https://www.reddit.com › Coffee",
"snippet": "r/Coffee: /r/Coffee is back - for now - and talking about itself, in addition to coffee.",
"date": "",
"missing": [],
"link": "https://www.reddit.com/r/Coffee/",
"favicon": "https://www.google.com/s2/favicons?domain=www.reddit.com",
"rank": 2,
"page_rank": 2
},
{
"title": "Starbucks Coffee Company",
"displayed_link": "https://www.starbucks.com",
"snippet": "Explore our winter menu of handcrafted drinks, order ahead, sign up for Starbucks® Rewards, manage your gift card and more.",
"date": "Feb 9, 2025",
"missing": [],
"link": "https://www.starbucks.com/",
"favicon": "https://www.google.com/s2/favicons?domain=www.starbucks.com",
"rank": 3,
"page_rank": 3
},
{
"title": "Coffee - The Nutrition Source",
"displayed_link": "https://nutritionsource.hsph.harvard.edu › food-features › coffee",
"snippet": "A plain “black” cup of coffee is a very low calorie drink—8 ounces only contains 2 calories! However, adding sugar, cream, and milk can quickly bump up the ...",
"date": "",
"missing": [],
"link": "https://nutritionsource.hsph.harvard.edu/food-features/coffee/",
"favicon": "https://www.google.com/s2/favicons?domain=nutritionsource.hsph.harvard.edu",
"rank": 4,
"page_rank": 4
},
{
"title": "Peet's Coffee | The Original Craft Coffee Since 1966",
"displayed_link": "https://www.peets.com",
"snippet": "Since 1966, Peet's Coffee has sourced and offered superior coffees and teas adhered to strict high-quality and taste standards. Shop online today.",
"date": "",
"missing": [],
"link": "https://www.peets.com/",
"favicon": "https://www.google.com/s2/favicons?domain=www.peets.com",
"rank": 5,
"page_rank": 5
},
{
"title": "What is coffee? - NCA - About Coffee",
"displayed_link": "https://www.aboutcoffee.org › Origins",
"snippet": "What is coffee made of? Learn about the coffee tree, its lifespan, how it produces coffee beans, and the two most common coffee species, arabica and ...",
"date": "",
"missing": [],
"link": "https://www.aboutcoffee.org/origins/what-is-coffee/",
"favicon": "https://www.google.com/s2/favicons?domain=www.aboutcoffee.org",
"rank": 6,
"page_rank": 6
},
{
"title": "Stumptown Coffee Roasters: Craft Coffee Beans Online & In Shops",
"displayed_link": "https://www.stumptowncoffee.com",
"snippet": "Stumptown Coffee Roasters brings you fresh beans, cold brew, and good vibes. Order online, visit a shop, or subscribe for the long haul.",
"date": "",
"missing": [],
"link": "https://www.stumptowncoffee.com/?srsltid=AfmBOooCkaR6aiYf5nYvWefvhHEzhV3PBJSxTpLY_0S6cmtwkA18HF7g",
"favicon": "https://www.google.com/s2/favicons?domain=www.stumptowncoffee.com",
"rank": 7,
"page_rank": 7
},
{
"title": "Coffee - Walmart.com",
"displayed_link": "https://www.walmart.com › coffee",
"snippet": "Free 90-day returnsShop for Coffee at Walmart.com. Buy Ground coffee, coffee pods, instant coffee, and whole bean coffee. Save money. Live better.",
"date": " 4.3 4.4K ",
"missing": [],
"link": "https://www.walmart.com/cp/coffee/1086446",
"favicon": "https://www.google.com/s2/favicons?domain=www.walmart.com",
"rank": 8,
"page_rank": 8
},
{
"title": "Community Coffee | #1 Family-Owned Retail Coffee Brand in America",
"displayed_link": "https://www.communitycoffee.com",
"snippet": "$7.95 delivery 30-day returnsFrom responsible sourcing to expert roasting, we make our premium coffee with over 105 years of experience.",
"date": "$7.95 delivery",
"missing": [],
"link": "https://www.communitycoffee.com/?srsltid=AfmBOorY9S2IeNPi_rkRTJq6G33k9NxMDZfAYrV9Uk4eCu27GycUAZMW",
"favicon": "https://www.google.com/s2/favicons?domain=www.communitycoffee.com",
"rank": 9,
"page_rank": 9
},
{
"title": "Death Wish Coffee: #1 Organic and #1 Fair Trade Coffee",
"displayed_link": "https://www.deathwishcoffee.com",
"snippet": "Bold, Smooth and Delicious since 2012. We source USDA Organic and Fair Trade Certified™ arabica and robusta coffee beans from India, Peru, and other ...",
"date": "",
"missing": [],
"link": "https://www.deathwishcoffee.com/?srsltid=AfmBOorFOBqnagdoW6299o2-e5V_hjA09vibdWABecQoVsPwAZCTRV39",
"favicon": "https://www.google.com/s2/favicons?domain=www.deathwishcoffee.com",
"rank": 10,
"page_rank": 10
}
],
"relatedSearches": [
{
"query": "Coffee nearby",
"link": "https://google.com/search?gl=us&q=Coffee+nearby"
},
{
"query": "Coffee types",
"link": "https://google.com/search?gl=us&q=Coffee+types"
},
{
"query": "Coffee Pic",
"link": "https://google.com/search?gl=us&q=Coffee+Pic"
},
{
"query": "Coffee brands",
"link": "https://google.com/search?gl=us&q=Coffee+brands"
},
{
"query": "Coffee Powder",
"link": "https://google.com/search?gl=us&q=Coffee+Powder"
},
{
"query": "Coffee NESCAFÉ",
"link": "https://google.com/search?gl=us&q=Coffee+NESCAFÉ"
},
{
"query": "Coffee beans",
"link": "https://google.com/search?gl=us&q=Coffee+beans"
},
{
"query": "Coffee benefits",
"link": "https://google.com/search?gl=us&q=Coffee+benefits"
}
],
"pagination": {
"page_no": {}
},
"scrapingdog_pagination": {
"page_no": {}
}
},
"requestId": "b8c34a1d-0307-42e6-9460-a58774d063ee",
"timestamp": 1770352476724
}