Test live URL
Fetch a page in real time and see whether Google could index it.
GET https://cotlet.dev/api/v1/google-search-console/live-urls/test
Runs Test live URL from the URL Inspection tool: Google fetches the page now and reports crawl, fetch and indexing-allowed results, and a screenshot link when the test succeeds. The page must be reachable from the internet without a login. The test does not check sitemaps, referring pages or canonical status, and it follows redirects without showing the final URL. Google keeps a daily limit of live inspections per property and publishes no number; the call fails with quota_exceeded when it is spent.
Parameters
| Name | Type | Description |
|---|---|---|
| property string required | string | Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property. |
| url string required | string | Full URL inside the property, e.g. https://example.com/blog/new-post. |
Request
curl "https://cotlet.dev/api/v1/google-search-console/live-urls/test?property=property&url=https%3A%2F%2Fexample.com" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("google-search-console", "test_live_url", {"property":"property","url":"https://example.com"}) const result = await cotlet.call('google-search-console', 'test_live_url', {"property":"property","url":"https://example.com"}); cotlet call google-search-console test_live_url --data '{"property":"property","url":"https://example.com"}' Example response
{
"url": "https://example.com/guides/search-console-api",
"live_status": "URL can be indexed",
"page_fetch": "Successful",
"crawl_allowed": true,
"indexing_allowed": true,
"screenshot": "available",
"quota": "available"
}