Indexing API Documentation

Build powerful indexing tools and applications using our comprehensive API. Perfect for developers, agencies, and entrepreneurs.

Build Your Own Indexing Tool & Earn Money!

Create custom indexing applications for your clients using our powerful API. Perfect for agencies, developers, and entrepreneurs looking to offer indexing services. Need help building your tool? I'm available for custom development projects.

API Endpoint

Simple REST API that works with any programming language or platform

POST /indexing-batch/with/api/key

Authentication

Include your API key in the request headers:

X-API-Key: your-api-key-here

Pricing

20 credits per URL

Credits are deducted upon successful submission

Request Parameters

ParameterTypeRequiredDescription
namestringYesBatch name for identification
urlsarrayYesArray of URLs to index
dripfeednumberNoDays to spread submission (default: 1)

Code Examples

Ready-to-use examples in popular programming languages

PHP
<?php
$api_key = "your-api-key-here";
$url = "https://your-domain.com/indexing-batch/with/api/key";

$data = array(
    'name' => 'My PHP Batch',
    'urls' => array(
        'https://example1.com',
        'https://example2.com',
        'https://example3.com'
    ),
    'dripfeed' => 1
);

$options = array(
    'http' => array(
        'header' => array(
            "Content-Type: application/json",
            "X-API-Key: " . $api_key
        ),
        'method' => 'POST',
        'content' => json_encode($data)
    )
);

$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
$result = json_decode($response, true);

if ($result['success']) {
    echo "Batch created: " . $result['data']['batchId'];
    echo "Remaining credits: " . $result['data']['remainingCredits'];
} else {
    echo "Error: " . $result['message'];
}
?>
Node.js / JavaScript
const axios = require('axios');

const createIndexingBatch = async () => {
    try {
        const response = await axios.post('https://your-domain.com/indexing-batch/with/api/key', {
            name: 'My Node.js Batch',
            urls: [
                'https://example1.com',
                'https://example2.com',
                'https://example3.com'
            ],
            dripfeed: 1
        }, {
            headers: {
                'Content-Type': 'application/json',
                'X-API-Key': 'your-api-key-here'
            }
        });

        if (response.data.success) {
            console.log('Batch created:', response.data.data.batchId);
            console.log('Remaining credits:', response.data.data.remainingCredits);
        }
    } catch (error) {
        console.error('Error:', error.response?.data?.message || error.message);
    }
};

createIndexingBatch();
Python
import requests
import json

def create_indexing_batch():
    url = "https://your-domain.com/indexing-batch/with/api/key"
    headers = {
        "Content-Type": "application/json",
        "X-API-Key": "your-api-key-here"
    }
    
    data = {
        "name": "My Python Batch",
        "urls": [
            "https://example1.com",
            "https://example2.com",
            "https://example3.com"
        ],
        "dripfeed": 1
    }
    
    try:
        response = requests.post(url, headers=headers, json=data)
        result = response.json()
        
        if result["success"]:
            print(f"Batch created: {result['data']['batchId']}")
            print(f"Remaining credits: {result['data']['remainingCredits']}")
        else:
            print(f"Error: {result['message']}")
            
    except requests.exceptions.RequestException as e:
        print(f"Request failed: {e}")

create_indexing_batch()
cURL
curl -X POST https://your-domain.com/indexing-batch/with/api/key \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key-here" \
  -d '{
    "name": "My cURL Batch",
    "urls": [
      "https://example1.com",
      "https://example2.com",
      "https://example3.com"
    ],
    "dripfeed": 1
  }'

Response Format

Understand the API response structure

Success Response

{
  "success": true,
  "data": {
    "batchId": "68c7dad9265f988545ebc774",
    "batchName": "My Batch",
    "urlsSubmitted": 3,
    "submissionStatus": "Submitted",
    "remainingCredits": 824,
    "createdAt": "2025-09-15T09:22:33.229Z"
  },
  "message": "URLs submitted for indexing"
}

Error Response

{
  "success": false,
  "message": "Insufficient credits. You have 10, but need 60."
}

Error Codes

Complete reference for API error handling

Status CodeMessageDescription
401API key is requiredMissing or invalid API key
401Invalid API keyAPI key not found or user inactive
400Insufficient creditsNot enough credits for the operation
500Server errorInternal server error

Ready to Build Your Indexing Tool?

Start building today with our powerful API, or let our team develop a custom solution for your business needs.