Google Link Decoder API
Resolve up to 10 opaque Google Search links per request. Submit complete HTTPS /goto or opaque /url links; links may come from different searches. Results retain input order. One credit per completed batch, including when Google confirms none of the links can be resolved. Partial success returns the usable destinations. Operational failures without usable results return an uncharged error.
Make a request
Use your existing PrismCrawl API key and credit balance. Each completed batch costs one credit, including when Google confirms none of the links can be resolved. Partial success preserves usable destinations. Operational failures without usable results return an uncharged error. Links may come from different searches.
curl 'https://api.prismcrawl.com/v1/google/decode' \
--request POST \
--header 'content-type: application/json' \
--header 'x-api-key: <PRISMCRAWL_API_KEY>' \
--data '{
"urls": [
"https://www.google.com/goto?url=REPLACE_WITH_THE_COMPLETE_GOOGLE_TOKEN"
]
}'Supported parameters
| Parameter | Usage |
|---|---|
urlsRequired | Array of 1–10 complete opaque Google Search URLs, each at most 4096 UTF-8 bytes. Each entry reports whether it resolved. A batch must contain at least one supported opaque Google link. |
zero_trace | Do not archive source or parsed response artifacts. |
Structured results
Read ordered outcomes from data.content.results. Each item includes its original input_url, resolved url (empty on failure), and success boolean. Failure details are not exposed. Check resolved_count and credits_used for the batch outcome. A completed lookup can return HTTP 200 with zero resolved links and one credit used.
input_urlurlsuccessSDKs and guides
The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.
- Python SDK:
pip install prismcrawl - Node.js SDK:
npm install prismcrawl