Skip to content

Spotify Namespace Reference

The Spotify namespace provides podcast-specific metadata for Spotify's podcast platform, including episode limits and country targeting information.

Namespace URIhttp://www.spotify.com/ns/rss
SpecificationSpotify Podcast Delivery Specification
Prefix<spotify:*>
Available inRSS
Propertyspotify

Types

ts
export namespace SpotifyNs {
  export type Limit = {
    recentCount?: number
  }

  export type Partner = {
    id: string
  }

  export type Sandbox = {
    enabled: boolean
  }

  export type FeedAccess = {
    partner?: Partner
    sandbox?: Sandbox
  }

  export type Entitlement = {
    name: string
  }

  export type ItemAccess = {
    entitlement?: Entitlement
  }

  export type Feed = {
    limit?: Limit
    countryOfOrigin?: string
    access?: FeedAccess
  }

  export type Item = {
    access?: ItemAccess
  }
}