GET /v1/crawl/google/play-app

Google Play app API: store listing and app metadata by package name

Send an Android package name in id, such as com.spotify.music, and get the Google Play listing's HTML document, with the app's JSON-LD metadata embedded in it.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/crawl/google/play-app?id=com.spotify.music' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/crawl/google/play-app",
    params={
        "id": "com.spotify.music",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
id requiredquerystringThe Android package name. Example com.spotify.music.

Example response

The example response of the API reference, with lists cut to their first 3 items and long text shortened.

json
{
  "data": {
    "final_url": "https://play.google.com/store/apps/details?id=com.spotify.music&hl=en&gl=US",
    "status": 200,
    "content_type": "text/html; charset=utf-8",
    "payload_kind": "text",
    "response_headers": {
      "content-type": "text/html; charset=utf-8",
      "cache-control": "no-cache, no-store, max-age=0, must-revalidate",
      "expires": "Mon, 01 Jan 1990 00:00:00 GMT"
    },
    "body": "<!doctype html><html lang=\"en\" dir=\"ltr\"><head><base href=\"https://play.google.com/\"><link rel=\"preconnect\" href=\"//www.gstatic.com\"><meta name=\"referrer\" content=\"origin\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">…"
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$3.0715",
    "request_id": "req_6ddd0acbd267c7fa5b7d2b7793c40375"
  }
}

How it works

A Google Play store listing by package name — the document, with JSON-LD app metadata embedded.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404The page does not exist: its site answered 404 or 410 for this input. You are not charged.
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.