# SocialFetch Spotify Album Lookup

> SocialFetch Spotify Album Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-15).

Fetches metadata for a Spotify album given an album ID or Spotify album URL.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/spotify/album
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-spotify-album-lookup-5196cdb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2qRMHsE82J-jwMSLhrdd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability socialfetch-spotify-album-lookup-5196cdb2
```

Example prompt: Can you pull up the full album details for this Spotify link — https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy — I want to see the track list, release date, and artist info.

## When to prefer this

Use this endpoint when you need structured metadata for a specific Spotify album and have either the album ID or a Spotify album URL. Prefer this over scraping Spotify directly or using the Spotify API natively when you need a simple pay-per-call REST lookup without OAuth setup.

## Known failure modes

- Invalid or malformed albumId returns an error response
- Spotify album URL that is not a valid album link (e.g. a track or artist URL) may fail or return unexpected data
- Album not found on Spotify returns a not-found error
- Neither albumId nor url provided may result in a bad request error
- Rate limiting or upstream Spotify unavailability may cause transient failures

## How this service works

Get a Spotify album by id or album URL.

## Output

Returns structured metadata for the Spotify album, including album title, artist name(s), release date, track listing, album artwork URL, and other album-level details from Spotify.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Optional Spotify album URL for the request."
      },
      "albumId": {
       "type": "string",
       "maxLength": 4096,
       "minLength": 1,
       "description": "Optional Spotify album id for the request."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/socialfetch-spotify-album-lookup-5196cdb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
