Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3954782
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T02:08:38+00:00 2026-05-20T02:08:38+00:00

I am new using Amazon’s Product Advertising API, and for my first project with

  • 0

I am new using Amazon’s Product Advertising API, and for my first project with it, I am trying to get the ASIN of the MP3 download product of a particular song, based on the artist and title. I will eventually be using these ASINs to populate an Amazon MP3 Clips Widget.

I am using the PHP class from CodeDiesel.com to get started. It works just fine, and I have added the following function:

    public function searchMusic($artist, $title) {
        $parameters = array("Operation"     => "ItemSearch",
                            "Artist"        => $artist,
                            "Title"         => $title,
                            "SearchIndex"   => "Music",
                            "ResponseGroup" => "Medium");
        $xml_response=$this->queryAmazon($parameters);
        return $xml_response;
    }

Now, the trouble is, I can only seem to get albums this way. For instance, if I put in “Robert Randolph” for the artist, and “Colorblind” for the title, I get Robert Randolph and the Family Band’s Colorblind album. If I search for a particular track, such as “Thrill Of It”, Amazon can’t find anything.

So what I need to do is first figure out how to make a query for track title. Then I need to figure out how to limit my results to just MP3 downloads. How can I do this?

If there is documentation on the topic, can you point me in the right direction? I have been reading through it, but don’t see any parameters for what I want.

Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T02:08:39+00:00Added an answer on May 20, 2026 at 2:08 am

    The documentation is oddly organized, and I have a hard time finding relevant information myself.

    To look up mp3s, you have to change your SearchIndex parameter to ‘MP3Downloads’. Then, instead of using “Artist” and “Track”, you have to use “Keywords”. Combine the artist and track values into one string for the “Keywords” property value. Also, try “MusicTracks” for SearchIndex, as you might get different results there as well.

    This is a snippet from a working system I have that does a similar type of lookup.

        $params = Array(
            "Operation"=>'ItemSearch',
            "SearchIndex"=>'MP3Downloads',
            "ResponseGroup"=>'ItemAttributes,Tracks,Images',
            "Keywords"=>$track['title'].' '.$artist['name']
        );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.