# Google Play on Onekey > 2 endpoints for Google Play (1 stable, 1 beta), 3 to 5 credits each. Category: E-commerce & marketplaces. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 1 of 2 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/googleplay Reference (Markdown): https://onekey.dev/docs/api/googleplay.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 2 mapped Google Play endpoints return each: - `entity.name` (string): 2 - `entity.url` (URL): 2 - `content.language` (string): 1 - `entity.description` (string): 1 - `media.thumbnailUrl` (URL): 1 - plus 1 platform-specific field under `ext.` ## Endpoints ### googleplay.app Google Play app page metadata (title, description, image). - Price: 5 credits per fresh call. Status: stable. Returns: one record. - Request: `GET https://api.onekey.dev/v1/googleplay/app?package=com.spotify.music` with header `x-api-key: YOUR_API_KEY` - Parameters: - `package` (string, required): Android application id - `lang` (string, optional, default en): Language code - `country` (string, optional, default us): Country code - Fields returned: `entity.url`, `entity.name`, `entity.description`, `media.thumbnailUrl`, `content.language`, `ext.canonicalUrl` - Reference: https://onekey.dev/docs/api/googleplay/app.md ### googleplay.search Google Play search results page (links only). - Price: 3 credits per fresh call. Status: beta. Access: may need a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/googleplay/search?q=chess` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search query - Fields returned: `entity.url`, `entity.name` - Reference: https://onekey.dev/docs/api/googleplay/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/googleplay/app?package=com.spotify.music" \ -H "x-api-key: YOUR_API_KEY" ```