NAVNavbar
Logo
cURL php NodeJS Python cSharp

Get Apple App Info Results by id

 
This endpoint will provide you with information about the mobile application specified in a POST request. You will receive its ID, icon, description, reviews count, rating, images, and other data. The results are specific to the app_id parameter specified in the POST request.

We emulate set parameters with the highest accuracy so that the results you receive will match the actual search results for the specified parameters at the time of task setting. You can always check the returned results accessing the check_url in the Incognito mode to make sure the received data is entirely relevant. Note that user preferences, search history, and other personalized search factors are ignored by our system and thus would not be reflected in the returned results.

Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-dashboard

<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-dashboard
$client = new RestClient($api_url, null, 'login', 'password');

try {
	$result = array();
	// #1 - using this method you can get a list of completed tasks
	// GET /v3/app_data/apple/app_info/tasks_ready
	$tasks_ready = $client->get('/v3/app_data/apple/app_info/tasks_ready');
	// you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors
	if (isset($tasks_ready['status_code']) AND $tasks_ready['status_code'] === 20000) {
		foreach ($tasks_ready['tasks'] as $task) {
			if (isset($task['result'])) {
				foreach ($task['result'] as $task_ready) {
					// #2 - using this method you can get results of each completed task
					// GET /v3/app_data/apple/app_info/task_get/advanced/$id
					if (isset($task_ready['endpoint_advanced'])) {
						$result[] = $client->get($task_ready['endpoint_advanced']);
					}
					// #3 - another way to get the task results by id
					// GET /v3/app_data/apple/app_info/task_get/advanced/$id
					/*
					if (isset($task_ready['id'])) {
						$result[] = $client->get('/v3/app_data/apple/app_info/task_get/advanced/' . $task_ready['id']);
					}
					*/
				}
			}
		}
	}
	print_r($result);
	// do something with result
} catch (RestClientException $e) {
	echo "n";
	print "HTTP code: {$e->getHttpCode()}n";
	print "Error code: {$e->getCode()}n";
	print "Message: {$e->getMessage()}n";
	print  $e->getTraceAsString();
	echo "n";
}
$client = null;
?>

The above command returns JSON structured like this:

{
    "version": "0.1.20220422",
    "status_code": 20000,
    "status_message": "Ok.",
    "time": "0.1123 sec.",
    "cost": 0,
    "tasks_count": 1,
    "tasks_error": 0,
    "tasks": [
        {
            "id": "04261936-1535-0419-0000-889d1608242e",
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "0.0396 sec.",
            "cost": 0,
            "result_count": 1,
            "path": [
                "v3",
                "app_data",
                "apple",
                "app_info",
                "task_get",
                "advanced",
                "04261936-1535-0419-0000-889d1608242e"
            ],
            "data": {
                "se_type": "app_info",
                "api": "app_data",
                "function": "app_info",
                "se": "apple",
                "app_id": "835599320",
                "location_code": 2840,
                "language_code": "en",
                "device": "desktop",
                "os": "windows"
            },
            "result": [
                {
                    "app_id": "835599320",
                    "se_domain": "itunes.apple.com",
                    "location_code": 2840,
                    "language_code": "en",
                    "check_url": "https://apps.apple.com/us/app/id835599320",
                    "datetime": "2022-04-26 16:36:51 +00:00",
                    "se_results_count": 1,
                    "items_count": 1,
                    "items": [
                        {
                            "type": "app_store_info_organic",
                            "rank_group": 1,
                            "rank_absolute": 1,
                            "position": "left",
                            "app_id": "835599320",
                            "title": "TikTok",
                            "url": "https://apps.apple.com/us/app/tiktok/id835599320",
                            "icon": "https://is1-ssl.mzstatic.com/image/thumb/Purple112/v4/ee/af/43/eeaf4371-312d-86a2-a3a5-a54a3a2b75ef/source/512x512bb.jpg",
                            "description": "TikTok is THE destination for mobile videos. On TikTok, short-form videos are exciting, spontaneous, and genuine. Whether you’re a sports fanatic, a pet enthusiast, or just looking for a laugh, there’s something for everyone on TikTok. All you have to do is watch, engage with what you like, skip what you don’t, and you’ll find an endless stream of short videos that feel personalized just for you. From your morning coffee to your afternoon errands, TikTok has the videos that are guaranteed to make your day.\n\nWe make it easy for you to discover and create your own original videos by providing easy-to-use tools to view and capture your daily moments. Take your videos to the next level with special effects, filters, music, and more. \n\n■ Watch endless amount of videos customized specifically for you\nA personalized video feed based on what you watch, like, and share. TikTok offers you real, interesting, and fun videos that will make your day.\n \n■ Explore videos, just one scroll away\nWatch all types of videos, from Comedy, Gaming, DIY, Food, Sports, Memes, and Pets, to Oddly Satisfying, ASMR, and everything in between.\n \n■ Pause recording multiple times in one video\nPause and resume your video with just a tap. Shoot as many times as you need.\n \n■ Be entertained and inspired by a global community of creators\nMillions of creators are on TikTok showcasing their incredible skills and everyday life. Let yourself be inspired.\n\n■ Add your favorite music or sound to your videos for free\nEasily edit your videos with millions of free music clips and sounds. We curate music and sound playlists for you with the hottest tracks in every genre, including Hip Hop, Edm, Pop, Rock, Rap, and Country, and the most viral original sounds.\n\n■ Express yourself with creative effects\nUnlock tons of filters, effects, and AR objects to take your videos to the next level.\n\n■ Edit your own videos \nOur integrated editing tools allow you to easily trim, cut, merge and duplicate video clips without leaving the app.\n\n■ Obtain access to LIVE benefits to better interact with hosts!\nChoose from one-month subscription or auto-renewal subscription to enjoy special LIVE benefits (currently only available in limited regions)\n\nNote: \nIf you subscribe via Apple, payment will be charged to App Store Account at confirmation of purchase. Subscription automatically renews unless auto-renew is turned off at least 24 hours before the end of the current period. Account will be charged for renewal within 24 hours prior to the end of the current period at the rate of the selected plan. Subscriptions and auto-renewal may be managed by going to Account Settings after purchase.\n\nMonthly price:  $5.99 USD (US, KW, OM, BH, DZ, IQ, JO, LB, LY, MA, MR, TN, YE, LA, MM, KH) / AED 20.99 / R$ 34.9 BRL / EGP 99.99 / £4.99 GBP / 20.99 QAR / 549 ₽ RUB / SR 24.99 SAR / ₺69,99 TRY\n\nTerms of Service —\nhttps://www.tiktok.com/legal/terms-of-service\n\nPrivacy Policy —\nhttps://www.tiktok.com/legal/privacy-policy\n\n* Any feedback? Contact us at https://www.tiktok.com/legal/report/feedback or tweet us @tiktok_us",
                            "reviews_count": 12340587,
                            "rating": {
                                "rating_type": "Max5",
                                "value": 4.75431,
                                "votes_count": 12340587,
                                "rating_max": 5
                            },
                            "price": {
                                "current": 0,
                                "regular": null,
                                "max_value": null,
                                "currency": "USD",
                                "is_price_range": false,
                                "displayed_price": null
                            },
                            "is_free": true,
                            "main_category": "Entertainment",
                            "categories": [
                                "Entertainment",
                                "Photo & Video"
                            ],
                            "languages": [
                                "AR",
                                "BN",
                                "MY",
                                "KM",
                                "CS",
                                "NL",
                                "EN",
                                "FR",
                                "DE",
                                "EL",
                                "HI",
                                "HU",
                                "ID",
                                "IT",
                                "JA",
                                "JV",
                                "KO",
                                "MS",
                                "PL",
                                "PT",
                                "RO",
                                "RU",
                                "ZH",
                                "ES",
                                "SV",
                                "TH",
                                "ZH",
                                "TR",
                                "UK",
                                "VI"
                            ],
                            "advisories": [
                                "12+",
                                "Infrequent/Mild Alcohol, Tobacco, or Drug Use or References",
                                "Infrequent/Mild Cartoon or Fantasy Violence",
                                "Infrequent/Mild Profanity or Crude Humor",
                                "Infrequent/Mild Sexual Content and Nudity",
                                "Infrequent/Mild Mature/Suggestive Themes"
                            ],
                            "developer": "TikTok Ltd.",
                            "developer_id": "1322881000",
                            "developer_url": "https://apps.apple.com/us/developer/tiktok-ltd/id1322881000?uo=4",
                            "version": "24.1.0",
                            "minimum_os_version": "10.0",
                            "size": "325630976",
                            "released_date": "2014-04-03 01:44:45 +00:00",
                            "last_update_date": "2022-04-22 09:08:12 +00:00",
                            "update_notes": "Add the latest stickers to your videos.",
                            "images": [
                                "https://is5-ssl.mzstatic.com/image/thumb/Purple116/v4/ae/c2/9e/aec29e5d-a332-d611-ccd0-0926fd950cf2/64e1059b-40ea-4ba6-ba99-ff8001c402f4_20d451cf4e32417384c2f9e5a60e4dbb.png/392x696bb.png",
                                "https://is1-ssl.mzstatic.com/image/thumb/Purple116/v4/7e/eb/1d/7eeb1d3b-c8bd-edbd-990a-8af67584d4c6/db659513-9e78-484a-9c71-8fe3180b91af_945c116626814d6baead0168a6c87eb4.png/392x696bb.png",
                                "https://is1-ssl.mzstatic.com/image/thumb/Purple126/v4/d3/7a/95/d37a95f2-ae67-3db2-1d50-91f3f737166f/4f3fc2b4-b8b5-420e-a688-c9440fc02c8d_17c2f28cb2014ac7a1b557d89921dd1d.png/392x696bb.png",
                                "https://is1-ssl.mzstatic.com/image/thumb/Purple126/v4/f1/e5/dd/f1e5dd84-4cf8-cd9c-e08f-c7d1bc595711/e115c22c-3038-449d-8204-33aff882a3e2_61199cc035174462b21eae520b156f60.png/392x696bb.png",
                                "https://is4-ssl.mzstatic.com/image/thumb/Purple116/v4/73/59/72/735972dc-837d-7eb8-c026-6ac846cdc3bc/676da49e-d639-4daf-97cb-198e55e9b7a7_2d75a886508d4cf6a7613687a475fd0a.png/392x696bb.png"
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Description of the fields for sending a request:

Field name Type Description
id string task identifier
unique task identifier in our system in the UUID format
you will be able to use it within 30 days to request the results of the task at any time

‌‌‌‌
‌‌As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.

Description of the fields in the results array:

Field name Type Description
version string the current version of the API
status_code integer general status code
you can find the full list of the response codes here
Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message string general informational message
you can find the full list of general informational messages here
time string execution time, seconds
cost float total tasks cost, USD
tasks_count integer the number of tasks in the tasks array
tasks_error integer the number of tasks in the tasks array that were returned an error
tasks array array of tasks
        id string task identifier
unique task identifier in our system in the UUID format
        status_code integer status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
you can find the full list of the response codes here
        status_message string informational message of the task
you can find the full list of general informational messages here
        time string execution time, seconds
        cost float cost of the task, USD
        result_count integer number of elements in the result array
        path array URL path
        data object contains the same parameters that you specified in the POST request
        result array array of results
            app_id string application id received in a POST request
            se_domain string search engine domain in a POST array
            location_code integer location code in a POST array
            language_code string language code in a POST array
            check_url string direct URL to search engine results
you can use it to make sure that we provided accurate results
            datetime string date and time when the result was received
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example:
2019-11-15 12:57:46 +00:00
            se_results_count integer the total number of results
            items_count integer the number of items in the results array
            items array found app info
                type string the item’s type
possible item types: "app_store_info_organic"
                rank_group integer position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
                rank_absolute integer absolute rank among all the listed apps
absolute position among all apps on the list
                position string the alignment of the element in SERP
can take the following values: left
                app_id string ID of the app
                title string title of the app
                url string URL to the app page on App Store
                icon string URL to the app icon
                description string description of the app
                reviews_count integer the total number of reviews of the app
                rating object average rating of the app
                    rating_type string the type of the rating
can take the following values: Max5
                    value float the value of the rating
                    votes_count integer the amount of feedback
in this case, the value will be null
                    rating_max integer the maximum value for a rating_type
the maximum value for Max5 is 5
                price object price of the app
                    current float current price
refers to the current price indicated in the element
                    regular float regular price
refers to the regular price indicated in the element
                    max_value float the maximum price
refers to the maximum price indicated in the element
                    currency string currency of the listed price
ISO code of the currency applied to the price
                    is_price_range boolean price is provided as a range
indicates whether a price is provided in a range
                    displayed_price string price string in the result
raw price string as provided in the result
                is_free boolean indicates whether the app is free
                main_category string main category of the app
                categories array all relevant categories of the app
                languages array languages supported in the app
                advisories array age rating and age-based content advisories
                developer string name of the app developer
                developer_id string ID of the app developer
                developer_url string URL to the developer page on App Store
                version string current version of the app
                minimum_os_version string minimum OS version required to install the app
                size string size of the app
                released_date string date and time when the app was released
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”;
example:
2019-11-15 12:57:46 +00:00
                last_update_date string date and time when the app was last updated
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”;
example:
2019-11-15 12:57:46 +00:00
                update_notes string update notes
contains the latest update notes from the developer
                images array app images
contains URLs to the images used on the app page on App Store

‌‌