Top Charts
curl --request GET \
--url https://scrapebadger.com/v1/app-store/charts \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/app-store/charts"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/app-store/charts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/app-store/charts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/app-store/charts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/app-store/charts")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/app-store/charts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"country": "<string>",
"type": "<string>",
"entity": "<string>",
"genre_id": 123,
"result_count": 123,
"apps": [
{
"rank": 123,
"app_id": 123,
"name": "<string>",
"url": "<string>",
"developer_name": "<string>",
"developer_url": "<string>",
"icon_url": "<string>",
"price": 123,
"currency": "<string>",
"formatted_price": "<string>",
"genre": "<string>",
"genre_id": 123,
"summary": "<string>",
"rights": "<string>",
"release_date_utc": 123,
"release_date_at": "<string>"
}
]
}Endpoints
Top Charts
App Store top-free, top-paid and top-grossing charts for a storefront, optionally scoped to one genre.
GET
/
v1
/
app-store
/
charts
Top Charts
curl --request GET \
--url https://scrapebadger.com/v1/app-store/charts \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/app-store/charts"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/app-store/charts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/app-store/charts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/app-store/charts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/app-store/charts")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/app-store/charts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"country": "<string>",
"type": "<string>",
"entity": "<string>",
"genre_id": 123,
"result_count": 123,
"apps": [
{
"rank": 123,
"app_id": 123,
"name": "<string>",
"url": "<string>",
"developer_name": "<string>",
"developer_url": "<string>",
"icon_url": "<string>",
"price": 123,
"currency": "<string>",
"formatted_price": "<string>",
"genre": "<string>",
"genre_id": 123,
"summary": "<string>",
"rights": "<string>",
"release_date_utc": 123,
"release_date_at": "<string>"
}
]
}Top charts for a storefront, for iPhone or iPad, optionally scoped to a single
genre.
rank is the app’s position in the feed — Apple sends no explicit rank
field.
Credits: 5
Authorization
string
required
Your ScrapeBadger API key.
Query Parameters
string
default:"top-free"
top-free, top-paid or top-grossing.integer
Genre id to scope the chart, e.g.
6014 (Games). Omit for the overall chart.
Only ids from /genres are
accepted — every one of them is verified to return a non-empty chart.integer
default:"50"
Entries to return,
1–200.string
default:"apps"
apps (iPhone) or ipad.Response
string
string
The chart type returned.
string
apps or ipad.integer
The genre scope, or
null for the overall chart.integer
Entries returned.
ChartEntry[]
Example
curl "https://scrapebadger.com/v1/app-store/charts?country=us&type=top-free&genre=6014&limit=50" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://scrapebadger.com/v1/app-store/charts?" +
new URLSearchParams({ country: "us", type: "top-grossing", limit: "50" }),
{ headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const { apps } = await res.json();
import requests
res = requests.get(
"https://scrapebadger.com/v1/app-store/charts",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"country": "us", "type": "top-free", "genre": 6014, "limit": 50},
)
chart = res.json()["apps"]
Response
{
"country": "us",
"type": "top-free",
"entity": "apps",
"genre_id": 6014,
"result_count": 50,
"apps": [
{
"rank": 1,
"app_id": 1544098059,
"name": "Block Blast!",
"url": "https://apps.apple.com/us/app/block-blast/id1544098059",
"developer_name": "Hungry Studio",
"developer_url": "https://apps.apple.com/us/developer/hungry-studio/id1543997352",
"icon_url": "https://is1-ssl.mzstatic.com/image/thumb/blockblast/100x100bb.png",
"price": 0.0,
"currency": "USD",
"formatted_price": "Free",
"genre": "Games",
"genre_id": 6014,
"summary": "A classic block puzzle game that is easy to learn.",
"rights": "© 2026 Hungry Studio",
"release_date_utc": 1610236800.0,
"release_date_at": "2021-01-10T00:00:00Z"
}
]
}
Errors
| Status | Meaning |
|---|---|
400 | Unknown chart type, entity, genre id, or malformed country. |
429 | Apple is throttling — retry shortly. |
502 | Unexpected upstream failure — not billed. |
⌘I

