Get the target of a Google redirect link

Returns the destination URL of a single Google redirect link. Pass the redirectLink value that accompanies each resolved link in a Google Search, Google News or AI Mode response; the reply contains the URL it leads to.

Free of charge, but it counts toward the per-second rate limit the same way other calls do. One link is resolved per request, and Google is given up to 10 seconds to respond.

post/v1/monitor/google/goto

Request

  • Base URL: https://api.answerline.dev
  • URL: https://api.answerline.dev/v1/monitor/google/goto
  • Auth: HTTP bearer

Request body

urlstring uri required

Absolute URL of a Google redirect link that you want resolved. It must point to google.com or www.google.com and use a path of /goto or /url, which is the form returned as redirectLink alongside each resolved link in AI Mode, Google Search and Google News responses.

Example request

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

Response

Target URL that the redirect link leads to

urlstring uri required

Target URL that the redirect link leads to

Example response

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

Changes

No recorded changes to this operation across all 1 revision of this API.