# whatchuneed Code Versions Lookup

> whatchuneed Code Versions Lookup is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Returns the available runtime versions for a given programming language supported by the code execution service

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/code/versions
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-code-versions-lookup-e8f5eac0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CfsJ6w-j2ooRqGrYtt80F

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 whatchuneed-code-versions-lookup-e8f5eac0 -d '<json body>'
```

Example prompt: What versions of Python are available on the whatchuneed code execution service?

## When to prefer this

Use this endpoint when you need to discover which runtime versions are available for a specific language before submitting code for execution. It's the right choice when dynamically selecting a language version for a code execution job or validating compatibility before running code.

## Known failure modes

- Unsupported or unrecognized language name returns empty versions array or error
- Missing required 'language' field returns a 400 validation error
- Language string typo or wrong casing may return no results
- Service unavailability returns a 5xx error

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns an object containing the queried language name and an array of supported version strings (e.g. ['3.9', '3.10', '3.11']) for that language in the code execution environment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "language"
 ],
 "properties": {
  "language": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "language": {
   "type": "string"
  },
  "versions": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-code-versions-lookup-e8f5eac0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
