Artists
Add an artist Adds an artist to the directory from their Spotify or Deezer artist ID, for any signed-in user. result says what happened: the artist was created, already exists with that profile, may be a possible_duplicate of the candidates with the same name (send forceCreate: true to add a separate artist when canCreateSeparate is not false), or is a conflict because the profiles belong to different artists.
POST / api/ artist
Try it Endpoint POST Check health Read stored artist Latest Read the Update Latest request Request an Update Latest check Advance research Run the research scheduler Look again Request question research Read question research Continue question research Review queue Review a discovery Read research original Chat about an artist Start the claim build Onboarding state Reset the claim build Onboarding chat turn Artist brief List artist sources Search original evidence Read an original source Interview history Research status Recover missing source text Read mandatory interview memory List active interview boundaries Save an explicit interview boundary Retract an interview boundary Restore saved interview Start interview sitting Read question preparation Prepare or offer the next question Save prepared question Save exact interview answer Finish interview sitting Restore the interview Run an interview action List saved interview responses Read an exact response Revise a saved response Review response versions Find an artist by Spotify ID Find an artist by Instagram handle Find an artist's X handle Search artists Find a track on other services Read the contributor leaderboard Redirect to an artist's image Send an MCP message MCP resource metadata Authorization server metadata Register a client Start authorization Get a token Read a connection request Approve or deny an agent List connected agents Disconnect an agent Check a team member Read the signed-in account Read your account Set your user name Record the user-name prompt Your approved claim Your profile photo Upload your profile photo Your artists Your contribution summary Updates from your artists Claim an artist profile Approve a claim Reject a claim Revoke a claim Link a wallet Read the About Save or regenerate the About List bio versions Pin a bio version Unpin the bio Delete a bio version Report a problem with the About Suggest a Lore source Directory discovery status Read the Lore document Correct a claim in the Lore Undo a Lore correction Export the Lore document Activity feed Recently edited artists Profile edit history Submission count Submitted links Add an artist Suggest an artist link Save the artist's link order Set or clear an artist link Remove an artist link Check a profile link is live List platform URL patterns List link suggestions Review a link suggestion Artist data Review an About correction report Read the About for a report Save the About for a report Pending UGC count Search users Change user roles List a contributor's pending submissions Approve a contributor's submissions Photo choices Choose a provider photo Upload a profile image Set the header position Add a source Update a source Remove a source Remove sources Sign an upload Complete an upload Upload a file directly POST / api/ artist
Send Adds an artist to the directory from their Spotify or Deezer artist ID, for any signed-in user. result says what happened: the artist was created, already exists with that profile, may be a possible_duplicate of the candidates with the same name (send forceCreate: true to add a separate artist when canCreateSeparate is not false), or is a conflict because the profiles belong to different artists.
Authorization Body bodyapplication/json
curl --request POST \
--url 'https://musicnerd-api.vercel.app/api/artist' \
--header 'Content-Type: application/json' \
--data '{
"platformId": "4Z8W4fKeB5YxbusRsdQVPb",
"platform": "spotify"
}'
Send the request to see the live response here.
curl --request POST \
--url 'https://musicnerd-api.vercel.app/api/artist' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"platformId": "4Z8W4fKeB5YxbusRsdQVPb",
"platform": "spotify"
}'
{
"status" : "ok" ,
"result" : "created" ,
"artistId" : "6cb3d81a-3d02-4c57-a711-bb7902a9af1b" ,
"artistName" : "Radiohead" ,
"message" : "Success! You can now find this artist in our directory"
}
Authorizations Authorizationstring header required
Bearer authentication header of the form Bearer <token>. The signed-in user's access token. Copy it at https://musicnerd.net/access after signing in. Any signed-in user may add an artist.
Body application/json required platformIdstring required
The artist's ID on the platform.
minLength: 1
platformstring · enum
Values: "spotify", "deezer"
Default: "spotify"
forceCreateboolean
Add a separate artist even when one with the same name exists.
Default: false
Response Status 200 400 401 404 409 500 application/json What happened. artistId and artistName come back for created and exists; candidates, platform and platformId for possible_duplicate and conflict.
statusstring · enum required
Values: "ok"
resultstring · enum required
Values: "created", "exists", "possible_duplicate", "conflict"
messagestring required
A sentence to show the user.
artistIdstring
format: uuid
candidatesarray<ArtistCandidate>
Item properties for candidates idstring required
format: uuid
namestring | null required
spotifystring | null required
deezerstring | null required
imageUrlstring
Their profile image, when one was uploaded.
platformstring · enum
Values: "spotify", "deezer"
platformIdstring
The platform's own ID for the submitted artist.
canCreateSeparateboolean
False when the other platform's matching profile already belongs to a candidate, so a separate artist can't be added.