Algobook
- The developer's handbook
mode-switch
back-button
Buy Me A Coffee

Watch API

Our Watch API allows you to get all premium watches and their respective collections that we have in our database using a single endpoint, or you can search for a brand with a query that will match either the brand name or a collection.

Endpoints

We are currently providing two endpoints for this API

GET https://api.algobook.info/v1/watches/all GET https://api.algobook.info/v1/watches/search/:query

Examples

Below is some examples of how the API can be consumed using JavaScript

GET /watches/all

To retrieve all our watches, call the API like this

const response = await fetch("https://api.algobook.info/v1/watches/all"); const data = await response.json(); console.log(data);

Response

Note that the data is stripped down for this example since it gets to long to show them all

[ { "brand": "A. Lange & Söhne", "collections": [ "1815", "Arkade", "Cabaret", "Lange 1", "Odysseus", "Richard Lange", "Saxonia", "Tourbillon", "Zeitwerk" ] }, { "brand": "Alexandre Meerson", "collections": ["Altitude Officer", "Altitude Premiere", "D15"] } ... ]

GET /watches/search/:query

To retrieve all our watch brands that matches on "rolex"

const response = await fetch( "https://api.algobook.info/v1/watches/search/rolex" ); const data = await response.json(); console.log(data);

Response

[ { "brand": "Rolex", "collections": [ "Cellini", "Date", "Datejust 31", "Datejust 36", "Datejust 41", "Datejust II", "Day-Date 36", "Day-Date 40", "Day-Date II", "Daytona", "Explorer", "Explorer II", "GMT-Master", "Lady-Datejust", "Milgauss", "Oyster Perpetual", "Pearlmaster", "Perpetual 1908", "Sea-Dweller", "Sky-Dweller", "Submariner", "Yacht-Master" ] } ]

Feedback and requests

If you have any feature requests or feedback regarding this API, feel free to contact us with whatever you have on your mind. Contact info is found here.

signature
See all our articlesSee all our open source projects