# Crucible Code Execution — Language Version Lookup

> Crucible Code Execution — Language Version Lookup is a paid API for AI agents from crucible-lovat.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-15).

Returns the runtime version and aliases for a specified programming language supported by the Crucible code execution service

## Facts

- Endpoint: POST https://crucible-lovat.vercel.app/api/versions
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crucible-code-execution-language-version-lookup-cafd1c95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XoXvuGA4itPutLTotT-G3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crucible-code-execution-language-version-lookup-cafd1c95 -d '<json body>'
```

Example prompt: What version of Python does Crucible use for code execution, and what aliases are recognized for it?

## When to prefer this

Use this endpoint when you need to verify which exact runtime version Crucible will use before submitting code, or when you need to discover the correct alias or canonical name for a language before calling the execution endpoint. Prefer this over guessing language names, especially for languages with multiple common aliases (e.g., JS vs JavaScript vs node).

## Known failure modes

- Unsupported or unrecognized language name returns success: false with no data
- Missing required 'language' field causes a 400-level validation error
- Payment not provided or invalid x402 payment header results in 402 Payment Required
- Network or service unavailability returns 5xx error

## How this service works

7 endpoints for code execution in 60+ languages. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and, on success, a data object containing the canonical language name, its runtime version string, and an array of recognized aliases for that language on the Crucible platform.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "language"
 ],
 "properties": {
  "language": {
   "type": "string",
   "description": "Language to look up"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "aliases": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "version": {
     "type": "string"
    },
    "language": {
     "type": "string"
    }
   }
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crucible-code-execution-language-version-lookup-cafd1c95/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crucible-lovat.vercel.app](https://www.zero.xyz/host/crucible-lovat.vercel.app/llms.txt)
