{"api":{"id":"api_e5da4412597d60942e66e18c","slug":"lichess-cloud-eval","name":"Chess Position Evaluation API","description":"Engine evaluations for chess positions (FEN) from the Lichess cloud cache: the best lines with search depth, score in centipawns or mate distance, and the move sequence, without running an engine yourself.","kind":"ready_made","visibility":"public","domain":"lichess.org","source_url":"https://lichess.org/api/cloud-eval","category":"sports","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":8,"created_at":"2026-12-06T03:57:27.677Z","updated_at":"2026-12-06T03:57:27.677Z","runnable":true},"version":"1.0","contract_hash":"ece35a805383f3a4b7478230d326e72b542764dba14323ec209214d86453e9f7","fields":[{"name":"fen","type":"string","description":"The position asked about, as given.","required":true,"coverage":1,"example":"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"},{"name":"is_cached","type":"boolean","description":"False when the cloud cache holds no evaluation for the position.","required":false,"coverage":1,"example":true},{"name":"depth","type":"integer","description":"Engine search depth.","required":false,"coverage":0.8,"example":60},{"name":"knodes","type":"integer","description":"Thousands of nodes searched.","required":false,"coverage":0.8,"example":119133},{"name":"line_rank","type":"integer","description":"1 for the best line, 2 for the next, and so on.","required":false,"coverage":0.8,"example":1},{"name":"centipawns","type":"integer","description":"Score in hundredths of a pawn for White; empty when a mate is found.","required":false,"coverage":0.6,"example":22},{"name":"mate_in","type":"integer","description":"Moves to mate (negative when Black mates); empty without a forced mate.","required":false,"coverage":0.2,"example":1},{"name":"moves","type":"array","description":"The line as moves in coordinate form, such as e7e5.","required":false,"coverage":0.8,"example":["e7e5","g1f3"]}],"inputs":[{"name":"positions","type":"array","description":"Board positions as FEN text, such as the position after 1.e4. Up to 50 per run.","example":["rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"],"required":true},{"name":"lines","type":"integer","description":"Best lines to return for each position, from 1 to 5.","example":2}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"centipawns":{"description":"Score in hundredths of a pawn for White; empty when a mate is found.","type":"integer"},"depth":{"description":"Engine search depth.","type":"integer"},"fen":{"description":"The position asked about, as given.","type":"string"},"is_cached":{"description":"False when the cloud cache holds no evaluation for the position.","type":"boolean"},"knodes":{"description":"Thousands of nodes searched.","type":"integer"},"line_rank":{"description":"1 for the best line, 2 for the next, and so on.","type":"integer"},"mate_in":{"description":"Moves to mate (negative when Black mates); empty without a forced mate.","type":"integer"},"moves":{"description":"The line as moves in coordinate form, such as e7e5.","type":"array"}},"required":["fen"],"title":"Chess Position Evaluation API","type":"object"},"samples":[{"fen":"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1","is_cached":true,"depth":60,"knodes":119133,"line_rank":1,"centipawns":22,"mate_in":null,"moves":["e7e5","g1f3","b8c6","f1b5"]},{"fen":"rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1","is_cached":true,"depth":60,"knodes":119133,"line_rank":2,"centipawns":27,"mate_in":null,"moves":["c7c6","d2d4","d7d5","e4e5"]},{"fen":"6k1/5ppp/8/8/8/8/8/R5K1 w - - 0 1","is_cached":true,"depth":42,"knodes":15122,"line_rank":1,"centipawns":null,"mate_in":1,"moves":["a1a8"]}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"centipawns":0.67,"depth":1,"fen":1,"is_cached":1,"knodes":1,"line_rank":1,"mate_in":0.33,"moves":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.677Z","activated_at":"2026-12-06T03:57:27.677Z","active":true,"contract_hash":"ece35a805383f3a4b7478230d326e72b542764dba14323ec209214d86453e9f7","fields_count":8}]}