Skip to main content
POST
Resolve Google result links
Send the link_token of a search result here to get the result’s own URL. Google Search and Google Light Search set a link_token on each organic_results item whose link is still a Google redirect (https://www.google.com/goto?url=...). One call takes 1 to 25 results. Each result comes back with its own URL in link, with the time to wait before you send it again, or with an error. A call costs 0 credits. Google hides a result’s URL behind a redirect link. It also paces how fast the links of a result page can be followed: a few at once, the rest over about a minute, and every link once the result page is about 160 seconds old. A search answers within seconds and does not wait for that. Today a search returns the real URL for the first few results of a result page, usually one to three. Each of the other results has two more fields: Both fields are null on a result whose link is already the real URL.

Body parameters

object[]
required
The results to resolve. Send 1 to 25 items.Each item needs a non-empty string link_token. Any other fields on an item (position, title, your own id) are returned unchanged on its row. You can send the organic_results items of a search response as they are. Leave out the items whose link_token is null.

Response

The response has two fields:
  • results: one row per item, in the order sent.
  • retry_after_seconds: the smallest wait among the not-ready rows, or null when no row is waiting.
Each row is one of three kinds:
The call never waits for Google. It answers in about a second. A token sent before its wait is over is not an error and costs nothing. Its row comes back not ready, with the wait that is left.
  1. Send the results that have a link_token.
  2. Keep the rows that still have a link_token and no error. Every other row is final.
  3. If no rows are left, stop.
  4. Wait the number of seconds in the response’s top-level retry_after_seconds, then send the rows you kept. Go back to step 2.
In the SDKs, resolve_all (Python) and resolveAll (Node) keep calling until every link is resolved or the time is up. See the examples.

Timing

Measured on 2026-11-23: A token can be resolved much later too. Links were resolved 22 hours after their search. Google can stop answering an old link. That link comes back as a failed row, with error.

Errors

The async request forms (async, callback_url) are not available on this endpoint.

Examples

The SDK examples need scrapebadger 0.82.0 or later, on PyPI and on npm.

Authorizations

x-api-key
string
header
required

Body

application/json

Request body of POST /v1/google/resolve.

results
ResolveItem · object[]
required

The results to resolve, 1 to 25 items. Each item needs a non-empty string link_token. Any other fields on an item (position, title, your own id) are returned unchanged on its row, so a search response's organic_results items can be sent as they are.

Required array length: 1 - 25 elements

Response

Successful Response

Response of POST /v1/google/resolve.

results
ResolvedItem · object[]
required

One row per item sent, in the order sent.

retry_after_seconds
integer | null
required

The smallest wait, in seconds, among the not-ready rows. null when no row is waiting.