Purpose
Notifies search engines (Bing, Yandex, Naver, Seznam, Yep, Amazon) about new or updated URLs for instant indexing.
Architecture
Request Body
{
"source_url": "https://customer-domain.com",
"urls": [
"https://customer-domain.com/new-page/",
"https://customer-domain.com/updated-page/"
]
}
URLs must use source_url (customerβs real domain), NOT ai_site_url. This ensures search engines index the canonical URLs.
{
"status": "success",
"submitted": 2,
"accepted": 2,
"rejected": 0
}
IndexNow Protocol
IndexNow is a protocol that allows websites to notify search engines about URL changes:
- Verification - Requires a key file at
/search-company.txt
- Submission - POST to IndexNow API with URLs
- Propagation - Search engines share with each other
Workflow Position
This is Phase 3 of the boosted pages workflow:
Phase 1: Generate content (parallel)
Phase 2: Deploy to Vercel (single deployment)
Phase 3: Submit to IndexNow (this endpoint)
Code Location
src/app/apis/cron/submit_indexnow/routes.py
src/app/shared/indexnow/service.py