# Orbonomy LLM Code Generation

> Orbonomy LLM Code Generation is a paid API for AI agents from backup-v2api.orbonomy.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Generates code snippets or completions in a specified programming language from a natural language text prompt using an LLM.

## Facts

- Endpoint: POST https://backup-v2api.orbonomy.xyz/api/llm/code
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbonomy-llm-code-generation-32c92bd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pd98sGpd57VWYZ743kbFw

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 orbonomy-llm-code-generation-32c92bd4 -d '<json body>'
```

Example prompt: Can you write me a Python function that reads a CSV file and returns the rows as a list of dictionaries?

## When to prefer this

Use this endpoint when you need a pay-per-call, no-subscription LLM-powered code generation capability and want to specify both the task description and the target programming language explicitly. Suitable for lightweight, one-off code generation tasks without setting up a full LLM API integration.

## Known failure modes

- Missing required 'text' field returns validation error
- Missing required 'language' field returns validation error
- Unsupported or unrecognized language may return an error or poor output
- Payment failure via x402 protocol returns 402 response
- Ambiguous or too-short prompt may produce low-quality code
- Rate limiting or server unavailability returns 5xx error

## How this service works

50+ pay-per-call API endpoints across accommodation, AI, content, fact-checking, and data services. Powered by x402 protocol.

## Output

Returns a JSON object with a 'success' boolean and presumably the generated code for the given text prompt in the requested programming language.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbonomy-llm-code-generation-32c92bd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from backup-v2api.orbonomy.xyz](https://www.zero.xyz/host/backup-v2api.orbonomy.xyz/llms.txt)
