Skip to main content
POST
Resolve a Google redirect link
Google serves many result links as /goto?url=<token> redirects, where the token is encrypted on Google’s side. cloro tries to resolve them, so link and the other URL fields hold real destinations, and returns the redirect beside each one as redirectLink. Resolving a redirect can take longer, so a link can come back unresolved. Always have a fallback for this case.
redirectLink is the absolute form POST /v1/monitor/google/goto takes, so you can resolve one yourself later. It is omitted when Google served a plain link, so its absence means there was no redirect. Plaintext /url?q= links carry their destination in the URL itself and are unwrapped for you, with no redirectLink. It appears on any link field Google served as a redirect, across Google Search, Google News and AI Mode. Shopping and Maps links are Google’s own URLs rather than redirects, so they carry none. Sponsored results on Google Search are the exception: an ad’s /aclk URL is a tracking link rather than a redirect, and following it registers a click against the advertiser, so ads carry no redirectLink.
Links inside markdown and text are resolved destinations, or the absolute /goto redirect when they are not resolved yet. Read redirectLink from the structured fields. html is the archived page exactly as Google served it and keeps its /goto hrefs.
A link or url that is empty, missing, or a google.com/goto URL is unresolved. Pass redirectLink to POST /v1/monitor/google/goto to get the destination. An organic result’s readMore object has its own link and redirectLink, and works the same way.
POST /v1/monitor/google/goto takes one redirect link and returns where it points.
The endpoint costs 0 credits for paying customers (an active subscription or bought credits), with no sync surcharge. Plaintext /url?q= links cost the same. One link per request. Each request appears in your request logs like any other monitor request. If the link does not resolve, the call returns 502 with the message goto did not answer a redirect, and you can retry it later.

Limits

Link resolution does not use your plan’s concurrency slots, so resolving links never blocks your other monitor requests. Instead, the endpoint has its own cap of 500 requests per second per organization. All API keys in your organization share this cap. The global limit of 1,000 requests per second per endpoint, per API key, applies first. Over the organization cap, the call returns 429:
On this endpoint, X-RateLimit-Limit shows the organization cap (500) and X-RateLimit-Remaining shows what your organization has left in the current second. The counter resets every second, so back off briefly and retry.

Authorizations

Authorization
string
header
required

cloro API key as a bearer token. One key grants every endpoint in this spec; per-key scopes are not available, so a client cannot request a narrower permission. Keys are created and revoked in the dashboard.

Body

application/json

The Google redirect link to resolve

url
string<uri>
required

The Google redirect link to resolve, as an absolute URL. Must be a google.com or www.google.com link with a /goto or /url path — the form shipped as redirectLink beside every resolved link on Google Search, Google News, and AI Mode responses.

Example:

"https://www.google.com/goto?url=CAESaQHrOzAVqzmLoOGwx_6OnzSPRKSyqmXD3yEDa0VIkUCfa5RKEaB9eIJOYz_M1y_VwKrr5jrSlrFlZlBUbe9DQXMPRUiSOrjBMQ78vpRZtXEhawDDabM58DDRHnv2f-XOQAWw-nwkup9ptQ"

Response

The destination the redirect link points to

url
string<uri>
required

The destination the redirect link points to

Example:

"https://www.youtube.com/watch?v=pma08NXw8Ts&t=541"