API reference · Search engines
Google Link Resolver
Free: turn Google's google.com/goto and /url result-link wrappers into the real page URLs, up to 50 links per request, from a list or a pasted search answer.
Example
curl -X POST 'https://api.serpbase.dev/google/resolve' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"links":["https://www.google.com/url?sa=t&url=https%3A%2F%2Fwww.example.com%2F"]}'No recorded response is published for this endpoint yet. Run the example in the Playground to see a live one.
Parameters
linksMore
or /url?...). Anything else is refused. Duplicates are resolved once.
responseMore
Every Google result link in it is resolved, in the order it appears. Send links or response, not both.
countryMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
cursorMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
deviceMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
glMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
google_domainMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
gooogle_domainMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
hlMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
htmlMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
languageMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
limitMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
markdownMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
mobileMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
numMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
pageMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
qMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
resultsMore
Use one spelling at a time; the API validates the parameters and values supported by this product.
Free (0 credits). Limits: 50 links per request and 30 requests per minute per account. Google rate-limits these links, so a request can take up to about 25 seconds; links it could not finish come back with reason paced_over_budget and can simply be sent again.
What comes back
Fields that are not on the page for a given request are left out rather than sent empty.
resolved_linksResolvedLink[]required
One entry per link, in request order.
ResolvedLink Result item schema
linkstringrequired
The Google link as sent.
urlstringWhen resolved.
The page the link leads to. Absent when it could not be resolved this time.
reasonstringrequired
resolved, or why not: paced_over_budget (Google asked us to wait longer than one request allows; send it again), challenge, no_location, timeout, not_a_wrapper, error.
If it fails
A failed request has a non-zero status and an error, and is not charged. The ones you will see here:
1000A parameter is missing or wrongFix the request1020No credits leftTop up1029Over your requests per secondWait Retry-After seconds1502 · 1504The source could not be read this timeRetry