Answers.Body: <p>Yes, there is, <a href="https://stockfish.online/" rel="nofollow noreferrer">Stockfish REST API</a>, but response is slow</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-10T03:12:15.130Z
Answers.LastActivityDate: 2024-11-10T14:31:34.467Z
Answers.LastEditDate: 2024-11-10T14:31:34.467Z
Answers.UserDisplayName: mohiwalla
Body: <p>I would like to create a web page with a stockfish analysis which evaluates the sharpness of position, but to do that I would like to avoid to upload myself a Stockfish program in the cloud. I would like to have a web API which would give me back the eval of a certain position. Is there any way to do that?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-27T11:48:20.187Z
Comments.Text: Well, Stockfish is open-source so what people do generally is they put the engine to the frontend and let it run locally on each user. That way your server does not overload with the computations.
Comments.UserDisplayName: Minot
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-27T12:18:59.973Z
Comments.Text: yeah, I guess I'll have to do it that way. Do you have any estimates about how much could it cost per user? I would like to make the project free but worried that it will cost me too much.
Comments.UserDisplayName: Andrea Nerla
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-27T12:41:39.667Z
Comments.Text: The engine does not cost **you** (server) in this way, but the computation depth depends on the computational power of the individual users, because you use their computer in a sense. Today's average computer is usually enough to get a decent analysis.
Comments.UserDisplayName: Minot
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-27T12:47:11.503Z
Comments.Text: ah, interesting, so I can let the user take charge of the engine computation. Ok, thanks.
Comments.UserDisplayName: Andrea Nerla
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-04-28T02:01:04.810Z
Comments.Text: https://github.com/nmrugg/stockfish.js/
Comments.UserDisplayName: cmgchess
Tags: <engines><stockfish><websites>
Title: Is there any stockfish web api?
ThreadText: # Is there any stockfish web api?
  
  (Asked by: username_0 on 2023-04-27)
  
  I would like to create a web page with a stockfish analysis which evaluates the sharpness of position, but to do that I would like to avoid to upload myself a Stockfish program in the cloud. I would like to have a web API which would give me back the eval of a certain position. Is there any way to do that?
  
  **Tags:** engines, stockfish, websites
  
  > **Comments:**
  > **username_1**: Well, Stockfish is open-source so what people do generally is they put the engine to the frontend and let it run locally on each user. That way your server does not overload with the computations.  
  > **username_0**: yeah, I guess I'll have to do it that way. Do you have any estimates about how much could it cost per user? I would like to make the project free but worried that it will cost me too much.  
  > **username_1**: The engine does not cost **you** (server) in this way, but the computation depth depends on the computational power of the individual users, because you use their computer in a sense. Today's average computer is usually enough to get a decent analysis.  
  > **username_0**: ah, interesting, so I can let the user take charge of the engine computation. Ok, thanks.  
  > **username_2**: https://github.com/nmrugg/stockfish.js/  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2024-11-10. Score: 0
  
  Yes, there is, [Stockfish REST API](https://stockfish.online/), but response is slow
  
  
  ---
  
  