4 API Endpoints
Balance, submit, status and health.
Integrate fast URL indexing into your applications with our REST API. Submit URLs programmatically and track indexing status in real time.
Use the Truva Indexer URL indexing service from your dashboard, or connect the Truva Indexer Telegram bot for chat-based submissions.
Balance, submit, status and health.
URLs are sent to the search engine the moment you call.
Track every URL from submission to index.
Get started in minutes.
Sign up and enable your API key from the panel's Profile page. Keys look like:
trv_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Submit URLs for indexing using our REST endpoint.
curl -X POST "https://www.truvaindexer.com/api/v1/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://example.com/page"]}'
Receive instant confirmation and track your indexing progress.
{
"success": true,
"message": "1 URLs submitted successfully",
"data": {
"submitted": 1,
"failed": 0,
"tracking_ids": [123],
"credits_remaining": 150
}
}
Complete documentation for all available endpoints.
https://www.truvaindexer.com/api/v1
All API requests require authentication using your API key. You can find your key in your profile settings after signing up.
Recommended — Authorization header:
Authorization: Bearer YOUR_API_KEY
Alternative — X-API-Key header:
X-API-Key: YOUR_API_KEY
Check API service status. No authentication required.
curl "https://www.truvaindexer.com/api/v1/health"
{
"success": true,
"message": "Truva Indexer API v1.0 is running",
"data": { "version": "1.0", "status": "operational" }
}
Retrieve your account balance, credits and usage statistics.
curl "https://www.truvaindexer.com/api/v1/balance" \ -H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"message": "Balance retrieved successfully",
"data": {
"user": { "id": 1, "email": "[email protected]", "name": "You" },
"credits": { "available": 150, "used": 50 },
"statistics": {
"total_submitted": 50,
"indexed": 42
}
}
}
Submit one or more URLs for indexing.
Request body:
url string (optional) Single URL to submit urls array (optional) Multiple URLs to submit
# Single URL
curl -X POST "https://www.truvaindexer.com/api/v1/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/page"}'
# Multiple URLs
curl -X POST "https://www.truvaindexer.com/api/v1/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls": ["https://example.com/page1", "https://example.com/page2"]}'
{
"success": true,
"message": "2 URLs submitted successfully",
"data": {
"submitted": 2,
"failed": 0,
"tracking_ids": [101, 102],
"credits_remaining": 148
}
}
One credit is consumed per URL. Insufficient credits returns 402 and no credits are spent.
Check the indexing status of your submitted URLs using tracking IDs, or get recent submissions.
Query parameters:
ids string (optional) Comma-separated tracking IDs urls string (optional) Comma-separated URLs limit integer (optional) Max results (1-100, default 50)
# Recent URLs curl "https://www.truvaindexer.com/api/v1/status?limit=10" \ -H "Authorization: Bearer YOUR_API_KEY" # Specific tracking IDs curl "https://www.truvaindexer.com/api/v1/status?ids=101,102" \ -H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"message": "Status retrieved successfully",
"data": {
"count": 1,
"items": [
{
"tracking_id": 101,
"url": "https://example.com/page1",
"status": "Submitted",
"indexed_status": "pending",
"submitted_at": "2026-11-01 12:00:00",
"updated_at": "2026-11-01 12:05:00"
}
]
}
}
Missing or invalid API key.
IP not whitelisted.
Not enough credits.
No valid URLs provided.
Rate limit exceeded.
Upstream submission failed (credits refunded).
Receive a POST notification when a submission's status changes. Configure a webhook URL from the Profile page.
POST https://your-server.com/webhook
Header: X-Webhook-Secret: YOUR_WEBHOOK_SECRET
{
"tracking_id": 101,
"url": "https://example.com/page1",
"status": "indexed",
"previous_status": "submitted",
"updated_at": "2026-11-01T12:05:00+00:00"
}
Get Your API Key