{"x402Version":2,"payTo":"0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f","resources":[{"id":13032,"slug":"13032","resource":"https://chess402.vercel.app/api/cloud-eval","description":"Stockfish cloud evaluation for a FEN position. Returns depth, evaluation, and principal variation(s) when Lichess has the position cached.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"5000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1","multiPv":1},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"depth":22,"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1","knodes":13683,"pvs":[{"cp":27,"moves":"e2e4 c7c5 g1f3 d7d6 d2d4 c5d4"}]},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Cloud-eval request: FEN position to analyze plus options.","properties":{"fen":{"description":"Standard FEN position string, e.g. 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'","maxLength":100,"minLength":15,"type":"string"},"multiPv":{"description":"Number of principal variations to return (1-5). Default 1.","maximum":5,"minimum":1,"type":"integer"},"variant":{"description":"Chess variant. Default 'standard'.","enum":["standard","chess960","crazyhouse","antichess","atomic","horde","kingOfTheHill","racingKings","threeCheck"],"type":"string"}},"required":["fen"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"description":"Cloud-eval response: depth, knodes, and principal variations.","properties":{"depth":{"description":"Search depth in plies.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"fen":{"description":"Echoed FEN that was evaluated.","type":"string"},"knodes":{"description":"Kilonodes searched.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"pvs":{"description":"Principal variations (one per multiPv).","items":{"additionalProperties":{},"properties":{"cp":{"description":"Evaluation in centipawns from the side-to-move POV.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"mate":{"description":"Mate-in-N from the side-to-move POV, when applicable.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"moves":{"description":"Space-separated UCI moves of the principal variation.","type":"string"}},"required":["moves"],"type":"object"},"type":"array"}},"required":["fen","pvs"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"chess402.vercel.app","lastUpdated":"2026-09-08T23:28:05.635Z","quality":{"calls30d":5,"uniquePayers30d":5,"lastCalledAt":"2026-09-08T23:28:05.484Z"},"liveness":{},"verified":false,"featured":false},{"id":13033,"slug":"13033","resource":"https://chess402.vercel.app/api/user","description":"Lichess user profile snapshot: ratings per perf, country, title, online status, counts.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"username":"DrNykterstein"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"count":{"all":10450,"draw":2450,"loss":2000,"rated":9800,"win":6000},"createdAt":1389027719000,"id":"drnykterstein","online":false,"patron":false,"perfs":{"blitz":{"games":1234,"prog":12,"prov":false,"rating":3153,"rd":45},"bullet":{"games":5678,"prog":-5,"prov":false,"rating":3243,"rd":40},"rapid":{"games":89,"prog":0,"prov":false,"rating":2881,"rd":60}},"playTime":{"total":1234567,"tv":0},"profile":{"flag":"NO"},"seenAt":1700000000000,"title":"GM","url":"https://lichess.org/@/DrNykterstein","username":"DrNykterstein"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Lichess user profile lookup.","properties":{"username":{"description":"Lichess username (case-insensitive).","maxLength":30,"minLength":2,"pattern":"^[A-Za-z0-9_-]+$","type":"string"}},"required":["username"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"description":"Lichess user profile snapshot.","properties":{"count":{"additionalProperties":{},"description":"Game count breakdown.","properties":{"all":{"description":"Total games.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"bookmark":{"description":"Bookmarked games.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"draw":{"description":"Draws.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"import":{"description":"Imported games.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"loss":{"description":"Losses.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"rated":{"description":"Rated games.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"win":{"description":"Wins.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["all","rated","win","loss","draw"],"type":"object"},"createdAt":{"description":"Account creation timestamp (ms epoch).","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"flair":{"description":"User flair emoji slug.","type":"string"},"id":{"description":"Lowercase Lichess user id.","type":"string"},"online":{"description":"Whether the user is online now.","type":"boolean"},"patron":{"description":"Whether the user is a Lichess patron.","type":"boolean"},"perfs":{"additionalProperties":{"additionalProperties":{},"properties":{"games":{"description":"Total games played.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"prog":{"description":"Rating progression (last 12 games).","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"prov":{"description":"Whether the rating is provisional.","type":"boolean"},"rating":{"description":"Current rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"rd":{"description":"Rating deviation.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["games","rating"],"type":"object"},"description":"Per-variant performance objects keyed by perf name (bullet, blitz, rapid, classical, puzzle, …).","propertyNames":{"type":"string"},"type":"object"},"playTime":{"additionalProperties":false,"description":"Cumulative play time.","properties":{"total":{"description":"Total seconds played on Lichess.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"tv":{"description":"Seconds streamed on Lichess TV.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["total","tv"],"type":"object"},"profile":{"additionalProperties":{},"description":"Free-form profile fields set by the user.","properties":{"bio":{"description":"User biography.","type":"string"},"firstName":{"type":"string"},"flag":{"description":"ISO 3166-1 alpha-2 country code.","type":"string"},"lastName":{"type":"string"},"links":{"description":"User-provided links.","type":"string"}},"type":"object"},"seenAt":{"description":"Last activity timestamp (ms epoch).","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"title":{"description":"FIDE title (GM, IM, FM, ...), if any.","type":"string"},"url":{"description":"Lichess profile URL.","type":"string"},"username":{"description":"Display username.","type":"string"}},"required":["id","username"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"chess402.vercel.app","lastUpdated":"2026-08-25T20:08:40.906Z","quality":{"calls30d":2,"uniquePayers30d":1,"lastCalledAt":"2026-08-25T20:08:42.917Z"},"liveness":{},"verified":false,"featured":false},{"id":13034,"slug":"13034","resource":"https://chess402.vercel.app/api/masters","description":"Masters opening explorer for a position. Returns top moves, win/draw/loss rates, and recent top master games from the Lichess masters database.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"3000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{"fen":"rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1","moves":12,"play":"e2e4,e7e5","topGames":4},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"black":198217,"draws":311203,"moves":[{"averageRating":2434,"black":64210,"draws":98421,"game":null,"opening":{"eco":"C42","name":"Russian Game"},"san":"Nf3","uci":"g1f3","white":152340}],"opening":{"eco":"C20","name":"King's Pawn Game"},"topGames":[{"black":{"name":"Carlsen, M.","rating":2882},"id":"Sxov6E94","month":"2019-08","uci":"g1f3","white":{"name":"Caruana, F.","rating":2818},"winner":"white","year":2019}],"white":482141},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Masters opening explorer request: FEN plus optional filters and play sequence.","properties":{"fen":{"description":"Standard FEN position string, e.g. 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'","maxLength":100,"minLength":15,"type":"string"},"moves":{"description":"Max number of top moves to return. Default 12.","maximum":50,"minimum":1,"type":"integer"},"play":{"description":"Comma-separated UCI move sequence to apply to the FEN before lookup (e.g. 'e2e4,e7e5').","maxLength":500,"type":"string"},"since":{"description":"Include games from this year onward.","maximum":2100,"minimum":1500,"type":"integer"},"topGames":{"description":"Number of recent top games to include. Default 4.","maximum":15,"minimum":0,"type":"integer"},"until":{"description":"Include games up to this year.","maximum":2100,"minimum":1500,"type":"integer"}},"required":["fen"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"description":"Masters database aggregate stats for the position.","properties":{"black":{"description":"Total black wins at this position.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"draws":{"description":"Total draws at this position.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"moves":{"description":"Top moves ordered by frequency.","items":{"additionalProperties":{},"properties":{"averageRating":{"description":"Average rating of players who played this move.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"black":{"description":"Games won by black from this move.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"draws":{"description":"Drawn games from this move.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"game":{"anyOf":[{"additionalProperties":{},"properties":{"black":{"additionalProperties":false,"description":"Black player.","properties":{"name":{"description":"Player name.","type":"string"},"rating":{"description":"Player rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","rating"],"type":"object"},"id":{"description":"Lichess game id.","type":"string"},"month":{"description":"Month string (YYYY-MM).","type":"string"},"uci":{"description":"UCI move played in this game.","type":"string"},"white":{"additionalProperties":false,"description":"White player.","properties":{"name":{"description":"Player name.","type":"string"},"rating":{"description":"Player rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","rating"],"type":"object"},"winner":{"anyOf":[{"enum":["white","black"],"type":"string"},{"type":"null"}],"description":"Winner, or null for a draw."},"year":{"description":"Year the game was played.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["uci","id","winner","white","black","year"],"type":"object"},{"type":"null"}],"description":"Representative game for this move, if available."},"opening":{"anyOf":[{"additionalProperties":{},"properties":{"eco":{"description":"ECO opening code.","type":"string"},"name":{"description":"Opening name.","type":"string"}},"required":["eco","name"],"type":"object"},{"type":"null"}],"description":"ECO opening classification for this move, when recognized."},"san":{"description":"SAN move string.","type":"string"},"uci":{"description":"UCI move string.","type":"string"},"white":{"description":"Games won by white from this move.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["uci","san","white","draws","black"],"type":"object"},"type":"array"},"opening":{"anyOf":[{"additionalProperties":{},"properties":{"eco":{"description":"ECO opening code.","type":"string"},"name":{"description":"Opening name.","type":"string"}},"required":["eco","name"],"type":"object"},{"type":"null"}],"description":"ECO opening classification for the position, when recognized."},"topGames":{"description":"Recent top master games at this position.","items":{"additionalProperties":{},"properties":{"black":{"additionalProperties":false,"description":"Black player.","properties":{"name":{"description":"Player name.","type":"string"},"rating":{"description":"Player rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","rating"],"type":"object"},"id":{"description":"Lichess game id.","type":"string"},"month":{"description":"Month string (YYYY-MM).","type":"string"},"uci":{"description":"UCI move played in this game.","type":"string"},"white":{"additionalProperties":false,"description":"White player.","properties":{"name":{"description":"Player name.","type":"string"},"rating":{"description":"Player rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["name","rating"],"type":"object"},"winner":{"anyOf":[{"enum":["white","black"],"type":"string"},{"type":"null"}],"description":"Winner, or null for a draw."},"year":{"description":"Year the game was played.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["uci","id","winner","white","black","year"],"type":"object"},"type":"array"},"white":{"description":"Total white wins at this position.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"required":["white","draws","black","moves"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"chess402.vercel.app","lastUpdated":"2026-09-17T03:59:42.112Z","quality":{"calls30d":1,"uniquePayers30d":1,"lastCalledAt":"2026-09-17T03:59:41.948Z"},"liveness":{},"verified":false,"featured":false},{"id":13035,"slug":"13035","resource":"https://chess402.vercel.app/api/puzzle/daily","description":"Today's Lichess daily puzzle: source game, themes, initial position, solution moves, and rating.","type":"http","x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0xfbd46201267609ad3c66bd1b99b7f1cc80b1852f","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"1000","maxTimeoutSeconds":300}],"outputSchema":{"bazaar":{"info":{"input":{"body":{},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"game":{"id":"exampleId"},"puzzle":{"id":"exampleId","rating":1500,"solution":["e2e4","e7e5"],"themes":["mateIn2","short"]}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"No parameters required. Send `{}` or an empty body.","properties":{},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":{},"description":"Daily puzzle response.","properties":{"game":{"additionalProperties":{},"description":"Source game for the puzzle.","properties":{"id":{"description":"Lichess game id the puzzle was extracted from.","type":"string"},"pgn":{"description":"PGN of the game up to the puzzle position.","type":"string"}},"required":["id"],"type":"object"},"puzzle":{"additionalProperties":{},"description":"Puzzle metadata and solution.","properties":{"id":{"description":"Puzzle id.","type":"string"},"initialPly":{"description":"Ply count at puzzle start position.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"rating":{"description":"Puzzle difficulty rating.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"solution":{"description":"Sequence of UCI moves that solve the puzzle.","items":{"type":"string"},"type":"array"},"themes":{"description":"Tactical themes labeled on this puzzle.","items":{"type":"string"},"type":"array"}},"required":["id","rating","solution"],"type":"object"}},"required":["game","puzzle"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"tags":["bazaar"],"sourceHost":"chess402.vercel.app","lastUpdated":"2026-09-12T16:46:16.698Z","quality":{"calls30d":1,"uniquePayers30d":1,"lastCalledAt":"2026-09-12T16:46:16.545Z"},"liveness":{},"verified":false,"featured":false}]}