APIs / Gear4music / Search
Gear4music: Search
Search from Gear4music as JSON. 1 credit per successful call.
GET /v1/gear4music/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
category | string | Required | Up to 120 characters |
page | integer | Optional | Any |
Example request
Gear4music
GET/v1/gear4music/search?category=Guitars.html
{
"success": true,
"category": "Guitars.html",
"items": [
{
"position": 1,
"id": "/Guitar-and-Bass/LA-Electric-Guitar-by-Gear4music-Black/2",
"product_id": "2",
"title": "LA Electric Guitar by Gear4music, Black",
"brand": "Gear4music",
"url": "https://www.gear4music.com/Guitar-and-Bass/LA-Electric-Guitar-by-Gear4music-Black/2",
"price": 63.99,
"display_price": "£63.99",
"currency": "GBP",
"rating": 5,
"review_count": 3,
"in_stock": true,
"stock_message": "20+ in stock",
"is_on_offer": false,
"sku": "EG-LA-BK",
"image": "https://r2.gear4music.com/media/25/251300/215/preview_5.jpg",
"category": "Electric Guitars"
},
{
"position": 2,
"id": "/Guitar-and-Bass/Seattle-Electric-Guitar-by-Gear4music-Pink/724M",
"product_id": "329350",
"title": "Seattle Electric Guitar by Gear4music, Pink",
"brand": "Gear4music",
"url": "https://www.gear4music.com/Guitar-and-Bass/Seattle-Electric-Guitar-by-Gear4music-Pink/724M",
"price": 69.99,
"display_price": "£69.99",
"currency": "GBP",
"in_stock": true,
"stock_message": "20+ in stock",
"is_on_offer": false,
"sku": "EG-STL-PK",
"image": "https://r2.gear4music.com/media/132/1321785/215/preview.jpg",
"category": "Electric Guitars"
},
{
"position": 3,
"id": "/Guitar-and-Bass/VISIONSTRING-Electric-Guitar-Pack-Red/5B1K",
"product_id": "247592",
"title": "VISIONSTRING Electric Guitar Pack, Red",
"brand": "Gear4music",
"url": "https://www.gear4music.com/Guitar-and-Bass/VISIONSTRING-Electric-Guitar-Pack-Red/5B1K",
"price": 79.99,
"display_price": "£79.99",
"currency": "GBP",
"rating": 4.9,
"review_count": 7,
"in_stock": true,
"stock_message": "20+ in stock",
"is_on_offer": false,
"sku": "VISIONSTRING-EG-RD",
"image": "https://r2.gear4music.com/media/94/940302/215/preview_1.jpg",
"category": "Electric Guitars"
}
],
"page": 1,
"page_size": 40,
"total": 53,
"has_more": false,
"meta": {
"endpoint_family": "gear4music-search",
"attempts": 1,
"request_id": "req_af184bd39f1c4f1a981225871b16e70c",
"credits_charged": 1,
"credits_remaining": 4923
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in items has these 17 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
position | integer |
id | string |
product_id | string |
title | string |
brand | string |
url | url |
price | number |
display_price | string |
currency | string |
rating | number |
review_count | number |
in_stock | boolean |
stock_message | string |
is_on_offer | boolean |
sku | string |
image | url |
category | string |