India API

Changelog

What changed for the people and programs calling India API, newest first. The code's full history is in the repository.

November 2026

  • Keys required for the model endpoints from 15 December 2026. From that day, OCR, speech, translation, embeddings, reranking, moderation, Roman typing, background removal, denoise, name detection and the document readers answer 401 without a free key. Everything else stays keyless.
  • A small LLM, English only (Qwen 2.5 1.5B on this server, key needed): /v1/llm/summarise, /v1/llm/classify, /v1/llm/extract (JSON that matches your schema), /v1/llm/rewrite, and an OpenAI-compatible /v1/chat/completions with streaming. 100,000 tokens a day per key.
  • New data: Census 2011 figures for India, states, districts, sub-districts and towns (/v1/census), landline STD codes (/v1/std-codes), card BIN lookup (/v1/bin/{prefix}), and the Bhagavad Gita, Aathichoodi and Kabir with transliteration (/v1/classics).
  • Free API keys. Sign up with just your email address (we mail you a code; no passwords) for a key: 3000 units a minute per key instead of 600 per address, on every endpoint. The model endpoints (OCR, speech to text, text to speech, translation, embeddings, reranking, moderation, Roman typing, background removal, denoise, and name detection in redaction) will need a key after a notice period; until then they answer with an X-Key-Notice header. See API keys.
  • Rate-limit headers on every charged answer: RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset.
  • Try it on every API page, a playground, free tools, demos and company logo pages.
  • New endpoints: batch lookups (POST /v1/batch), calendar feeds (/v1/holidays/{year}.ics), today in India (/v1/today), money calculators (/v1/calc/...: SIP, lump sum, EMI, GST, income tax, HRA, gratuity, PPF, capital gains, trade charges), avatars (/v1/avatar/{name}), placeholder images (/v1/placeholder/{size}) and chart images (/v1/chart).
  • Logos never fail. An unknown name answers with an initials tile (status 200, X-Logo-Known: false) instead of 404; fallback=none keeps the 404. New logo sets for brands, global stocks and crypto, indices, ETFs and commodities; /v1/logos falls through to them. Cached logo answers no longer count against the rate limit.

October 2026

  • Labels for attacks and errors in the log and metrics; the panchang's search for the next phase fixed.
  • AI models on the server: embeddings, reranking, moderation, name detection, translation between English and 22 Indian languages, Roman typing, speech to text.
  • File tools: OCR, image conversion and background removal, PDF tools, text to speech, audio denoise, GST invoices as PDF.