# Orbonomy LLM Code Generation

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

Generates code in a specified programming language from a natural language text description using an LLM

## Facts

- Endpoint: POST https://api.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-c073994c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__BEbtp8Sb2MOnrLvwceYq

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-c073994c -d '<json body>'
```

Example prompt: Generate Python code that reads a CSV file and outputs the top 10 rows sorted by the 'date' column.

## When to prefer this

Use this endpoint when you need to quickly generate code in a specific programming language from a plain-text description and are willing to pay per call via x402/USDC; suitable for one-off code generation tasks without needing a full IDE or persistent session.

## Known failure modes

- Unsupported or unrecognized programming language results in error
- Vague or ambiguous text description produces incorrect or unusable code
- Payment failure via x402 protocol returns 402 status
- Missing required fields (text or language) returns validation error
- LLM service unavailable 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 output in the specified programming language based on the input text description.

## 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-c073994c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.orbonomy.xyz](https://www.zero.xyz/host/api.orbonomy.xyz/llms.txt)
