API documentation
Last updated: 7 October 2026
Submit URLs and follow their status from your own code. The API comes with the Growth pack and above, and webhooks with Pro and above. It follows the same rules as the dashboard: one credit per URL, a free pre-check, and Google rechecks on day 1, 3, 7 and 14.
Authentication
Create a key on the API page of your dashboard and send it in the Authorization header. X-API-Key: <key> works too. Keep keys on your server; anyone with a key can spend your credits. Revoke a key from the same page at any time.
Authorization: Bearer ik_live_…Base URL: https://indexkaro.com/api/v1. Requests and responses are JSON. Each key can make 60 requests a minute; the X-RateLimit-Remaining header shows what's left.
Submit URLs
POST /submit with up to 10,000 URLs. Duplicates in the same call are removed, and anything that isn't a valid http(s) URL is listed in invalid without using a credit. One credit is held for each accepted URL and returned automatically if the URL fails the pre-check. Add "drip_days": 3 (or 7, 14, 30) to spread sending over that many days.
curl -X POST https://indexkaro.com/api/v1/submit \
-H "Authorization: Bearer $INDEXKARO_KEY" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://yoursite.com/new-post", "https://yoursite.com/guide"]}'Response 201. The pre-check runs in the background, so URLs start as queued; read the batch again or use a webhook to see results.
{
"batch_id": "6f1c2a0e-8d4b-4c3e-9a51-2b7d0e4f9c10",
"created_at": "2026-10-07T09:30:00.000Z",
"source": "api",
"drip_days": null,
"total": 2,
"counts": { "queued": 2 },
"urls": [
{
"id": "0b8e5f3a-1c2d-4e6f-8a9b-0c1d2e3f4a5b",
"url": "https://yoursite.com/new-post",
"status": "queued",
"quality_score": null,
"quality_verdict": null,
"issues": [],
"block_reason": null,
"release_at": null,
"sent_at": null,
"next_check_at": null,
"googlebot_seen_at": null,
"indexed_at": null,
"last_checked_at": null
}
],
"accepted": 2,
"duplicates": 0,
"invalid": [],
"credits_used": 2,
"credits_remaining": 998
}Get a batch
GET /batches/{batch_id} returns the batch with every URL in it. googlebot_seen_at is the first verified Googlebot visit to a page that lists the URL. Poll at most once a minute; statuses change over hours and days, not seconds.
{
"batch_id": "6f1c2a0e-8d4b-4c3e-9a51-2b7d0e4f9c10",
"total": 2,
"counts": { "signal_sent": 1, "blocked": 1 },
"urls": [
{
"id": "0b8e5f3a-1c2d-4e6f-8a9b-0c1d2e3f4a5b",
"url": "https://yoursite.com/new-post",
"status": "signal_sent",
"quality_score": 75,
"quality_verdict": "likely",
"issues": [],
"sent_at": "2026-10-07T09:31:12.000Z",
"next_check_at": "2026-10-08T09:31:12.000Z",
"googlebot_seen_at": "2026-10-07T13:05:40.000Z",
"indexed_at": null,
"last_checked_at": "2026-10-08T09:32:40.000Z"
},
{
"id": "7d2c9b1e-3f4a-4b5c-9d6e-1f2a3b4c5d6e",
"url": "https://yoursite.com/guide",
"status": "blocked",
"block_reason": "Page has a noindex meta tag",
"...": "other fields as above"
}
]
}List batches
GET /batches?limit=20 returns your batches, newest first, with status counts but without the URLs. limit is 1 to 100. To get the next page, pass the next_before value from the response as ?before=.
Account
GET /account returns your email, credit balance, the biggest pack you've bought and which API features are on.
{ "email": "you@example.com", "credits": 998, "plan": "growth",
"features": { "api": true, "priority_queue": true, "webhooks": false } }URL statuses
| Status | Meaning |
|---|---|
queued | Waiting for the pre-check. |
checking | Pre-check in progress (usually under a minute). |
blocked | Failed the pre-check, for example a 404, noindex or blocked content. The credit is returned. |
scheduled | Passed the check and waiting for its drip-feed release time. |
ready | Passed the check and waiting to be sent. |
dispatching | Being placed for crawling; signals go out next. |
signal_sent | Crawl signals are out. We recheck Google on days 1, 3, 7 and 14. |
indexed | Found in Google's index at a recheck. |
not_indexed | Not found at the last recheck on day 14. The credit stays used. |
failed | Something went wrong on our side. The credit is returned. |
cancelled | A drip-feed URL you cancelled before it was sent. The credit is returned. |
Errors
Errors return a status code and a body like {"error": {"code": "invalid_urls", "message": "…"}}.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_json, invalid_urls, too_many_urls, invalid_drip_days | The request body is wrong. The message says what to fix. |
| 401 | missing_api_key, invalid_api_key | No key, or the key was revoked. |
| 402 | insufficient_credits | The account doesn't have a credit for every accepted URL. Nothing was submitted. |
| 403 | plan_required | The account hasn't bought Growth or a bigger pack yet. |
| 404 | not_found | No batch with that id on this account. |
| 429 | rate_limited | Too many requests. Wait for the number of seconds in the Retry-After header. |
| 500 | server_error | Our fault. Retry after a short wait. |
Webhooks
Add an https URL on the API page and we'll POST to it when a URL changes state. Events: url.blocked, url.signal_sent, url.indexed and url.not_indexed, plus ping when you send a test.
{
"event": "url.indexed",
"created_at": "2026-10-09T10:02:11Z",
"data": {
"id": "0b8e5f3a-1c2d-4e6f-8a9b-0c1d2e3f4a5b",
"batch_id": "6f1c2a0e-8d4b-4c3e-9a51-2b7d0e4f9c10",
"url": "https://yoursite.com/new-post",
"status": "indexed",
"quality_score": 75,
"block_reason": null,
"sent_at": "2026-10-07T09:31:12+00:00",
"indexed_at": "2026-10-09T10:02:11+00:00",
"last_checked_at": "2026-10-09T10:02:11+00:00"
}
}Every request carries these headers:
X-IndexKaro-Event: the event name.X-IndexKaro-Delivery: a unique id. A retry keeps the same id, so use it to skip duplicates.X-IndexKaro-Timestamp: Unix seconds when we signed the request.X-IndexKaro-Signature:sha256=followed by the HMAC-SHA256 of<timestamp>.<raw body>, keyed with your signing secret.
Checking the signature
import crypto from "node:crypto";
// Use the raw request body, exactly as received, not re-serialized JSON.
function isFromIndexKaro(rawBody, headers, secret) {
const timestamp = headers["x-indexkaro-timestamp"];
const received = (headers["x-indexkaro-signature"] || "").replace("sha256=", "");
const expected = crypto.createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) < 300;
return fresh && received.length === expected.length &&
crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));
}import hashlib, hmac, time
def is_from_indexkaro(raw_body: bytes, headers, secret: str) -> bool:
timestamp = headers["X-IndexKaro-Timestamp"]
received = headers.get("X-IndexKaro-Signature", "").removeprefix("sha256=")
message = timestamp.encode() + b"." + raw_body
expected = hmac.new(secret.encode(), message, hashlib.sha256).hexdigest()
fresh = abs(time.time() - int(timestamp)) < 300
return fresh and hmac.compare_digest(received, expected)Retries
Reply with any 2xx status within 10 seconds. Anything else, or a timeout, is retried after 1, 5, 30, 120 and 360 minutes, then dropped. Recent deliveries and their results are listed on the API page.
Good to know
- Accounts with Growth or a bigger pack are checked and sent ahead of the normal queue.
- IndexKaro sends crawl and discovery signals; search engines alone decide what they index. See the disclaimer.
- Questions: support@indexkaro.com.