{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"1200","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"6ee181f6-1dd8-4f65-ac90-4735ef4d3245","catalogType":"api","categories":["media"],"dataPlatform":"spotify","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"Spotify","ja":"Spotify","zh":"Spotify"},"dataProduct":"general","description":"Get Spotify Album data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by anyapi, pass parameters such as url, and retrieve structured data including found, spotify album identifier, album title, primary album artist name, and album release date to enrich music catalogs, analyze track performance, and trim large payloads.","descriptionTranslations":{"ar":"اجلب بيانات ألبوم Spotify وقائمة مقاطعه المنظمة عبر OpenAny REST لإثراء كتالوج الموسيقى أو متابعة الإصدارات أو تحليل الأعمال. أرسل رابط الألبوم أو معرفه في جسم JSON لاستلام اسم الفنان وشركة الإنتاج وتاريخ الإصدار والشعبية وعدد مرات التشغيل مع خيارات لاختيار الحقول أو تحديد عدد النتائج.","ja":"OpenAny REST で Spotify アルバムのメタデータとトラック一覧を取得し、音楽カタログ整備やリリース追跡、ディスコグラフィ分析に活用できます。JSON 本文にアルバム URL または ID を指定すると、アーティスト名、レーベル、発売日、人気度、各曲の再生数を取得できます。","zh":"通过 OpenAny REST 获取 Spotify 专辑元数据和曲目列表，适用于音乐曲库补全、发行跟踪或作品集分析。在 JSON 请求体中传入专辑 URL 或 ID，即可返回艺人署名、厂牌、发行日期、热度与单曲播放量，并可通过查询参数筛选字段或限制返回条数。"},"effectContentHtml":"","executionMode":"sync","id":"b82e5cd6-2c91-4bcc-932b-bbb227404a7a","includedContentHtml":"","inputs":[{"description":"Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.","location":"query","minimum":"0","name":"max_items","nullable":false,"required":false,"type":"integer"},{"description":"Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.","location":"query","name":"summary","nullable":false,"required":false,"type":"boolean"},{"description":"Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.","location":"query","name":"jq","nullable":false,"required":false,"type":"string"},{"description":"Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.","location":"query","name":"max_cost_usd","nullable":false,"required":false,"type":"string"},{"description":"Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.","location":"header","max_length":255,"min_length":1,"name":"Idempotency-Key","nullable":false,"required":false,"type":"string"},{"description":"Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","location":"body","name":"allowFallbacks","nullable":false,"pointer":"/allowFallbacks","required":false,"type":"boolean"},{"description":"Spotify album ID (alternative to url).","location":"body","name":"id","nullable":false,"pointer":"/id","required":false,"type":"string"},{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.","item_type":"string","location":"body","name":"ignoreSources","nullable":false,"pointer":"/ignoreSources","required":false,"type":"array"},{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.","location":"body","minimum":"1","name":"preferLatencyUnderMs","nullable":false,"pointer":"/preferLatencyUnderMs","required":false,"type":"integer"},{"description":"Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.","item_type":"string","location":"body","name":"source","nullable":false,"pointer":"/source","required":false,"type":"array"},{"description":"Spotify album URL (e.g. https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG).","location":"body","name":"url","nullable":false,"pointer":"/url","required":false,"type":"string"}],"logoUrl":"","method":"POST","name":"Spotify Album","nameTranslations":{"ar":"ألبوم Spotify","ja":"Spotify アルバム","zh":"Spotify 专辑"},"overviewHtml":"\u003ch2\u003eSpotify Album API\u003c/h2\u003e\n\u003cp\u003eSend a POST JSON body containing url or id for the target Spotify album. The normalized output.data object returns album identity, artistName, label, releaseDate, popularity and tracks[] with durationMs and playcount, plus optional fields, max_items, summary, jq and max_cost_usd query controls.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003ePOST JSON body: url or id (Spotify album). Optional query: fields, max_items, summary, jq, max_cost_usd. Optional header: Idempotency-Key.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eanyapi · Spotify Album\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eEnrich music catalogs\u003c/strong\u003e: Attach label, releaseDate, cover image and numbered tracklists to Spotify album links.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAnalyze track performance\u003c/strong\u003e: Compare playcount and durationMs across tracks on the same release.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrim large payloads\u003c/strong\u003e: Use fields or summary to inspect response structure or keep only needed track attributes.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.found\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eIndicator showing whether the album was found\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSpotify album identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAlbum title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.artistName\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary album artist name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.label\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRecord label reported for the album\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.releaseDate\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAlbum release date\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.popularity\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAlbum popularity score\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.tracks[].name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTrack title in the album tracklist\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.tracks[].playcount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported track play count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.tracks[].durationMs\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTrack duration in milliseconds\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  https://api.openany.si/v1/agent-apis/anyapi/v1/run/spotify.album \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;url\u0026#34;:\u0026#34;https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe request template and reference output fragment are independent illustrations. Use the fragment for field structure and check the returned record against your requested identifier.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/b82e5cd6-2c91-4bcc-932b-bbb227404a7a\"\u003ePublished Spotify Album API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I pass either a Spotify album URL or an album ID?\u003c/h3\u003e\n\u003cp\u003eYes. Provide either url (such as https://open.spotify.com/album/...) or id in the POST JSON body.\u003c/p\u003e\n\u003ch3\u003eDoes max_items reduce the cost of a call?\u003c/h3\u003e\n\u003cp\u003eNo. max_items caps the returned array rows in the response (adding a _truncated note) rather than changing the per-call billing rate.\u003c/p\u003e\n\u003ch3\u003eWhat does summary=true return?\u003c/h3\u003e\n\u003cp\u003esummary=true returns a structural outline with top-level keys, item counts and per-field byte sizes instead of full track records.\u003c/p\u003e\n\u003ch3\u003eCan I extract nested fields with fields or jq?\u003c/h3\u003e\n\u003cp\u003eYes. Pass comma-separated dotted paths in fields or pass a jq expression to transform the output envelope.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint return playable audio files?\u003c/h3\u003e\n\u003cp\u003eNo. It returns album metadata, URIs and track play counts rather than downloadable audio streams.\u003c/p\u003e\n\u003ch3\u003eHow can I guard against duplicate charges on retries?\u003c/h3\u003e\n\u003cp\u003eSend an Idempotency-Key header (scoped for 24 hours) and optionally set max_cost_usd to cap per-request spend.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spotify/spotify-artist\"\u003eSpotify Artist API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spotify/spotify-podcast\"\u003eSpotify Podcast API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/spotify/spotify-podcast-episodes\"\u003eSpotify Podcast Episodes API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/spotify/spotify-album?offering=b82e5cd6-2c91-4bcc-932b-bbb227404a7a","providerId":"anyapi","publicPath":"/v1/agent-apis/anyapi/v1/run/spotify.album","requestContentType":"application/json","revision":5,"samples":[{"http_status":200,"name":"Official example (output fragment; HTTP assumed)","request":{"body":{"url":"https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG"},"headers":{},"path":{},"query":{}},"response_body":{"output":{"data":{"artistName":"Juniper Vale","id":"2kBnlkQqoJTGwtHVmnZReO","image":"https://i.scdn.co/image/ab67616d0000b2734f1a2b3c4d5e6f7081920a1b","label":"Quiet Harbor Records","name":"Nightbloom","popularity":61,"releaseDate":"2025-06-13","tracks":[{"artistName":"Juniper Vale","durationMs":214000,"name":"Nightbloom","playcount":18420331,"trackNumber":1,"uri":"spotify:track:5tHqowP2R2edmL1zBqfWWT"},{"artistName":"Juniper Vale","durationMs":198000,"name":"Low Tide","playcount":9831204,"trackNumber":2,"uri":"spotify:track:6yUqRW1oTQm3hV1pE0dLxS"},{"artistName":"Juniper Vale, Marlowe Finch","durationMs":231000,"name":"Static Bloom","playcount":5122087,"trackNumber":3,"uri":"spotify:track:7zVsXY2pUR4nW2qF1eMyTU"}],"type":"album","uri":"spotify:album:2kBnlkQqoJTGwtHVmnZReO","url":"https://open.spotify.com/album/2kBnlkQqoJTGwtHVmnZReO"},"found":true}}}],"seoDescription":"Get Spotify Album data via REST or MCP powered by anyapi. Pay per call, no subscription or proxies. Get found and spotify album identifier in JSON.","updatedAt":"2026-12-03T02:54:59.610Z","usageInstructionsHtml":""}}