Short answer: search the dish on /google/search and read the recipes array. When Google shows recipe cards, each one comes back with the recipe title, the site, its star rating, review count, total time and ingredients. It is part of the normal 1-credit search answer.
The request
curl -X POST 'https://api.serpbase.dev/google/search' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"q":"chocolate chip cookie recipe","gl":"us","hl":"en"}'
What comes back
Run on 29 November 2026; the answer took 7.5 seconds. Three cards, in the second block of the page (links shortened):
"recipes": [
{
"rank": 1,
"position": 2,
"title": "The Best Chocolate Chip Cookie Recipe Ever",
"source": "JoyFoodSunshine",
"rating": "5.0",
"reviews_count": "15K",
"total_time": "30m",
"ingredients": "10 ingredients",
"link": "https://www.google.com/goto?url=CAESfwHEIkXX..."
},
{
"rank": 2,
"position": 2,
"title": "Chewy Chocolate Chip Cookies",
"source": "Sally's Baking Addiction",
"rating": "4.7",
"reviews_count": "2.1K",
"total_time": "2h 45m",
"ingredients": "10 ingredients",
"link": "https://www.google.com/goto?url=CAESegHEIkXX..."
}
]
Phone and desktop cards differ
The same query with "device":"desktop" also returned three cards, with different details:
| Field | Phone | Desktop |
|---|---|---|
ingredients | A count: 10 ingredients | Names: Brown sugar, chocolate chips, eggs, baking soda, baking powder |
total_time | 30m, 2h 45m | 30 min, 2 hr 45 min |
thumbnail_url | not sent | sent, as an inline data: image |
| Third card | Preppy Kitchen | Very Best Baking, with no rating or time |
A second dish, banana bread recipe on phone, also gave three cards (Natasha's Kitchen 5.0 from 7.2K reviews, Allrecipes 4.7 from 17K, Simply Recipes 4.8 from 2.3K), this time as the first block of the page.
Python: recipe cards with real links
import time, requests
API = "https://api.serpbase.dev"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
def post(path, body):
return requests.post(API + path, headers=HEADERS, json=body, timeout=60).json()
r = post("/google/search", {"q": "chocolate chip cookie recipe", "gl": "us", "hl": "en"})
if r["status"] != 0:
raise SystemExit(r.get("error"))
recipes = r.get("recipes", [])
real = {}
wrapped = [x["link"] for x in recipes if "google.com/goto" in x["link"]]
if wrapped:
time.sleep(1)
fixed = post("/google/resolve", {"links": wrapped})
real = {x["link"]: x["url"] for x in fixed.get("resolved_links", [])
if x.get("reason") == "resolved"}
for x in recipes:
print(x["source"], "|", x.get("rating"), "|", x.get("reviews_count"), "|",
x.get("total_time"), "|", real.get(x["link"], x["link"]))
Our run printed three lines, each ending in the real recipe address: joyfoodsunshine.com/the-most-amazing-chocolate-chip-cookies/, sallysbakingaddiction.com/chewy-chocolate-chip-cookies/ and preppykitchen.com/chewy-chocolate-chip-cookies/.
Things that trip people up
- Card links are Google wrappers. All recipe links in our runs were
google.com/gotoaddresses. The free link resolver returned the real recipe page for all three in 1.6 seconds. rating,reviews_countandtotal_timeare text as printed.15Kis not15000and2h 45mis not minutes. Convert them yourself, and expect a card without them.- You get the cards, not the recipe. There are no steps or quantities here; the phone card does not even name the ingredients. Follow the resolved link for the full recipe.
- Expect about three cards. All three of our runs returned exactly three: the cards on the page as it loads.
- No
recipeskey means no card block for that query, not an error.
Related
Short clips for the same dish come back in short_videos on desktop: see the short videos guide.
Cost and limits
One search is 1 credit; the link resolver is free; failed requests are not charged. Credits cost $0.25–$0.50 per 1,000 depending on the plan, and new accounts get 500 free credits without a card.
- Parameters and the full response: Google web search docs
- Try it in the browser: Google web search
- Credit packs: pricing