📖
API documentation
  • 🚀 Dashboard
  • 📅Changelog
  • 💾Deprecations
  • 🛠️Resources
    • Artist
    • ArtistRole
    • AppleArtist
    • AssetAttachment
    • Availability
    • Booklet
    • Company
    • Continent
    • Currency
    • Customisation
    • Distributor
    • DistributorPriceCode
    • DistributorProductSubgenres
    • Dsp
    • DspState
    • DspTag
    • DspUploadIdentification
    • Gender
    • ImportTask
    • ImportTask [NEW]
    • Label
    • Language
    • Offer
    • Playlist
    • Product
    • ProductGenre
    • ProductType
    • Quotas
    • Record
    • Retail
    • Role
    • Right
    • SendTask
    • SendTaskFactory
    • SpotifyArtist
    • Tag
    • Territory
    • Track
    • TrackOffer
    • TrackVideo
    • Video
    • Webhooks
  • 💡Best practices
    • JSON API documentation
    • Perform your first request
    • Make specific JSON API request
    • Manage the static resources
    • List of common HTTP status codes
    • ⁉️Timeouts and Errors
  • 🖥️Tutorials
    • Full Scenario
    • Managing artists
    • Upload a Dolby Atmos
    • Set a timed release
    • Update Scenario
  • 🔗Exports
    • Daily Trends export
  • 📡Webhooks
    • Presentation
Powered by GitBook
On this page
  1. 🛠️Resources

Currency

PreviousContinentNextCustomisation

Last updated 5 months ago

CtrlK
  • List Currencies
  • Get Currency

List Currencies

GET https://api.idol.io/api/v2/currencies

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": [
    {
      "id": "<ID>",
      "type": "currencies",
      "links": {
        "self": "https://api.idol.io/api/v2/currencies/<ID>"
      },
      "attributes": {
        "name": "EUR"
      }
    },
    {
      "id": "<ID>",
      "type": "currencies",
      "links": {
        "self": "https://api.idol.io/api/v2/currencies/<ID>"
      },
      "attributes": {
        "name": "GBP"
      }
    },
    {
      "id": "<ID>",
      "type": "currencies",
      "links": {
        "self": "https://api.idol.io/api/v2/currencies/<ID>"
      },
      "attributes": {
        "name": "NZD"
      }
    }
  ],
  "meta": {
    "record-count": 167,
    "page-count": 56
  },
  "links": {
    "first": "https://api.idol.io/api/v2/currencies?page%5Bnumber%5D=1&page%5Bsize%5D=3",
    "next": "https://api.idol.io/api/v2/currencies?page%5Bnumber%5D=2&page%5Bsize%5D=3",
    "last": "https://api.idol.io/api/v2/currencies?page%5Bnumber%5D=56&page%5Bsize%5D=3"
  }
}

Get Currency

GET https://api.idol.io/api/v2/currencies/:id

Path Parameters

Name
Type
Description

id

string

ID of the Currency

Headers

Name
Type
Description

Authorization

string

Bearer <token>

Content-Type

string

application/vnd.api+json

{
  "data": {
    "id": "<ID>",
    "type": "currencies",
    "links": {
      "self": "https://api.idol.io/api/v2/currencies/<ID>"
    },
    "attributes": {
      "name": "EUR"
    }
  }
}