{
    "info": {
        "name": "APK API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": "APK API — Google Play data. Set the apiKey variable to your key from https://apkapi.com/cabinet.php?tab=keys. Docs: https://apkapi.com/api-docs.php"
    },
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://apkapi.com/api/v1"
        },
        {
            "key": "apiKey",
            "value": "YOUR_KEY"
        }
    ],
    "item": [
        {
            "name": "Account",
            "item": [
                {
                    "name": "/account",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/account",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "account"
                            ],
                            "query": []
                        },
                        "description": "Your plan, tokens and limits. Free."
                    }
                }
            ]
        },
        {
            "name": "Aplikacje",
            "item": [
                {
                    "name": "/app",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/app?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "app"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "nazwa pakietu aplikacji"
                                }
                            ]
                        },
                        "description": "Pełna karta aplikacji: nazwa, opis, „Co nowego”, instalacje (próg i dokładna liczba), ocena, liczba ocen i opinii, rozkład gwiazdek, cena, zakupy, reklamy, kategoria, klasyfikacja wiekowa, wersja, minimalny Android, daty wydania i aktualizacji, ikona, zrzuty ekranu, wideo, deweloper i jego strona. Dla usuniętych — ostatnie zapisane dane i data usunięcia. Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/apps",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/apps?ids=com.whatsapp,org.telegram.messenger",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "apps"
                            ],
                            "query": [
                                {
                                    "key": "ids",
                                    "value": "com.whatsapp,org.telegram.messenger",
                                    "description": "nazwy pakietów po przecinku, do 100"
                                }
                            ]
                        },
                        "description": "Do 100 kart aplikacji jednym żądaniem: GET ?ids=a,b,c lub POST z listą w treści (po jednej w wierszu albo JSON {\"ids\": […]}). 1 token za każdą aplikację; nieznalezione trafiają do not_found. Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/apps",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "text/plain"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/apps",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "apps"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "com.whatsapp\norg.telegram.messenger"
                        },
                        "description": "POST variant: one package name per line in the body."
                    }
                },
                {
                    "name": "/search",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/search?q=photo editor&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "search"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "photo editor",
                                    "description": "słowa do wyszukania w nazwie, opisie i nazwie dewelopera"
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "ID kategorii, np. GAME_PUZZLE (zob. /v1/categories)",
                                    "disabled": true
                                },
                                {
                                    "key": "developer_id",
                                    "value": "",
                                    "description": "ID dewelopera w Google Play",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "minimum instalacji (progi Google Play: 1000, 10000…)",
                                    "disabled": true
                                },
                                {
                                    "key": "max_installs",
                                    "value": "",
                                    "description": "maksimum instalacji",
                                    "disabled": true
                                },
                                {
                                    "key": "min_score",
                                    "value": "",
                                    "description": "minimalna ocena, 0–5",
                                    "disabled": true
                                },
                                {
                                    "key": "min_ratings",
                                    "value": "",
                                    "description": "minimum ocen",
                                    "disabled": true
                                },
                                {
                                    "key": "free",
                                    "value": "",
                                    "description": "true — tylko darmowe, false — tylko płatne",
                                    "disabled": true
                                },
                                {
                                    "key": "ads",
                                    "value": "",
                                    "description": "true — z reklamami, false — bez",
                                    "disabled": true
                                },
                                {
                                    "key": "iap",
                                    "value": "",
                                    "description": "true — z zakupami w aplikacji",
                                    "disabled": true
                                },
                                {
                                    "key": "lang",
                                    "value": "",
                                    "description": "język nazwy, kod ISO: en, de, pt…",
                                    "disabled": true
                                },
                                {
                                    "key": "released_from",
                                    "value": "",
                                    "description": "wydane od tej daty, YYYY-MM-DD",
                                    "disabled": true
                                },
                                {
                                    "key": "released_to",
                                    "value": "",
                                    "description": "wydane do tej daty włącznie",
                                    "disabled": true
                                },
                                {
                                    "key": "updated_from",
                                    "value": "",
                                    "description": "zaktualizowane od tej daty",
                                    "disabled": true
                                },
                                {
                                    "key": "updated_to",
                                    "value": "",
                                    "description": "zaktualizowane do tej daty włącznie",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live (w sklepie, domyślnie), removed lub all",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Wyszukiwanie i filtry w całej bazie. Wymagany jest co najmniej jeden filtr. Bez q sortowanie odbywa się według instalacji. Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/suggest",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/suggest?q=whats",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "suggest"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "whats",
                                    "description": "początek nazwy, od 2 znaków"
                                }
                            ]
                        },
                        "description": "Podpowiedzi według początku nazwy: 10 najpopularniejszych dopasowań. Bezpłatnie. Cost: 0 token(s)."
                    }
                }
            ]
        },
        {
            "name": "Deweloperzy",
            "item": [
                {
                    "name": "/developer",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/developer?id=5191370068110375942&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "developer"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "5191370068110375942",
                                    "description": "ID dewelopera (z karty aplikacji: developer.id)"
                                },
                                {
                                    "key": "name",
                                    "value": "",
                                    "description": "lub dokładna nazwa dewelopera",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "all (domyślnie), live lub removed",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Deweloper i wszystkie jego aplikacje: liczba (w sklepie i usuniętych), łączne instalacje, średnia ocena, pierwsze wydanie, kategorie, strona. W planie Business — e-mail, telefon, adres i nazwa prawna. Cost: 2 token(s)."
                    }
                }
            ]
        },
        {
            "name": "Zmiany w sklepie",
            "item": [
                {
                    "name": "/new",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/new?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "new"
                            ],
                            "query": [
                                {
                                    "key": "since",
                                    "value": "",
                                    "description": "od tej daty, YYYY-MM-DD (domyślnie 7 dni temu)",
                                    "disabled": true
                                },
                                {
                                    "key": "until",
                                    "value": "",
                                    "description": "do tej daty włącznie",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "ID kategorii, np. GAME_PUZZLE (zob. /v1/categories)",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "minimum instalacji (progi Google Play: 1000, 10000…)",
                                    "disabled": true
                                },
                                {
                                    "key": "lang",
                                    "value": "",
                                    "description": "język nazwy, kod ISO: en, de, pt…",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Nowe aplikacje według daty pierwszego wydania, najnowsze na początku. Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/removed",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/removed?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "removed"
                            ],
                            "query": [
                                {
                                    "key": "since",
                                    "value": "",
                                    "description": "od tej daty, YYYY-MM-DD (domyślnie 7 dni temu)",
                                    "disabled": true
                                },
                                {
                                    "key": "until",
                                    "value": "",
                                    "description": "do tej daty włącznie",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "ID kategorii, np. GAME_PUZZLE (zob. /v1/categories)",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "minimum instalacji (progi Google Play: 1000, 10000…)",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "removed_at | installs | score",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Aplikacje, które zniknęły z Google Play (nie ma ich w żadnym z 19 sprawdzanych przez nas krajów), według daty usunięcia. Karta zachowuje ostatnie dane. Cost: 2 token(s)."
                    }
                }
            ]
        },
        {
            "name": "Rynek",
            "item": [
                {
                    "name": "/keywords",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/keywords?lang=en&q=vpn&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "keywords"
                            ],
                            "query": [
                                {
                                    "key": "lang",
                                    "value": "en",
                                    "description": "język, domyślnie en"
                                },
                                {
                                    "key": "q",
                                    "value": "vpn",
                                    "description": "słowo lub fraza"
                                },
                                {
                                    "key": "phrase",
                                    "value": "",
                                    "description": "true — tylko frazy dwuwyrazowe, false — tylko pojedyncze słowa",
                                    "disabled": true
                                },
                                {
                                    "key": "min_apps",
                                    "value": "",
                                    "description": "minimum aplikacji",
                                    "disabled": true
                                },
                                {
                                    "key": "max_apps",
                                    "value": "",
                                    "description": "maksimum aplikacji",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "opportunity | apps | installs | strong | devs | max_installs",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Słowa i frazy z nazw aplikacji osobno dla każdego języka: ile aplikacji i deweloperów z nich korzysta, ile z nich jest silnych (100 tys.+ instalacji), łączne instalacje, udział lidera i ocena szansy (opportunity). Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/categories?",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "categories"
                            ],
                            "query": [
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live (w sklepie, domyślnie), removed lub all",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Wszystkie kategorie z liczbą aplikacji i łącznymi instalacjami. Bezpłatnie. Cost: 0 token(s)."
                    }
                },
                {
                    "name": "/free_domains",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/free_domains?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "free_domains"
                            ],
                            "query": [
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "ID kategorii, np. GAME_PUZZLE (zob. /v1/categories)",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "minimum instalacji (progi Google Play: 1000, 10000…)",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live (w sklepie, domyślnie), removed lub all",
                                    "disabled": true
                                },
                                {
                                    "key": "tld",
                                    "value": "",
                                    "description": "strefa domenowa, np. com",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Aplikacje, których domena strony dewelopera jest wolna do rejestracji, wraz z popularnością aplikacji. Dostępne po pierwszym zakupie tokenów. Cost: 3 token(s)."
                    }
                },
                {
                    "name": "/charts",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/charts?country=US&category=GAME_PUZZLE&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "charts"
                            ],
                            "query": [
                                {
                                    "key": "country",
                                    "value": "US",
                                    "description": "kraj, kod ISO: US, DE, BR…"
                                },
                                {
                                    "key": "category",
                                    "value": "GAME_PUZZLE",
                                    "description": "kategoria, np. GAME_PUZZLE"
                                },
                                {
                                    "key": "collection",
                                    "value": "",
                                    "description": "free | paid | grossing",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Ranking top Google Play dla jednego kraju i jednej kategorii: do 200 pozycji, zmiana miejsca względem poprzedniego stanu (change: o ile pozycji w górę, \"new\" — nowość w rankingu), ikona i instalacje. Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/rankings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/rankings?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "rankings"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "nazwa pakietu aplikacji"
                                },
                                {
                                    "key": "country",
                                    "value": "",
                                    "description": "tylko jeden kraj",
                                    "disabled": true
                                },
                                {
                                    "key": "collection",
                                    "value": "",
                                    "description": "free | paid | grossing",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "Wszystkie rankingi, w których aplikacja jest w ostatnim stanie: kraj, kategoria, kolekcja, pozycja; liczba rankingów, krajów i najlepsze miejsce. Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/availability",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/availability?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "availability"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "nazwa pakietu aplikacji"
                                }
                            ]
                        },
                        "description": "Kraje, w których aplikacja jest dostępna w Google Play (według hreflang w sitemapie sklepu). Gdy krajów jest 190+, zwracane jest worldwide = true bez listy. Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/markets",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/markets?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "markets"
                            ],
                            "query": [
                                {
                                    "key": "country",
                                    "value": "",
                                    "description": "kraj, kod ISO",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "ID kategorii, np. GAME_PUZZLE (zob. /v1/categories)",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "entry100 | entry200 | new_share | local_share | local_apps | local_installs | local_new",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "strona, od 1",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "wierszy na stronie, 1–100 (domyślnie 20)"
                                }
                            ]
                        },
                        "description": "Konkurencyjność rynków na podstawie rankingów darmowych: próg wejścia do top 100 i top 200 (instalacje aplikacji na tym miejscu), udział nowych (z 12 miesięcy) i lokalnych (≤3 kraje) aplikacji w topie, wielkość rynku lokalnego. Bez parametrów — wszystkie kraje; country — kategorie jednego kraju; category — jedna kategoria we wszystkich krajach. Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/stats",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/stats",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "stats"
                            ],
                            "query": []
                        },
                        "description": "Rozmiar bazy: aplikacje w sklepie i usunięte, deweloperzy, nowe i usunięte w ciągu 7 dni, czas ostatniej aktualizacji. Bezpłatnie. Cost: 0 token(s)."
                    }
                }
            ]
        }
    ]
}