Request indexing

Press Request indexing for one URL, which puts it in Google's indexing queue.

POST https://cotlet.dev/api/v1/google-search-console/indexing/request

write

Presses Request indexing in the URL Inspection tool. If the page passes a quick check, Google adds it to the indexing queue, and refuses when the live test finds the page non-indexable. Request indexing allows about 10 requests a day per Google account, shared across all its properties; every call spends one, and when it is spent the call returns quota_exceeded and submits nothing. A request does not guarantee the page appears in Google. It reaches no one, so it runs without asking first; the agent counts the quota instead.

Parameters

Parameters: request_indexing
NameTypeDescription
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
curl -X POST https://cotlet.dev/api/v1/google-search-console/indexing/request \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}'
Python
result = client.call("google-search-console", "request_indexing", {"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"})
Node.js
const result = await cotlet.call('google-search-console', 'request_indexing', {"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"});
CLI
cotlet call google-search-console request_indexing --data '{"property":"sc-domain:example.com","url":"https://example.com/guides/search-console-api"}'

Example response

JSON

{
  "url": "https://example.com/guides/search-console-api",
  "status": "requested",
  "indexed_before": false,
  "quota": "available",
  "note": "Google queues the URL after a quick check. Indexing usually takes about a day but can take much longer."
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.