Skip to content

AV API Documentation

Welcome to the AV API - a platform for app store data scraping and analytics.

Overview

The AV API provides:

  • πŸ” Google OAuth 2.0 - Secure authentication with JWT tokens
  • πŸ“Š Dual Database - PostgreSQL for transactions, ClickHouse for analytics
  • πŸš€ Data Collection - Apple and Android app store scraping
  • πŸ“ˆ Analytics - App performance metrics and insights

Quick Navigation

πŸš€ Getting Started

πŸ”Œ API Reference

System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚             Google OAuth                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
              β”‚
              β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Django REST API               β”‚
β”‚         (JWT Authentication)             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚                       β”‚
          β–Ό                       β–Ό
    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚PostgreSQLβ”‚            β”‚ClickHouseβ”‚
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Technology Stack

  • Backend: Django 5.1, Django REST Framework
  • Databases: PostgreSQL 18.0, ClickHouse 25.5.2
  • Authentication: JWT (djangorestframework-simplejwt)
  • Documentation: OpenAPI 3.0, Scalar UI
  • Containerization: Docker, Docker Compose

API Base URL

http://localhost:8000/api/

Authentication Flow

  1. Login with Google: POST /api/auth/google/
  2. Receive JWT tokens: Access and refresh tokens
  3. Use access token: Include in Authorization header
  4. Refresh when expired: POST /api/token/refresh/

Need Help?