Music-Story (2.0.0)
The first step is to create an account to the Music Story platform called the Metadata Monitor.
More than a visual version of the metadata available in our API, the Metadata Monitor gives you access to a dedicated API section with services like:
- An overview of the number of API calls
- Access to your token
- Information about API status
- An access to contact our teams for support
How can I test the API?
You can create a 15-day trial account. It will automatically generate a token giving you access to the API for the same time frame. You'll be able to access any endpoint in our API, but you'll be limited to 200 calls per day.
How can I get premium access?
You can contact us at musicstorypro@music-story.com in order to get a premium account and together we'll be able to customize your access to our different endpoints and the rate limit according to your needs.
With a metadata monitor account, by default (Trial account) you are allowed 200 requests per day. (Fixed window method)
Once this quota has been reached, you will receive an HTTP status code 429 - Too Many Requests
If this happens too often, you can contact us at musicstorypro@music-story.com to increase your limit.
To find out where you stand, you have two options.
Go to the motnitor metadata in the API - Monitoring tab
Call the endpoint
/user/api/statusYou'll receive a response like this{ "X-Rate-Limit-Remaining": 5, "X-Rate-Limit-Limit": 5, "X-Rate-Limit-Retry-After": 0 }
Example: Suppose you have a rate limit of 1000 requests per day. If you attempts to make 1200 requests within a 24-hour period, the API will respond with a rate limit exceeded error, indicating that the user has reached their daily quota.
/api/artist
Search Music Story artist
Authorizations:
query Parameters
| query | string Name or ID of Artist to search |
| page | integer >= 1 Default: 1 Page number |
| isni | string ISNI to filter results |
| musicbrainz_id | string Musicbrainz ID to filter results |
| spotify_id | string Spotify ID to filter results |
| deezer_id | string Deezer ID to filter results |
| napster_id | string Napster ID to filter results |
| qobuz_id | string Qobuz ID to filter results |
| apple_id | string Apple Music ID to filter results |
| sevendigital_id | string 7Digital ID to filter results |
| wikidata_id | string Wikidata ID to filter results |
Responses
Response Schema: application/json
Array of objects | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| page | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| totalPages | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| totalHits | number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Response samples
- 200
- 401
- 404
- 429
{- "hits": [
- {
- "id": 23,
- "name": "Paul McCartney",
- "isni": "0000000121452530",
- "real_firstname_lastname": "James Paul McCartney",
- "type": "Person",
- "nature": "Human",
- "gender": "Male",
- "main_role": 13,
- "country_name": "United Kingdom",
- "country_code": "GB",
- "influence_country_name": "United States",
- "influence_country_code": "US",
- "birth_date": "1942-06-18",
- "debut_date": null,
- "birth_place": "Liverpool,Mersey,England",
- "activity_periods": [ ],
- "death_date": null,
- "death_place": null,
- "genres": [
- {
- "id_genre": 1,
- "name": "Rock",
- "link": "Main"
}
], - "roles": [
- {
- "id_role": 1,
- "name": "Songwriter",
- "link": "Main"
}
], - "aliases": [
- {
- "alias": "Macca",
- "link": "Nickname"
}
], - "translated": [
- {
- "lang": "AR",
- "rfc_5646": "ar",
- "name": "بول مكارتني"
}
], - "band_members": [
- {
- "id_artist": 4746038,
- "name_artist": "Paul & Linda McCartney",
- "start_date": "1970-00-00",
- "end_date": "1971-00-00",
- "id_role": 13,
- "name_role": "Singer"
}
], - "related_artists": [
- {
- "id_artist": 1,
- "name": "George Harrison",
- "link": "Related"
}
], - "collaborators": [
- {
- "id_artist": 4678361,
- "name_artist": "John Wilson",
- "start_date": "2011-00-00",
- "end_date": "2011-00-00",
- "id_role": 28,
- "name_role": "Conductor"
}
], - "socials": {
- "website": [
- "www.myspace.com/paulmccartney",
- "www.paulmccartney.com",
- "www.maccablog.com"
],
}, - "externals": {
- "musicbrainz": [
- "ba550d0e-adac-4864-b88b-407cab5e76af"
], - "discogs": [
- 35301,
- 995958,
- 3253856
], - "spotify": [
- "1UwUZoxDZNxM95ZpbJVUFO",
- "1ZxqBJi6JF52YRDWAVJouM",
- "2EAtt67svsoTgSFKdEOo3x",
- "2RXViBJHDxEj0x6Mtxw1PI"
], - "deezer": [
- 1446
], - "napster": [
- "956",
- "35290773",
- "267868678"
], - "qobuz": [
- 35554
], - "apple": [
- 1702764711,
- 1702764661,
- 524268715
], - "sevendigital": [
- 803265
], - "linemusic": [
- "mi000000000006ae70",
- "mi000000000016d1c7"
], - "wikidata": [
- "Q2599"
]
}, - "famous_for": "As one quarter of The Beatles and for selling 100 million singles, making him the most successful composer and musician in popular music history",
- "awards": "Academy Awards: Best Original Or Adaptation Score for 'Let It Be' with The Beatles (1971); BRIT Awards: British Album of the Year for 'Sgt. Peppers Lonely Hearts Club Band' with The Beatles (1977); British Group with The Beatles (1977); Outstanding Contribution to Music (1977; 1983; 2008); British Male Solo Artist (1983); Album of the Year for 'Ecce Cor Meum' (2007); Grammy Awards: Best New Artist with The Beatles (1965); Best Performance By a Vocal Group for 'A Hard Day's Night' with The Beatles (1965); Song of the Year for 'Michelle' with The Beatles (1967); Album of the Year for 'Sgt. Peppers Lonely Hearts Club Band' with The Beatles (1968); Best Historical Album for 'Band On the Run' (2012); Knighthood (1997)",
- "score": "1"
}
], - "page": 1,
- "totalPages": 50,
- "totalHits": 1000
}/api/artist/{id}
Get Music Story artist
Authorizations:
path Parameters
| id required | integer[1-9][0-9]* ID of Artist |
Responses
Response Schema: application/json
| id required | number Dataset: Basic | ||||
| name required | string Dataset: Basic | ||||
| isni | string Dataset: Basic | ||||
| real_firstname_lastname | string Dataset: Basic | ||||
| type required | string Enum: "Person" "Band" Dataset: Basic | ||||
| nature | string Enum: "Human" "Virtual" "Avatar" "Deepfake" "Vocaloids" "Generative AI" Dataset: Basic | ||||
| gender | string Enum: "Male" "Female" "Other" Dataset: Basic | ||||
| main_role | number Deprecated Dataset: Basic | ||||
| country_name | string Dataset: Basic | ||||
| country_code | string Dataset: Basic | ||||
| influence_country_name | string Dataset: Basic | ||||
| influence_country_code | string Dataset: Basic | ||||
| birth_date | string Dataset: Bio | ||||
| debut_date | string Dataset: Bio | ||||
| birth_place | string Dataset: Bio | ||||
Array of objects Dataset: Bio | |||||
Array
| |||||
| death_date | string | ||||