Play Store keyword ranking data service with token authentication, 5-hour cache lookup, Play Store fallback search, per-keyword email tracking, and app count metadata.
Authorization: Bearer <token>. Query params use country and either lang or language; email and emails are accepted and stored internally without being returned.
rank_data and play_store_ranks is cleared.
Bulk insert keyword rows. Each item needs keyword and list-valued data; rows are stored only when app_count is at least 7. Omitted dates default to today's IST date.
Return cached rows from the last 5 hours for a keyword list, filtered by country, language, and optional date. If date is omitted, today's IST date is used. This endpoint does not call the Play Store service.
Single keyword lookup. Checks cache from the last 5 hours for the requested date first, then fetches from Play Store if missing or stale. If refresh fails, stored data is returned when available. If date is omitted, today's IST date is used.
Bulk keyword lookup. Keywords cached in the last 5 hours return from DB for the requested date; missing or stale keywords are fetched concurrently from Play Store and returned in request order, with stored data used as fallback when refresh fails.
Read archived rank rows from rank_data. Supports limit-only, single-date, single-date with limit, range, and range with limit.
Bulk exact-match lookup for archived rank rows from rank_data. Keyword matching ignores case; omitted country, language, or date filters return all stored values. The response excludes internal IDs.