IndexChecker API

API V1

The IndexChecker API lets you check index status for one or more URLs using your API token. Credits are charged only for definitive results (Page Index / Page Not Index).

Authentication

This API uses an access token. Generate or rotate your token in the API page.

Authentication Header
X-Access-Token: {YOUR_TOKEN}

Check Index Status

Check index status for one or more URLs. Credits are charged only for definitive results.

Endpoint

POST /api/v1/check
POST /api/v1/check

Headers

Parameter Type Required Description
X-Access-Token string required Your API token
Content-Type string required application/json

Body

Parameter Type Required Description
urls array required Array of URLs to check. Processed at 1 URL/second on the server.

cURL Example

cURL
curl -X POST \
  https://app.indexchecker.io/api/v1/check \
  -H "Content-Type: application/json" \
  -H "X-Access-Token: YOUR_TOKEN" \
  -d '{
    "urls": [
      "https://example.com/page1",
      "https://example.com/page2"
    ]
  }'

Example Request

JSON
{
  "urls": [
    "https://example.com/page1",
    "https://example.com/page2"
  ]
}

Example Response

JSON
{
  "ok": true,
  "charged": 2,
  "results": [
    { "url": "https://example.com/page1", "status": "Page Index" },
    { "url": "https://example.com/page2", "status": "Page Not Index" }
  ]
}

Check Credits

Check your remaining credits balance. This endpoint uses GET method and requires only the authentication header.

Endpoint

GET /api/v1/credits
GET /api/v1/credits

Headers

Parameter Type Required Description
X-Access-Token string required Your API token

Body

No request body required for GET requests.

cURL Example

cURL
curl -X GET \
  https://app.indexchecker.io/api/v1/credits \
  -H "X-Access-Token: YOUR_TOKEN"

Example Response

JSON
{
  "ok": true,
  "credits_remaining": 200,
  "user_name": "John Doe"
}

Error Handling

The API uses standard HTTP status codes to indicate the success or failure of an API request. In general, 2xx status codes indicate success, 4xx status codes indicate an error that failed given the information provided (e.g., a required parameter was missing, a charge failed, etc.), and 5xx status codes indicate an error with IndexChecker's servers.

Error Response

JSON
{
  "status": "error",
  "message": "Invalid API key provided."
}

Status Codes

200 OK
Success
400 Bad Request
Invalid request parameters
401 Unauthorized
Missing or invalid API key
403 Forbidden
Insufficient permissions
404 Not Found
Resource not found
429 Too Many Requests
Rate limit exceeded
500 Internal Server Error
Something went wrong on our end

Example Error Responses

Invalid Token
{
  "error": "Invalid or revoked token"
}
Insufficient Credits
{
  "error": "Insufficient credits"
}
Rate Limiting
{
  "message": "Too Many Attempts."
}
Denounce with righteous indignation and dislike men who are beguiled and demoralized by the charms pleasure moment so blinded desire that they cannot foresee the pain and trouble.