/search/{id}

Search for a product based on item parameters


Definition

https://api.upcdatabase.org/search/{id}/{api_key}


Response

The response contains an array of up to 20 items.

{
    "upc": "5705831011120",
    "name": "Pink highlighter",
    "alias": "Highlighter",
    "description": "It's a pink highlighter. Here's some more information as well.",
    "brand": "Q-CONNECT",
    "msrp": 0.99,
    "status": 200,
    "error": false
}
{
    "message" => "Not Found. No products could be found with that search query.",
    "status": 400,
    "error": true
}
{
    "message": "Forbidden. Are you using the right authentication method and API token?",
    "status": 403,
    "error": true
}
{
    "message" => "Not Found. No products could be found with that search query.",
    "status": 404,
    "error": true
}

Example

Go!